Skip to Content
0
Former Member
Oct 19, 2011 at 06:54 PM

Functionality to copy SO working in quality but not in Production system -

16 Views

HI Friends

I have created a ztcode which uses bapi BAPI_SALESORDER_CREATEFROMDAT2 to create copies of a manually created sales order

this function was working perfectly fine as till now we only had one line item per sales order

last week we added a material which has 2 BOM items (both non stock)

We passed only the parent item into the bapi so the orders created thru the bapi had only the parent item and the child items exploded on to the order because of the BOM config already in place.

This works perfectly fine in Quality systems but failed in production

Both the systems are identical in nature in all respects visa vis transports config and system patch as well.

The BOM is maintained in CS01

both the child items are marked as Relevant for sales and BOM usage is marked as 5

I am failing to understand why it doesnt work in production

And as we have used std bapi my tech consultant has been debugging without any sucess as well

Would appreciate any thoughts on how to find a lead in solving this mystery.

Regards

Supreet Upadhyay