‎2010 Jan 20 9:36 AM
Hi whats the replacement of the above code in unicode environment? can I use type string instead?
thanks !
Chika
‎2010 Jan 20 10:00 AM
Hello,
0A is the hex-representation for Line Feed.
0A -> cl_abap_char_utilities=>newline.
The UC replacement will be:
DATA: v_lf TYPE char1.
v_lf = cl_abap_char_utilities=>newline.BR,
Suhas
Edited by: Suhas Saha on Jan 20, 2010 3:30 PM
‎2010 Jan 20 9:44 AM
Hi,
Please, can you be more clear with your Question..
Regards,
Faisal
‎2010 Jan 20 9:54 AM
Hi Chika,
declare this class: CLASS CL_ABAP_CONV_IN_CE DEFINITION LOAD.
then use : CL_ABAP_CONV_IN_CE=>UCCP( '000A' ).
check this link for more information details..http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm
you will get more information on hexa decimal related.
Thanks and regards.
‎2010 Jan 20 9:56 AM
Check this.
CONSTANTS: lv_hex(2) TYPE x VALUE '0A'.
DATA: lv_out TYPE Char01.
CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP
EXPORTING
UCCP = lv_hex
RECEIVING
CHAR = lv_out .
‎2010 Jan 20 10:00 AM
Hello,
0A is the hex-representation for Line Feed.
0A -> cl_abap_char_utilities=>newline.
The UC replacement will be:
DATA: v_lf TYPE char1.
v_lf = cl_abap_char_utilities=>newline.BR,
Suhas
Edited by: Suhas Saha on Jan 20, 2010 3:30 PM