code pal for ABAP > Documentation > Deprecated Key Word Check
This check searches for obsolete syntax elements which should be replaced with newer syntax elements instead.
This check searches for the statements starting with the following keywords:
MOVE
TRANSLATE
Replace MOVE
by a normal assignment statement using =
and TRANSLATE
by an equivalent functional expression using [string functions}(https://help.sap.com/doc/abapdocu_755_index_htm/7.55/en-US/abenprocess_functions.htm).
In exceptional cases, you can suppress this finding by using the pseudo comment "#EC DEPRECATED_KEY
which should be placed right after the statement:
MOVE …. "#EC DEPRECATED_KEY
TRANSLATE …. "#EC DEPRECATED_KEY
Before the check:
MOVE 'A' TO variable.
TRANSLATE lowercase TO UPPER CASE.
After the check:
DATA(variable) = 'A'.
DATA(uppercase) = to_upper( lowercase ).