Application Development 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: 

UNCAUGHT_EXCEPTION

ratana_pouy
Participant
0 Kudos

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

Qi_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Sandra_Rossi
Active Contributor
0 Kudos

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.

raymond_giuseppi
Active Contributor
0 Kudos

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