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

Re: Problem uploading XLSX using Tcode CG3Z

$
0
0

try this

 

Upload the file into an internal table, and then use the below lines to upload

 

OPEN DATASET gv_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

     IF sy-subrc EQ 0.
       LOOP AT gt_final INTO gs_final.
         TRANSFER gs_final-tline TO gv_file.
         CLEAR gs_final.
       ENDLOOP.
     ELSE.
       "Error Message
     ENDIF.

     CLOSE DATASET gv_file.


Thanks

Rajesh



Viewing all articles
Browse latest Browse all 8802

Trending Articles



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