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

Upload comma separated or tab separated file

$
0
0

hi

 

I have a req where i need to upload either tab delimited or comma delimited file.

i have used gui_upload which is working for comma separated and giving output. but not working for tab delimited..in both cases i m getting data in IT_IN  table

 

after this, in format file i m formatting using :

LOOP AT it_in ASSIGNING <it_in_line>

      WHERE LINE IS NOT INITIAL.

*      ADD 1 TO ws_counters-cnt.

      CLEAR ws_pir.

      IF p_separ <> ' ' AND p_delim <> ' '.

        SPLIT <it_in_line> AT p_delim INTO


Viewing all articles
Browse latest Browse all 8332

Trending Articles