‎2008 Jun 02 1:29 PM
Hi,
The following statements are present which gives a unicode errors.
I tried to change the code for unicode enablement , but it gives error.
i checked the cl_abap_utilities, for 09 , the value is value cl_abap_char_utilities=>HORIZONTAL_TAB
and i used function module to check value of 3B, =the o/p gives the value ' ;' .
so can i concatenate p(horizontal_tab) and q(value ';') into s and use the variable s as replacement of trhex? the value s will contain '#;; which is desired i guess.
Please check.
Data Trhex(4) TYPE x VALUE '093B'.
Translate Lt_Buffer-Line Using Trhex.
Regards
Sachin
‎2008 Jun 02 2:02 PM
Hi,
is this useful for you:
DATA:
BEGIN OF lt_buffer OCCURS 0,
line(255),
END OF lt_buffer,
trhex(2) TYPE c,
tab.
trhex+0(1) = cl_abap_char_utilities=>horizontal_tab.
trhex+1(1) = ';'.
tab = cl_abap_char_utilities=>horizontal_tab.
CONCATENATE 'Duffy' tab 'Duck' INTO lt_buffer-line.
WRITE: / lt_buffer-line.
TRANSLATE lt_buffer-line USING trhex.
WRITE: / lt_buffer-line.
regards
Walter Habich