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

BAPI-REPEAT SALES ORDER

Former Member
0 Likes
343

Hi everyone,

We are successfully completed Sales Order thru VB by using BAPI_SALESORDER_CREATEFROMDAT2. But we need some more information. In standard SAP Menu we can create SO by using Create with reference button (by using quotation or another SO). How can we involve the same step in VB by using the above said bapi. Pl help

Regards

1 REPLY 1
Read only

Former Member
0 Likes
318

Hello Balakumar,

Please try passing the following parameters:

ORDER_HEADER_IN-REFDOCTYPE = Your Sch. Agreement No. (Please Check) and

ORDER_HEADER_IN-SD_DOC_CAT = 'E'.

I think this should resolve your problem.

Cheers!

Anand