cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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.

Answers (1)

Answers (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Batch number can be influenced by EXIT_SAPLV01Z_002.

Regards

Caetano