Skip to Content

Copying Component batch number in material list to process order header in GR Tab

We have a requirement that once a SFG material is produced using Order Type MM01 its batch number is automatically assigned by system. After that same SFG material is consumed in another processs order to further prepare another SFG with order type SF01 then System assigned batch number in MM01 order should be copied from material component list to order header SF01 in GR tab. Which exit or badi can be used to implement this scenario.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 15, 2018 at 09:52 AM

    Thanks Caetano,

    We have proposed an alternate solution to this.

    1. Create a custom screen using screen exit for Process Orders PPCO0020
    • Add a custom field for reference Order number.

    2. export this order number to memory.

    3. Read reference order from memory and its corresponding batch number from AFPO table in exit SAPLV01Z that you suggested.

    • transfer reference order's batch number to new_batchno of process order.

    4. Validate that the reference order has been provided upon releasing the process order in BADI workorder_update At_Release method.

    I hope this helps those who are also working on such requirement.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14, 2018 at 05:44 PM


    Batch number can be influenced by EXIT_SAPLV01Z_002.



    Add comment
    10|10000 characters needed characters exceeded