Hello Azam Nazar.
Check RETURN internal table once the BAPI is executed and before checking SY-SUBRC = 0.
Instead of using CHECK SY-SUBRC EQ 0,use
if return[] is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
endif.
Regards.
Hello Azam Nazar.
Check RETURN internal table once the BAPI is executed and before checking SY-SUBRC = 0.
Instead of using CHECK SY-SUBRC EQ 0,use
if return[] is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
endif.
Regards.