‎2009 Apr 07 2:37 PM
Dear experts,
How to avoid the BAPI_TRANSACTON COMMIT effect on next calling FM in a report program.
regards
Sriram
Edited by: SRIRAM on Apr 8, 2009 5:50 PM
‎2009 Apr 08 1:26 PM
‎2009 Apr 08 1:26 PM
‎2009 Apr 09 9:26 AM
I am calling BAPI_GOODSMVT_CANCEL ( along with BAPI_TRASACTION_COMMIT ) and WS_REVERSE_GOODS_ISSUE in the sequence as per the requirement in a report .
WS_REVERSE_GOODS_ISSUE always getting failed (with sy-subrc = 1 )becoz of the previous BAPI.
Under start-of-selection event if WS_REVERSE_GOODS_ISSUE called first and BAPI 2nd in sequence ,then every thing is fine and gettig sy-subrc = 0.
How to avoid the impact of bapi in this regard and what are all the syatem varriables need to be cleared before calling WS_REVERSE_GOODS_ISSUE .