Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module for Split Production order

anil_singh13
Explorer
0 Likes
1,464

Please suggest function module for Split order, we are splitting production order based on the operation.

3 REPLIES 3
Read only

Former Member
0 Likes
1,042

Hi Anil

Can you confirm on what logic should the split happen?

Based on my understanding you can split the order in batches and you can also do the same when doing GR. So the system would create different batches for the same material

Read the information provided here

https://answers.sap.com/questions/9674376/creation-of-more-than-one-batch-during-production-.html

1.Use the Exit EXIT_SAPLCOBT_001 under enhancement PPCO0001 where-in based on your requirement you can create multiple batches for your production order. We have used this user-exit at current client to create multiple header batches.

2.You can use CALL FUNCTION 'VB_CREATE_BATCH' to create the batches as per your requirement.

If you are looking for mass creation then use this

https://answers.sap.com/questions/5694000/how-can-mass-creating-production-orders.html

Use the BAPI - BAPI_PRODORD_CREATE or for internal orders BAPI_INTERNALORDER_CREATE

Another useful link here

https://answers.sap.com/questions/10287152/create-multiple-batches-in-production-order-creati.html

Please review and see if that helped?

Regards

Vinita

Read only

anil_singh13
Explorer
0 Likes
1,042

Hi Vinita, We are splitting the same order and creating child order. Child order has different material. It is happening through CO02. Same I want to create through function module.

Read only

0 Likes
1,042
anil.singh13

Kindly use comments section to respond, Answer sections are only for content contributing towards answer.