Skip to Content
avatar image
Former Member

Assign serial number automatically to inbound delivery (backgound)

Hello all,

I do have following process: Confirmation of Production Order (CO15) is triggering creation of inbound delivery. This delivery is getting directly posted to EWM.

Requirement: Assigning serial numbers automatically to inbound delivery (OBJK+SER01) at the moment of inbound delivery creation.

Additional facts:

  • Serial number is already existing (created by Z-coding at release of production order) when inbound delivery is getting generated.
  • Serial number profil is existing
  • Serial numbers can be manually maintained via VL32N and is getting transferred to EWM

I already tried following things:

  • I checked Enhancements in FORM serialnumber_automatically but found no option to pass serial numbers to SER01
  • I tried implementing SERNR_ADD_TO_LS in USEREXIT_SAVE_DOCUMENT_PREPARE -> It worked in case of using VL32N, but did not work in case to generating inbound delivery triggered via CO15 -> Reason seems to be temporarily VBELN at this moment

Question:

Is there an enhancement/userexit to assign serial numbers automatically to inbound delivery inside of SAPMV50A?

Any kind of help would be highly appreciated

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 21, 2017 at 02:54 PM

    Hi Mike,

    Enhancement point/BADI:LE_SHP_DELIVERY_PROC Method: DOCUMENT_NUMBER_PUBLISH (Publish Delivery Number After Number Assignment ) ->Plug your code using FM "SERNR_ADD_TO_LS" with IMPORT/EXPORT in this method. Please try.I believe this method will trigger at the generation of delivery and also get the delivery number and can assign the serial no with delivery using SERNR_ADD_TO_LS.

    Please try the above and let us know if does not work.

    Kind Regards,

    Ajit

    Add comment
    10|10000 characters needed characters exceeded