Quantcast
Viewing all articles
Browse latest Browse all 9238

sap bw abap code meaning

Hello,

 

Can someone please explain what below code do? Is this deleting records from loading into transfer structure?  This was added in the start routine of transfer rule for Purchasing ODS.

 

APPEND LINES OF DATAPAK TO I_DATAPAK
DELETE I_DATAPAK WHERE ROCANCEL <> 'R'.

LOOP AT I_DATAPAK INTO LS_DATAPAK.

IF LS_DATAPAK-ROCANCEL = 'R'.

   LS_DATAPAK-LOEKZ = 'L'.

       LS_DATAPAK-ROCANCEL = SPACE.

   MODIFY I_DATAPAK FROM LS_DATAPAK.

   ENDIF.

  ENDLOOP.

 

Please advise,

 

Thanks


Viewing all articles
Browse latest Browse all 9238

Trending Articles



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