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

UNCAUGHT_EXCEPTION

ratana_pouy
Participant
0 Likes
2,017

Dear Expert,

i am trying to trigger BAPI in a program for reservation creation. Get dumps at the time of Commit.

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.<br>

Please kindly advise.

Thanks,

RTN

3 REPLIES 3
Read only

Qi_Liu
Product and Topic Expert
Product and Topic Expert
0 Likes
1,909

This could occur when the above BAPI (reservation creation) returns error and not being properlly handled.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,909

Always check the SAP notes first if you have some issues with the standard programs. If the issue is still not solved, contact the SAP support.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,909

Check the RETURN parameter for Error Message before calling BAPI_TRANSACTION_COMMIT or ROLLBACK.