‎2008 Mar 27 6:25 AM
Hai experts please help for this issue.
i want to print feet and inches output like 2 ' 10" for this in non unicode i am using the following code
CONSTANTS: c_feet TYPE msehi VALUE 'FT',
c_inches TYPE msehi VALUE 'IN'.
* Create a display UOM for XXX'XX" output.
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>.
WRITE c_inches TO l_in_sym.in that above code l_ft_sym gives ' symbol
and l_in_sym gives " symbol
but after unicode conversion of the system it gives instead of ' symbol it gives some carbage
value .so need code for getting ' symbol in unicode system.
‎2008 Mar 27 8:17 AM
Hi,
you could try this coding:
* write ' four times in a row => outputs '
write '''' to l_ft_sym.
Afterwards, l_ft_sym should contain the ' character.
Kind Regards
Thomas Langen
‎2008 Mar 27 8:17 AM
Hi,
you could try this coding:
* write ' four times in a row => outputs '
write '''' to l_ft_sym.
Afterwards, l_ft_sym should contain the ' character.
Kind Regards
Thomas Langen