‎2009 Mar 31 12:18 PM
We are doing Unicode upgrade from 4.7 to ECC.
DATA: letters(20) TYPE C VALUE 'abcabcabcXab',
change(2) TYPE X VALUE '7F20'.
TRANSLATE letters USING change.
WRITE letters.
It gives Unicode error in TRANSLATE statement.
saying 'change' should be of type 'c'.
Please let me know, how this translate statement would have performed in 4.7 version.
Would it have changed any value or not.(The value specified in variable 'letters' is an example)
‎2009 Mar 31 12:26 PM
thing is in ecc u cannot use function on type x values directly ..
in ur case
use fm HR_RU_CONVERT_HEX_TO_STRING and convert the type X to Type c and then use translate statement .
Use this Fm frequently especially in UCC fix of upgrade proj .
br,
Vijay.
‎2009 Mar 31 12:26 PM
thing is in ecc u cannot use function on type x values directly ..
in ur case
use fm HR_RU_CONVERT_HEX_TO_STRING and convert the type X to Type c and then use translate statement .
Use this Fm frequently especially in UCC fix of upgrade proj .
br,
Vijay.