Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dump while using FM "BAPI_TRANSACTION_COMMIT"

abhishekjain
Participant
0 Likes
1,435

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.

8 REPLIES 8
Read only

former_member404244
Active Contributor
0 Likes
1,087

HI,

Pass the parameter WAIT = 'X' for the FM bapi_transaction_commit.

Regards,

Nagaraj

Read only

0 Likes
1,087

Indeed we have used WAIT = 'X'.

Read only

Former Member
0 Likes
1,087

Hi Sir,

R u calling FM BAPI_TRANSACTION_COMMIT twice.It can be used only once in a program.

Plz reward if useful.

Thankx.

Read only

0 Likes
1,087

We have used this FM in LOOP in some of our programs and it is executing sucessfully.

Read only

0 Likes
1,087

Is the dump sending express mail?

Rob

Read only

0 Likes
1,087

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".

Read only

0 Likes
1,087

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".

Read only

0 Likes
1,087

Not e-mail - express mail in your SAP inbox.

Rob