‎2006 Oct 09 2:35 PM
Is there any BAPI to create SALES Scheduling agreement..Its not for Purchasing,it is for SAles using transaction VA31..
Thanks
Vicky
‎2006 Oct 09 2:37 PM
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
‎2006 Oct 09 2:38 PM
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
‎2006 Oct 09 2:40 PM
Hi Vicky,
Please try BAPI <b>BAPI_AGREEMENT_MAINTAIN</b>.
Hope this will help.
Regards,
Ferry Lianto