Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: 3 Custom Table updates

$
0
0

hi Nikhil

 

you can directly use 'rollback work.' in your abap code. if last one of you update sql failed, it will rollback all the changed which is done by previous two. Infact, there are a implicit 'commit work' when your program run over.

 

Blow code:

update Zxxx from table itab1.

update Zyyy from table itab2.

update Zzzz from table itab3.

if sy-subrc ne 0.

rollback work.

endif.

 

regards,

Archer


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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