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

regarding GUI_DOWNLOAD STRING PRB

Former Member
0 Likes
664

hey guys,

We are trying to download internal table values to Excel sheet. But string length

holding above 8200 is not downloading to excel completely,getting truncated/showing dump.

below is the structure.

begin of itab.

fld1(10).

fld2(20).

fld3 type string.

end of itab.

if above having field Fld3 is greater than( >) 8200 in length, is passed to GUI_DOWNLAOD, its giving short dump. while debugging we found bufferlength space is fixed to 8200. how to solve this problem.

Please suggest us.

regards

Ambichan

hey guys,

We are trying to download internal table values to Excel sheet. But string length

holding above 8200 is not downloading to excel completely,getting truncated/showing dump.

below is the structure.

begin of itab.

fld1(10).

fld2(20).

fld3 type string.

end of itab.

if above having field Fld3 is greater than( >) 8200 in length, is passed to GUI_DOWNLAOD, its giving short dump. while debugging we found bufferlength space is fixed to 8200. how to solve this problem.

Please suggest us.

regards

Ambichan

4 REPLIES 4
Read only

dev_parbutteea
Active Contributor
0 Likes
630

HI,

Find the max number of char that fld3 will hld and change its type to char and specify the max lenght.

Regards,

Sooness

Read only

0 Likes
630

hi Sooness,

Thanks for your reply

It looks like FM GUI_Download only accepts only 8200 char length for a field.

please confirm.

regards

Ambichan

Read only

0 Likes
630

Hi,

actually string type has no specific lenght assigned to it. So put field 3 as char and specify an appropriate lenght for it.

regards,

Sooness.

Read only

Former Member
0 Likes
630

give the filetype as <b>DBF</b> and checkout if it works