Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unicode conversion issue

mohan_subramania
Explorer
0 Likes
362

recently we done the unicode conversion, on that the following code makes error on

conversion from type X to C

please give the code to correct the error

DATA: l_hex(4) TYPE x VALUE '27',
        l_ft_sym(1),
        l_in_sym(1).
  FIELD-SYMBOLS: <l_fs>.
  ASSIGN l_hex TO <l_fs> TYPE 'C'.
  l_ft_sym = <l_fs>.

here - # symbol assigned unnecessarily to field-symbols.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
337

hi,

DATA: l_hex(4) TYPE x VALUE '27',

l_ft_sym(1),

l_in_sym(1).

FIELD-SYMBOLS: <l_fs> type any.

ASSIGN l_hex TO <l_fs>.

l_ft_sym = <l_fs>.

write l_ft_sym.

Reward if helpful

Regards

1 REPLY 1
Read only

Former Member
0 Likes
338

hi,

DATA: l_hex(4) TYPE x VALUE '27',

l_ft_sym(1),

l_in_sym(1).

FIELD-SYMBOLS: <l_fs> type any.

ASSIGN l_hex TO <l_fs>.

l_ft_sym = <l_fs>.

write l_ft_sym.

Reward if helpful

Regards