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

tranSFER TO notepad

Former Member
0 Likes
647

I need a NEW LINE between each fields in the downloaded notepad.

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
626

data: it type table of string.

"in unicode system use this:
CONSTANTS con_cret(2) TYPE c VALUE cl_abap_char_utilities=>cr_lf.

"in non-unicode this one
CONSTANTS: con_cret TYPE x VALUE '0D',  

"now simply place it at the beginning of each line of table which you download
concatenate con_cret it into it.
append it.

I need a NEW LINE between each fields in the downloaded notepad.

4 REPLIES 4
Read only

Former Member
0 Likes
626

Hi,

Use SKIP statement.

Thanks

Read only

MarcinPciak
Active Contributor
0 Likes
627

data: it type table of string.

"in unicode system use this:
CONSTANTS con_cret(2) TYPE c VALUE cl_abap_char_utilities=>cr_lf.

"in non-unicode this one
CONSTANTS: con_cret TYPE x VALUE '0D',  

"now simply place it at the beginning of each line of table which you download
concatenate con_cret it into it.
append it.
Read only

Former Member
0 Likes
626

Hi,

you can do something like this

concatenate var1 into somevar.

for ex.

data: lv_tab type X value 09.

concatenate lv_tab into string.

this will help you.

Read only

Former Member
0 Likes
626

Hi...

You must be filling the final internal table in a loop right... if yes.. then do this..



loop at itab.
append itab to t_download.

clear: itab.

append itab to t_download.
endloop.

Here ITAB is the final internal table in your program...and T_DOWNLOAD is the internal table which is passed to the function module for downloading.

ITAB is an internal table with header line.

Do reply back..if you need more clarification..

Cheers