Skip to content

Avoid Ambiguous Statements ​

WarningClean ABAP & Modern Syntax#EC NO_AMBIGUOUS_STMTRemote Enabled

Overview ​

Avoid ambiguous statements between itab and database.

ATC Finding Message: Ambiguous statement; use explicit syntax (TABLE keyword or @ for SQL variables)

Rationale ​

ABAP allows ambiguous syntax for MODIFY and DELETE between internal tables and database tables. Use TABLE keyword or @ host escape to clarify intent.

Non-Compliant ​

abap
MODIFY lt_data FROM ls_row.

Compliant ​

abap
MODIFY TABLE lt_data FROM ls_row.

Suppression ​

To suppress findings for this rule, append the pseudo-comment to the statement:

abap
" Standard pseudo-comment:
... "#EC NO_AMBIGUOUS_STMT

" SAP CI_ prefix format:
... "#EC CI_NO_AMBIGUOUS_STMT

Technical Details ​

Released under the MIT License.