‎2007 Jul 14 7:10 AM
what is the arrtibute value of this hex1 type .. in CL_ABAP_CHAR_UTILITIES.
hex1 TYPE x VALUE '0D',
my req is this value is in structure n
data: begin of itab_input
c1(40) type c value 'hgfsdhfjsdf'.
hex1 type x value '0D',
end of itab_input.
data: begin of itab_output
c3(42) type c
end of itab_output.
MOVE ita_input TO itab_output. .
im doing unicode conversion.. this MOVE is gving error in unicode conversion
please explain how to do it..
‎2007 Jul 14 7:17 AM
Hi,
Use CL_ABAP_CHAR_UTILITIES=>CR_LF for this.
Reward points if useful.
Regards,
Atish
‎2007 Jul 14 7:26 AM
Hi Atish,
but my value is only '0D' in hex1..
then how it will take as '0D0A'. for CR_LF..?
‎2007 Jul 14 7:28 AM
‎2007 Jul 14 8:00 AM
Hi Atish..one more doubt same here..
types: begin of itab,
a(5) type c,
b(5) type dec,
end of itab.
types: begin of des ,
rec(10),
end of des.
gw_itab type itab.
ga_des type des.
move ga_des-red to gw_itab.
here i get error moveing this type as gw_itab contains dec fld..
if its c type it wont gv any error ..
how to solve this type error?
‎2007 Jul 14 7:18 AM
declare this way
class cl_abap_char_utilities definition load.
constants: c_hex type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
‎2007 Jul 14 7:21 AM
‎2007 Jul 31 5:49 AM