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

GUI_DOWNLOAD

Former Member
0 Likes
693

Hi!

I have this situation:

Table A

X | Y | Z

AAA | |

HHJJ |UUUU |BBBB

Where the field X, Y and Z are type C.

When I use the function GUI_DOWNLOAD and the option TRUNC_TRAILING_BLANKS_EOL, the file is created with blanks spaces on the first line for the fields Y and Z.

What could I do to create file without these blanks spaces?

Regards,

Elton

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
660

You could concatenate all of the fields of each row into one string and pass an internal table of strings to the GUI_DOWNLOAD funciton module.

Regards,

RIch Heilman

Hi!

I have this situation:

Table A

X | Y | Z

AAA | |

HHJJ |UUUU |BBBB

Where the field X, Y and Z are type C.

When I use the function GUI_DOWNLOAD and the option TRUNC_TRAILING_BLANKS_EOL, the file is created with blanks spaces on the first line for the fields Y and Z.

What could I do to create file without these blanks spaces?

Regards,

Elton

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
661

You could concatenate all of the fields of each row into one string and pass an internal table of strings to the GUI_DOWNLOAD funciton module.

Regards,

RIch Heilman

Read only

0 Likes
660

Thank you!

Elton

Read only

Former Member
0 Likes
660

Hi,

Check the following link:

http://www.sapbrain.com

Regards,

Bhaskar

Read only

0 Likes
660

This link is very interesting!

Thank you!

Elton