10-10-2007 12:30 PM
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?
10-10-2007 12:54 PM
USE THIS fm.
SD_SALES_SCHEDULE_MAINTAIN
SD_SALES_SCHEDULE_LINE_READ
10-10-2007 12:58 PM
These FM are not to create Schedule agreement but to create schedule lines.
12-14-2010 6:51 AM
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
12-14-2010 7:24 AM
Standard function module SD_SALESDOCUMENT_CREATE can be used with Business Object BUS2035. (BAPI Importing parameter BUSINESS_OBJECT)