03-26-2008 11:09 AM
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.
03-26-2008 11:22 AM
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
03-26-2008 11:22 AM
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