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

Re: Unable to retrieve data

$
0
0

Hi Kalapana,

 

 

Try with the following code.

 

 

LOOP AT itab.

      IF itab-fkart = 'ZIV'.

        SELECT SINGLE name1 INTO name12 FROM kna1 WHERE kunnr = itab-kunag.

          if sy-subrc = 0.

        itab-name1 = name12.

        MODIFY itab TRANSPORTING name1.

        endif.

      ENDIF.

    ENDLOOP.

 

 

before modifying the value check sy-subrc otherwise it willl update the null values.

 

 

Regards,

Gurunath


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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