2008 Dec 04 9:31 AM
I need a NEW LINE between each fields in the downloaded notepad.
2008 Dec 04 9:38 AM
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.
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.
2008 Dec 04 9:33 AM
2008 Dec 04 9:38 AM
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.
2008 Dec 04 9:40 AM
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.
2008 Dec 04 9:41 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |