‎2007 Mar 08 12:07 PM
Hi All,
How do we find the BAPI have auto commit or not, is it TEST RUN parameter, but all the BAPI doesn't have this parameters.
Thanks.
‎2007 Mar 08 12:13 PM
Typically you have parameters like TEST_RUN (as in BAPI_PO_CHANGE) or I_COMMIT (in ME_CCP_TPO_PRICE_CHANGE).
There is no general rule here and also many BAPIs WON'T have any COMMIT inside them. They need to be called and committed in wrapper function/program.
‎2007 Mar 08 12:13 PM
You have to look for parameters like test run or commit .
If it does exist, then no problem.
If it doesn't have , then it means yo uhave to use BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK based on the success or failure.
Regards,
Ravi
‎2007 Mar 08 12:18 PM
Ok Ravi, the BAPI BAPI_MATERIAL_SAVEDATA doesnt have any paramter like TEST RUN or COMMIT, but still this BAPI is have auto commit.
Can we say some other way, all the master date BAPI have auto commit and Transactional data BAPI doesnt have auto commit.