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

create SO with reference

Former Member
0 Likes
700

Recently I get a requirement to create new sale order reference from old sale order.

VA01 have a button to do this work,but abap develop have no FM to get the same effect.

Is there have the only way by bdc to resovle,  3q!

1 ACCEPTED SOLUTION
Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
627

Hello Zheng,

Try with BAPI_SALESDOCUMENT_COPY.

Thanks

2 REPLIES 2
Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
628

Hello Zheng,

Try with BAPI_SALESDOCUMENT_COPY.

Thanks

Read only

sivaganesh_krishnan
Contributor
0 Likes
627

you can use the Bapi BAPI_SALESORDER_CREATEFROMDAT2 for creating SO with reference. Pass ref_doc in header data.

Regards,

sivaganesh