‎2007 Mar 15 3:42 AM
Hi guys
BAPI Functio Module comes with COMIT sometimes, when BAPI dosent have COMIT we have to give COMMIT explicitly.
SO my Question is how to know that BAPI has COMIT internally.
Hope u understand my question
Thanks
Basheer
‎2007 Mar 15 3:50 AM
That is a good question. To understand this we ahve to understand the journey of BAPI. Initially whe BAPIs were created, they had internal COMMIT. But in the due course of time it was decided to remove the internal commmit. This is because some BAPIs will be used for both simulations and postings.
The BAPIs from versions 4.6 do not have internal commits, but BAPIs in versions prior to this have internal commit. There is no specific rule to identify BAPIs with internal commits, but as per my understanding, BAPIs from 4.5 and 4.6 do not have internal commit.
‎2007 Mar 15 3:49 AM
Hi,
Typically you have parameters like TEST_RUN (as in BAPI_PO_CHANGE) or I_COMMIT (in ME_CCP_TPO_PRICE_CHANGE) for internal commit.
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 or you can use BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK based on the success or failure.
Regards,
Ferry Lianto
‎2007 Mar 15 3:50 AM
That is a good question. To understand this we ahve to understand the journey of BAPI. Initially whe BAPIs were created, they had internal COMMIT. But in the due course of time it was decided to remove the internal commmit. This is because some BAPIs will be used for both simulations and postings.
The BAPIs from versions 4.6 do not have internal commits, but BAPIs in versions prior to this have internal commit. There is no specific rule to identify BAPIs with internal commits, but as per my understanding, BAPIs from 4.5 and 4.6 do not have internal commit.