code pal for ABAP > Documentation > Deprecated Key Word Check
This check points out old syntax which should be replaced with newer notations instead.
This check searches for deprecated key words like: MOVE
and TRANSLATE
and suggests its replacement to news notations/functions.
" MOVE 'A' TO variable.
DATA(variable) = 'A'.
" TRANSLATE lowercase TO UPPER CASE.
DATA(uppercase) = to_upper( lowercase ).
REMARK: The check will be continuously enhanced with other deprecated ABAP Keywords.
Use the newer notations instead.
In exceptional cases, you can suppress this finding by using the pseudo comment "#EC DEPRECATED_KEY
which should placed right after the statement:
MOVE …. "#EC DEPRECATED_KEY
TRANSLATE …. "#EC DEPRECATED_KEY