BAPI TRANSACTION COMMIT
Inputs required on following scenario :
BAPI No. 1 is called, UPDATE EMPID is executed inside the BAPI.
Now the session expires ( Auto rollback would be done).
New Session started.
But BAPI_TRANSACTION_COMMIT is called.
Will BAPI_TRANSACTION_COMMIT return an ERROR ?
What exactly would it return ?
How to test such a scenario in R/3 ?
Any pointers would be helpful.
Amit Mittal replied
1. Will BAPI_TRANSACTION_COMMIT return an ERROR
No it won't reutrn an error.
2. Bcos, when this bapi is executed,
There will be no pending update requests
3. Hence, it would simply fire commit,
without any error and return sy-subrc = 0.