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

Creating an output file using 'GUI_DOWNLOAD' function

venkatasap
Participant
0 Likes
517

Hi SapAll.

when i try to create an out put text file using the FM 'GUI_DOWNLOAD' by wiring the follwoing below source code

CONCATENATE 'ASORT' c_tab 'ASORTYP' c_tab

'VKORG' c_tab 'DATAB' c_tab

'DATBI' INTO outtab-txt.

iam not able to create the text file with more than 16 fields.i have tried to create an out put file with 24 fields but i can only see 16 fields in it.so could any body help me in finding out how i can create an Output file with more than 16 fields in the file.

your help will be appreciated.

regards.

Varma

3 REPLIES 3
Read only

mithun_shetty4
Contributor
0 Likes
488

How many characters can outtab-txt hold ?

Look at the internal table that you are using with FM GUI_DOWNLOAD

Read only

0 Likes
488

thanks for your advice mr Mithin Shetty.

i have changed the lenght of the character field in the internal table outtab and resulted output file has got all the fields in it.

great help.

regards.

Varma.

Read only

Former Member
0 Likes
488

check your output definition....are you doing something like below? SAP will transfer 1024 bytes per line with GUI_DOWNLOAD. After you download, how do you view the data? Be sure you're looking at the data with something that will show all 1024 bytes, and not jsut 256 or 512.

types: begin of outline,

txt(1024),

end of outline.

data: outtab type table of outline,

ls_out type outline.