code pal for ABAP > Documentation > Chain Declaration Usage
The "Chain Declaration Usage" check verifies the usage of the chain up-front declarations.
Change the chain up-front declarations to inline declarations.
You can suppress Code Inspector findings generated by this check using the pseudo comment "#EC CHAIN_DECL_USAG
.
The pseudo comment has to be placed after the DATA:
statement.
DATA: "#EC CHAIN_DECL_USAG
string TYPE string,
json TYPE REF TO cl_abap_json,
client LIKE sy-mandt.
Before the check:
DATA:
string TYPE string,
json TYPE REF TO cl_abap_json,
client LIKE sy-mandt.
After the check:
DATA string TYPE string.
DATA json TYPE REF TO cl_abap_json.
DATA client LIKE sy-mandt.