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

problem while using 'WS_DOWNLOAD'

former_member195383
Active Contributor
0 Likes
556

Hi All,

I am using the following function to download internal table data to Excel format.

CALL FUNCTION 'WS_DOWNLOAD'

EXPORTING

filename = wf_dsktp

filetype = 'DBF'

TABLES

data_tab = tb_sprinter

fieldnames = tb_fieldnames

EXCEPTIONS

:

:

Here I am filling the tb_fieldnames with the required headings. But the problem is ...

In excel I am getting the headings truncated after 10 characters. Do I need to pass aNy

other parameters to get the complete heading.

before calling the function if I check tb_fieldnames in debugging, I see the full headings .

Please suggest the needful...

4 REPLIES 4
Read only

Former Member
0 Likes
528

Dear ,

Try for text file (.TXT).

and check the output.

or in excel double click on coulmn and check the data heading. there must be full heading. after double clicking on filed of excel file sure you will get full heading.

Try and check.

-Maharshi

Read only

0 Likes
528

Hi,

I checked the Excel in a similar way , but The heading is not coming. Its truncated after 10 characters.

I think , I am missing some parametes while calling the FM.

Read only

Former Member
0 Likes
528

Hi Rudra,

[ws_download|http://sapearth.com/index.php?option=com_fireboard&func=view&catid=9&id=20]

Regards,

Sravanthi

Read only

0 Likes
528

Hi Sravanthi,

the fm WS_DOWNLOAD is working fine except for one thing that,

In excel I am getting the headings truncated after 10 characters.

In the link given by you I dont see any thing specified for that. And I have used the same procedure that is given in the link.