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

Need two ebeln in one column

$
0
0

Hi,

I want ekbe-ebeln and bsik-ebeln in one column.

Can anyone suggest the solution.

 

IF it_with_item-blart EQ 'RE'.

      SELECT SINGLE ebeln gjahr belnr
         FROM ekbe INTO (it_with_item-ebeln,it_with_item-gjahr1,it_with_item-belnr1)
      WHERE gjahr = it_with_item-awkey+10(4) AND belnr = it_with_item-awkey(10).
      MODIFY it_with_item TRANSPORTING:ebeln.
    ENDIF.
    READ TABLE it_bsik WITH KEY bukrs = it_with_item-bukrs belnr = it_with_item-belnr gjahr = it_with_item-gjahr.
    IF sy-subrc = 0.
      it_with_item-ebeln it_bsik-ebeln.
      it_with_item-zuonr it_bsik-zuonr.
      MODIFY it_with_item TRANSPORTING:ebeln,zuonr.
    ENDIF.

 

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>