Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7761

bapi transaction rollback issue

$
0
0

Hi,

 

I am elaborating my issue below.

 

1 ) I am using BAPI_PO_CREATE to create a po number.

 

2 ) Before use BAPI_TRANSACTION_COMMIT,

 

I am calling BAPI_GOODSMVT_CREATE to create material document, only by using the po number.

 

3 ) Once BAPI_GOODSMVT_CREATE is sucessfull then i am commiting both the bapi by BAPI_TRANSACTION_COMMIT.

 

4 ) But IF BAPI_GOODSMVT_CREATE is unsuccessful then i am calling BAPI_TRANSACTION_ROLLBACK for BAPI_PO_CREATE.

 

when i m checking by debug, its executing the BAPI_TRANSACTION_ROLLBACK,but the po is not removing / rollbacking from table like EKKO or EKPO table.

 

Please provide some suggestion, because if BAPI_GOODSMVT_CREATE is fails, i need to use BAPI_TRANSACTIOB_ROLLBACK  for both the above mentioned bapi.

 

Thanks & Regards,

 

Ajit sarangi


Viewing all articles
Browse latest Browse all 7761

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>