‎2007 Dec 13 11:58 AM
Hi all,
We were using the BAPI "BAPI_ACC_PRIMARY_COSTS_POST" for transferring primary costs for WBS elements.
BAPI transaction commit is called after the Cost transfer is sucessfull.
Unfortunately the BAPI "BAPI_TRANSACTION_COMMIT" gives a Dump with message "Precommit did not run successfully".
This dump is generated when statement "COMMIT WORK" is executed.
‎2007 Dec 13 12:01 PM
HI,
Pass the parameter WAIT = 'X' for the FM bapi_transaction_commit.
Regards,
Nagaraj
‎2007 Dec 13 12:03 PM
‎2007 Dec 13 12:06 PM
Hi Sir,
R u calling FM BAPI_TRANSACTION_COMMIT twice.It can be used only once in a program.
Plz reward if useful.
Thankx.
‎2007 Dec 13 12:26 PM
We have used this FM in LOOP in some of our programs and it is executing sucessfully.
‎2007 Dec 13 2:36 PM
‎2007 Dec 14 6:19 AM
Hi Rob,
We do not have any Email functionality while executing this BAPI.
Prior to using this BAPI, we are using "BAPI_PRIMARY_COST_TRANSFER".
for transferring costs for the WBS elements.
Dump throws message "Pre commit was not sucessfull".
Dump is produced while executing statement "COMMIT WORK".
‎2007 Dec 14 6:21 AM
Hi Rob,
IGNORE PREVIOUS REPLY.
We do not have any Email functionality while executing this BAPI.
Prior to using this BAPI, we are using "BAPI_ACC_PRIMARY_COSTS_POST".
for transferring costs for the WBS elements.
Dump throws message "Pre commit was not sucessfull".
Dump is produced while executing statement "COMMIT WORK".
‎2007 Dec 14 2:54 PM