06-06-2008 10:15 AM
Hi All,
Can any give me the differences between the following BAPI's
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALESDOCU_CREATEWITHDIA
Its a bit urgent.Useful answers will be awarded points
Thanks,
Ravee...
06-06-2008 10:36 AM
Hello there.
As far as I know, you should use BAPI_SALESORDER_CREATEFROMDAT2 because the first two versions of bapi are obsolete (BAPI_SALESORDER_CREATEFROMDATA since 40A and BAPI_SALESORDER_CREATEFROMDAT1 since 46C).
So, use BAPI_SALESORDER_CREATEFROMDAT2 to create sales order in the system.
The last one, BAPI_SALESDOCU_CREATEWITHDIA, creates data container with dialog.
For additional info, check tcode BAPI->Sales and Distribution->Sales->Sales Order.
Regards.
Valter Oliveira.