Application Development 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: 

BAPI to create sales schedule agreement (VA31 transaction)

Former Member
0 Kudos

Dear all,

Is there any BAPI which will be helpful in creating sales schedule agreement (VA31 transaction)?

I tried out using the below given BAPIs

BAPI_SALESORDER_CREATEFROMDAT2

BAPI_SALES_DEL_SCHEDULE_CREATE

BAPI_CUSTSCHEDULAGREE_CONFDELV

But none of them are useful. Is BDC the only way to create a sales schedule agreement? Is there any standard program that i can be used to create schedule agreement using LSMW? will ORDERS05 IDOC be useful for this if nothing works?

4 REPLIES 4

Former Member
0 Kudos

USE THIS fm.

SD_SALES_SCHEDULE_MAINTAIN

SD_SALES_SCHEDULE_LINE_READ

0 Kudos

These FM are not to create Schedule agreement but to create schedule lines.

0 Kudos

Hi ,

U can use BAPI_SALESORDER_CREATEFROMDAT2 FM to create SLA.

Just upload ur file and fill the BAPI structure and call the FM...

Cheers !!

Soumya Ranjan

Former Member

Standard function module SD_SALESDOCUMENT_CREATE can be used with Business Object BUS2035. (BAPI Importing parameter BUSINESS_OBJECT)