2008 Jun 23 4:53 PM
Hi Guys,
This is my error x type x is converted to character type.
EOF" and "IT_DOWN2-LINE(1)" are not comparable in a Unicode program.
DATA: BEGIN OF eof, "<EOF> = Ascii-Wert 26
x TYPE x VALUE '1A',
END OF eof.
2008 Jun 23 5:08 PM
Check this
report zaRs
no standard page heading
line-size 255.
begin of struct1,
x1(1) type x,
end of struct1.
begin of struct2,
c1(10) type c,
end of struct2.
data: xcontent type xstring,
content type string,
conv type ref to cl_abap_conv_in_ce,
len type i.
struct1-x1 = '1A'.
xcontent = struct1-x1.
conv = cl_abap_conv_in_ce=>create( input = xcontent ).
conv->read( importing data = content len = len ).
struct2-c1 = content.
a®