Skip to Content
Former Member
Sep 18, 2014 at 11:04 AM

Copying Billing Document Data to Return Sales Order Creation including Conditions


Hi All,

I am creating a return sales order using the Billing document as reference. I need the data like header data, item data and conditions details from the billing document side and pass it to the new sales order creation.

I tried with the FM's - SD_SALESDOCUMENT_CREATE, BAPI_CUSTOMERRETURN_CREATE. I have passed the billing document in the ref_doc, refobjkey and refobjtype as VBRK but still the conditions and other data are not populating from Billing Document.

Let me know how to handle this situation.