2008 Apr 18 1:13 PM
Hi,
I need to convert a header line of a internal table into a text. I try simply to do this:
data: text(4096) type c.
data: ti_ekko standard table of ekko with header line.
read table ti_ekko index 1.
text = ti_ekko.
but the values of column type currency had not been converted correctly. I try to use too a FM SAP_CONVERT_TO_TEXT_FORMAT.
Thank's for some help...
Hi,
I need to convert a header line of a internal table into a text. I try simply to do this:
data: text(4096) type c.
data: ti_ekko standard table of ekko with header line.
read table ti_ekko index 1.
text = ti_ekko.
but the values of column type currency had not been converted correctly. I try to use too a FM SAP_CONVERT_TO_TEXT_FORMAT.
Thank's for some help...
2008 Apr 18 1:15 PM
Hi,
Try this..
loop at itab.
concatinate itab-field1 concatinate itab-field2 concatinate itab-field3 concatinate itab-field4 concatinate itab-field5 into text.
endloop.
hope this will help.
Amit.
2008 Apr 18 1:19 PM
Hi,
I try to do this, but fields of currency type can not be concatenate. Only fields of type Char or numeric.
Thanks
2008 Apr 18 1:24 PM
Hi,
try this function module
TRS_CONVERT_AMOUNT_TO_TEXT
please reward points if useful.
2008 Apr 18 1:30 PM
Hi nilanjana sinha
I can't find this FM. I using R/3 4.6C.
Thanks
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |