Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: delete line within BAPI_SALESDOCUMENT_CHANGE

$
0
0

loopat it_vbap.

   header_ch_inx-updateflag = 'U'.

   item_ch-itm_number       = it_vbap-POSNR.

   APPEND item_ch.            " <<<<<<


   item_ch_inx-ITM_NUMBER = it_vbap-POSNR .

   item_ch_inx-UPDATEFLAG = 'D'.

   APPEND item_ch_inx.

ENDLOOP.

 

 

at the end you should call the function

 

BAPI_TRANSACTION_COMMIT


Viewing all articles
Browse latest Browse all 3125

Trending Articles



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