2009 Jun 01 4:48 AM
1) Difference between BAPI_SALESDOCUMENT_CHANGE and BAPI_SALESORDER_CHANGE* ??
2) Do we have to run BAPI_TRANSACTION_COMMIT if we are exeuting this transaction in a user exit?
2009 Jun 01 5:15 AM
hai both arue used for changing the sales document
u have to use bapi_transaction_commit after the bapi call
m.a
2009 Jun 01 5:15 AM
hai both arue used for changing the sales document
u have to use bapi_transaction_commit after the bapi call
m.a
2009 Jun 01 5:35 AM
BAPI_SALESORDER_CREATEFROMDAT2 has test run functionality.
you have to call BAPI_Transacation_commit for all db updation BAPI.
2009 Jun 01 5:36 AM
Hello,
Both are almost same you can use any one of the BAPI as they both perform the same kind of Job.
Just call the BAPI BAPI_TRANSACTION_COMMIT just after calling BAPI_SALESORDER_CHANGE so that the updates are done to the database entries also.
BAPI_TRANSACTION_COMMIT is used when you make changes to the SAP database by calling
a BAPI from outside SAP and want to commit the database. When you use a BAPI, you can not
directly use commit work, instead you are allowed to use only
BAPI_TRANSACTION_COMMIT.
you must then call this method to write the changes to the database.
Hope things are clear.
Cheers,
Suvendu
2009 Jun 01 5:44 AM
Hi,
Both BAPI's are same only and both BAPI's are for sales order.
After calling these BAPI's, you have to call 'BAPI_TRANSACTION_COMMIT' also to update the database table using BAPI.
Regards,
Jyothi CH.