Skip to Content
0
Former Member
Dec 08, 2006 at 08:17 PM

Download a file to SAP Server!!! URGENT please

26 Views

Hi all,

My scenario is to write/upload a tab delimited file on theapplication server.

I'm using this:

open dataset d1 for output in text mode.

loop at itab.

concatenate itab-vorna itab-nachn into str

separated by cl_abap_char_utilities=>horizontal_tab.

transfer str to d1.

endloop.

close dataset d1.

VORNA is a char40

NACHN is a char40

I want that in my file appears the 40chars for each field. For example if VORNA = 'Joao' NACHN = 'Maria' i want that appears in file like that:

Joao (apears 36 white fields) #Maria

In this moment it apears like thar:

Joao#Maria

I want to conserve the lenght of the chars when i download the file to application server SAP.

Thanks in advance.

Cheers

Message was edited by:

yukimai maio