Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

excel download problem

Former Member
0 Likes
839

hi,

using gui_download i am downloading internal into a excel sheet. I am giving field names into another internal table and giving in the function module like this

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = Filepath

filetype = 'ASC'

append = 'X'

write_field_separator = '#'

TABLES

data_tab = ALV_OUT[]

fieldnames = git_fields.

but in the column names if i gave fielname as " previous confirmed qty"..it is displaying only part of it like "previous confirmed"...why is this happening

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
807

Hi

There is a limitation for the Fieldname (Column Name) from GUI_DOWNLOAD

8 REPLIES 8
Read only

Former Member
0 Likes
808

Hi

There is a limitation for the Fieldname (Column Name) from GUI_DOWNLOAD

Read only

0 Likes
807

How to overcome then?

Read only

0 Likes
807

How did you declare your internal table for fieldnames ?

try this.



  DATA : BEGIN OF it_join_fields OCCURS 0,
             field_name(25),
             END OF it_join_fields.

 CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
     filename                        = file_name
      filetype                        = 'ASC'
      append                          = 'X'
      write_field_separator           = 'X'
    TABLES
      data_tab                        = it_join
      fieldnames                      = it_join_fields
            .

Read only

0 Likes
807

it is exatly the same i did

Read only

0 Likes
807

paste ur declaration of ur itab...increasing ur field size might solve your problem !!!

Read only

Former Member
0 Likes
807

Hi,

61 text-062, "Customer Name1

As above use Text symbol.

text-006 TO wa_excel_tab-name1 ,

Revert if any doubts.

Manas

Read only

Former Member
0 Likes
807

Did your problem got sorted out..

Manas

Read only

0 Likes
807

No