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 with GUI_DOWNLOAD

Former Member
0 Likes
766

Hi ,

In one senario I am not able to understand why GUI_Download is giving dump.

I am showing data in ALV, In that ALV i take 3 column as long text which is comming from READ_TEXT.In ALV, I given a icon when i click on that new pop up come & show the long text. If i am using stadard button of alv to download in excel sheet, that long text not come. I need to download it also.

I did code for that I create a internal table in whcih i take string type for long text & paasing that internal table to GUI_DOWNLOAD. It gives a short dump.

What is the solutions for that? any example for that.

Thanks & Regards,

jaten sangal

Edited by: Jaten.sangal on Nov 16, 2009 7:14 AM

6 REPLIES 6
Read only

Sm1tje
Active Contributor
0 Likes
729

You could at least give some additional info about the short dump and maybe even the relevant part of the coding. Otherwise, there is not much one can do to solve this beside taking some wild guesses.

Read only

Former Member
0 Likes
729

Type conflict when calling a function module.

This dump come when i use string in my internal table. If I use any char with length its work perfectly, but i dont know how much lengh is of long text.

Read only

Former Member
0 Likes
729

Hi,

I think you are retrieving the logn text from text table. Use the same data element of that field to your internal table field instead of string.

Thanks,

Srinu.

Read only

0 Likes
729

Yes , You are right but my requirement is same. i can not take as u are saying, because text table has only 132 char field . When you use Read_text FM it gives you suppose 10 line of chat 132 , then in that case what will be you do?

Read only

0 Likes
729

you can chop the string into rows of an another internal table before passing it to the FM. For this you dont have to know the string length in advance.

Regards,

Sumit Nene.

Read only

Former Member
0 Likes
729

Its done bye me..