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.