Skip to Content
0
Former Member
Aug 13, 2009 at 08:47 PM

Problem with BAPI_TRANSACTION_COMMIT

58 Views

Hello all,

I am running into a issue here and hope someone can help me figure out what's goin on here. I have a custom report with BAPI for goods movement called twice inside this program. BAPI structure inside my program is something like this.

BAPI_GOODSMVT_CREATE

BAPI_TRANSACTION_COMMIT

BAPI_GOODSMVT_CREATE

BAPI_TRANSACTION_COMMIT

This program is working fine when I run it individually but my issue is when I call this program from a custom function module by using 'CALL TRANSACTION' statement, the control jumps out of the custom program after first BAPI_TRANSACTION_COMMIT statement. I am wondering why this is happening. Any thoughts are much appreciated. Thanks.