Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Problem while appending

$
0
0

Hi,

In the below code I appended 2 lines to with_item. I want to fetch all the columns of with_item for bsik.

Attached is for ur reference.

 

LOOP AT it_with_item.
      READ TABLE it_bsik WITH KEY bukrs = it_with_item-bukrs belnr = it_with_item-belnr.
      IF sy-subrc = 0.
        it_with_item-belnr it_bsik-belnr.
        MODIFY it_with_item TRANSPORTING:belnr.
      ENDIF.
      DELETE it_bsik WHERE bukrs = it_with_item-bukrs AND belnr = it_with_item-belnr.
    ENDLOOP.
  APPEND LINES OF it_bsik TO it_with_item.

 

Regards

Kalpana


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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