‎2008 Oct 22 7:23 AM
Hi,
We have to create sales order with reference to another sales order. we have to achieve by using BAPI_SALESORDER_CREATEFROMDAT2.
Currently we are passing Header data & partner data. But not item.
We are passing reference sales order no to HEADER-REF_DOC. and HEADER-REF_DOC_CAT = 'C'.
The return value of the BAPI is 'SALES_HEADER_IN has been processed successfully'.
When we open the new sales order, only header data exist. Item data is not copied from the reference sales order.
Should we assign ITEM data with Reference doc to BAPI?
Please suggest.
Regards,
Ramesh
Thank you.
‎2008 Oct 22 8:06 AM
yes, you have to fill the item details from the reference document items.