2010 Sep 14 11:38 PM
hello all, when using FM SAP_CONVERT_TO_TEX_FORMAT to convert a table that has integer, decimal or any non-unicode type definitions, you get an error when executing. Is there a new function module to replace this that will work for all type definitions?
Thx
hello all, when using FM SAP_CONVERT_TO_TEX_FORMAT to convert a table that has integer, decimal or any non-unicode type definitions, you get an error when executing. Is there a new function module to replace this that will work for all type definitions?
Thx
2010 Sep 15 12:32 AM
instead you can create your own internal table like this
begin of itab occurs 0,
line(255) type c,
end of itab.
LOOP AT xtab.
CLEAR ixls.
str1 = xtab-klimk. "place non-char fields in the string variable
str2 = xtab-skfor.
str3 = xtab-skfor1.
CONCATENATE xtab-kunnr
xtab-name1
xtab-text1
str1
str2
str3
INTO itab-line SEPARATED BY coma.
APPEND itab.
ENDLOOP.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |