05-17-2006 7:32 AM
Hi All,
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.
Best regards,
Prashant
05-17-2006 9:24 AM
Hi prashant,
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
for commting.
3. Hence, it would simply fire commit,
without any error and return sy-subrc = 0.
regards,
amit m.
05-17-2006 9:11 AM
BAPI_TRANSACTION_COMMIT will return or not return the message depending on whether the value of parameter WAIT is set to 'X'. If it has failed it will return 'Posting could not be carried out'
Well to test that scenario , i wud suggest look into the R/3 table you are updating after the call of RFC from the other system. after successive test runs check if the updates are okay.
This BAPI additionally refreshes the buffers associated with the table apart from the normal COMMIT and wait statement.
05-17-2006 9:24 AM
Hi prashant,
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
for commting.
3. Hence, it would simply fire commit,
without any error and return sy-subrc = 0.
regards,
amit m.