Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module For create sales order Doc with reference to Order

Former Member
0 Likes
2,708

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

2 REPLIES 2
Read only

Former Member
0 Likes
868

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

Read only

Former Member
0 Likes
868