Dear specialist,
Here is the background for this customer requirement:
We have EDI interface configured in our SAP system, we will create blanket sales order for big dealers such as MACY's and Wal-mart automactically through the interface, which consists of large amount of items with different ship-to parties.
We need to split the blanket sales orders relevant to the customer PO into a couple of normal sales orders through the ship-to party, that is to say, we will group the items with the same ship-to party into one sales order, just coping the items with the same ship-to party unchanged into a new sales order which can be processed subsequently. Now I use the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' as the backbone of my program, but I can not copy all the elements of the blanket sales order using the reference function of the BAPI, just like creating a new sales order. I try to debug the program, but it neglects the copy control rountines when creating the normal sales order and creates a new sales order incompletely.
What should I do?