09-30-2008 9:54 AM
HI Experts,
I got extended syntax error while doing syntax check.
which says..
'Dangerous use of TRANSLATE in multilingual system'...
actually for one field from EKKO table i am converting into upper case with TRANSLATE command.
so how can i solve this ..
Thanks in Advance,
Venkat
09-30-2008 10:01 AM
Hi,
Use Translate statement like this....
data: lang type tcp0c-langu,
cntry type tcp0c-country,
mod type tcp0c-modifier.
get locale language lang country cntry modifier mod.
set locale language lang.
translate <value> to upper case.
OR
If you want to hide the error means
"#EC TRANSLANG put this statement end of your translate statment.
Hope it will helps
09-30-2008 10:01 AM
Hi..,
This bacuase language dependancy failure..,
Make use of this syntax to avois that error.
SET LOCALE LANGUAGE lang [COUNTRY cntry] [MODIFIER mod]
.
Thanks,
Naveen.I
09-30-2008 10:33 AM