‎2007 Feb 13 1:11 PM
Hi i am getting an error 'Dangerous use of TRANSLATE in a multilingual system.' in my code line TRANSLATE itabc-Istext TO UPPER CASE. wot shud i do to remove this error?
‎2007 Feb 13 1:14 PM
It will give this error for TRNSALATE, if u can use any alternate try to use otherwise u cant remove this.
Whether itabc-Istext is character.
‎2007 Feb 13 1:14 PM
Use the FM AIPC_CONVERT_TO_UPPERCASE to convert to upper case instead of translate statement...
‎2007 Feb 13 1:16 PM
hi,
Try this way ..
v_lstext type lstext.
loop at itabc.
v_lstext = itabc-Istext.
TRANSLATE v_lstext TO UPPER CASE.
itabc-Istext = v_lstext .
clear v_lstext.
endloop.
‎2007 Feb 13 1:17 PM
you have to specify the local language before translating the text using TRANSLATE STATEMENT.
SET LOCALE LANGUAGE 'E'.
TRANSLATE text TO UPPER CASE.
thx
pavan