2012 Dec 26 11:09 AM
Hi all,
i am looking for the function module to create sales order with reference billing document or Order, can any one help me to which function module is useful for me?
Thanks in advance
Ram
Moderator message: please search for information before posting.
Message was edited by: Thomas Zloch
2012 Dec 26 11:42 AM
Hello,
Following BAPI you can use to create a sales order with reference.
'BAPI_SALESORDER_CREATEFROMDAT2'- You need to fill following tables to create order with referece.
ref_doc (contract)
ref_doc_it (contract position)
ref_doc_ca (document type contract).
Regards,
Deepti
2012 Dec 26 12:31 PM
Please check below link,.
http://wiki.sdn.sap.com/wiki/display/ABAP/creating+sales+order
Regard's
Smruti