cancel
Showing results for 
Search instead for 
Did you mean: 

Fields should be quoted seperated by comma while transferring to text file

0 Kudos

Hi Experts,

I need to show the file contents within double quotes and seperated by comma using 'GUI_DOWNLOAD'

For eg. The text file contents that are transferred to presentation server should look like,

"00210000001400","21000000149","","0000149","0014","10"

"00210006121500","21000612151","","0612151","1215","10".

I was coded like

**CONCATENATE c_quotes lv_matnr14 INTO lv_first.**
        **CONCATENATE lw_final-extwg+0(2) c_quotes INTO lv_last.**
        **CONDENSE lv_first NO-GAPS.**
        **CONDENSE lv_last NO-GAPS.**
        **CONCATENATE lv_first**
                    **lw_final-ean11+3(11)**
                    **lw_final-yyshortdesc**
                    **lw_final-ean11+7(8)**
                    **lw_final-ean11+9(4)**
                    **lv_last**
               **INTO lw_ps_data**
               **SEPARATED BY c_comma1.**
        **CONDENSE lw_ps_data NO-GAPS.**
        **APPEND lw_ps_data TO rt_ps_data.**

Can u please suggest if there is other better way than this.....?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Post your question in ABAP forum.

Shabarish_Nair
Active Contributor
0 Kudos

try ABAP forum for a better response -