Skip to Content
0

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

Mar 14 at 07:22 AM

43

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Caetano Almeida
Mar 14 at 05:44 PM
0

Hello

Batch number can be influenced by EXIT_SAPLV01Z_002.

Regards

Caetano

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 15 at 09:52 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded