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

Re: reading the file from application server for record number of times

$
0
0

Hi Sachin.

 

Try this way...

 

OPEN DATASET gv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc EQ 0.

*  DO 2 TIMES.

   DO.  

    READ DATASET gv_file INTO li_strng.

    IF sy-subrc EQ 0.

      APPEND li_strng TO it_strng.

    ELSE.

      EXIT.

    ENDIF.

  ENDDO.

ENDIF.

 

Rewardful points if useful.

 

Regards,

João


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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