2010 Jan 04 1:44 PM
Hi,
We are applaing support pack (18) patches.
while doing extended program check for z-programs it is show error for Translate statement as " Dangerous use of TRANSLATE in a multilingual system".
Could you please tell me how to fix this?
Thanks in advance,
2010 Jan 04 1:48 PM
use
>SET LOCALE LANGUAGE 'E'
before the translate..
then
>translate
and then
>SET LOCALE LANGUAGE ' '
clear it..
Hi,
We are applaing support pack (18) patches.
while doing extended program check for z-programs it is show error for Translate statement as " Dangerous use of TRANSLATE in a multilingual system".
Could you please tell me how to fix this?
Thanks in advance,
2010 Jan 04 1:47 PM
Hi,
The problem is mostly observed in Unicode systems.
To solve it the system should be able to determine the language it should consider for translation.
So use this below statement before your translate statement.
Set locale language sy-langu.
This will resolve the error in code inspector.
Thanks,
Jayaram
2010 Jan 04 1:48 PM
use
>SET LOCALE LANGUAGE 'E'
before the translate..
then
>translate
and then
>SET LOCALE LANGUAGE ' '
clear it..
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |