‎2006 Dec 12 7:02 AM
Hi experts,
I'm facing a issue while using BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order with reference to another sale order.The sale order is created whereas the document flow is not being mainteined...
I think im not clear about supplying the valuers for the following parameters.
l_order_header_in-REFOBJTYPE = ?????
l_order_header_in-REFOBJKEY = vbak-vbeln
l_order_header_in-REFDOCTYPE = vbak-auart
Kindly let me know what should be value for l_order_header_in-REFOBJTYPE incase of a Sale Order(ref obj). Incase of any more parameters tobe maintained for achieving the same kindly provide the details.
Regds
Priya
‎2006 Dec 12 7:06 AM
Hi Priya
OOPS Sorry with my earlier reply.
Please check this:
For creating with reference to another document, we have to pass the following parameters apart from the other mandatory parameters:
REF_DOC
REFDOC_CAT
Hope this helps.
Kind Regards
Eswar
Message was edited by:
Eswar Rao Boddeti
‎2006 Dec 12 7:45 AM