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

Former Member
0 Likes
501

Is there any BAPI to create SALES Scheduling agreement..Its not for Purchasing,it is for SAles using transaction VA31..

Thanks

Vicky

3 REPLIES 3
Read only

Former Member
0 Likes
469

Hi

Try to use fm SD_SALESDOCUMENT_CREATE.

It's the fm called by BAPI to create the sales order: BAPI_SALESORDER_CREATEFROMDAT2.

This BAPI tranfer BUS2032 as business object, you can find the link between the business object and the document type by fm SD_OBJECT_TYPE_DETERMINE

Max

Read only

Former Member
0 Likes
469

Please try with FM: SD_SALESDOCUMENT_CREATE.

We can use it the same way as BAPI_SALESORDER_CREATEFROMDAT2.

Only way that it differs from BAPI_SALESORDER_CREATEFROMDAT2 is business object.

Kind Regards

Eswar

Read only

ferry_lianto
Active Contributor
0 Likes
469

Hi Vicky,

Please try BAPI <b>BAPI_AGREEMENT_MAINTAIN</b>.

Hope this will help.

Regards,

Ferry Lianto