By using TRANSLATE key word, you can have in code inspector, or extended check issues/warnings, the error : “Dangerous use of translate in multilingual system”.
To avoid that :
* Set locale for given language (needed for upper-case translation)
SET LOCALE LANGUAGE sy-langu.
* Translate to upper-case
TRANSLATE TO UPPER CASE.