Check sy-subrc

 home  single file  edit

check_subrc

Pragma: ##SUBRC_OK
Pseudo comment: EC CI_SUBRC

Description

Check sy-subrc

Extended Information

Pseudo comment "#EC CI_SUBRC can be added to suppress findings

If sy-dbcnt is checked after database statements, it is considered okay.

"SELECT SINGLE @abap_true FROM " is considered as an existence check, also "SELECT COUNT( * )" is considered okay

If IS ASSIGNED is checked after assigning, it is considered okay.

FIND statement with MATCH COUNT is considered okay if subrc is not checked

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions