Skip to content

Omit Redundant EXPORTING in Method Calls ​

WarningAnti-Patterns & Bad PracticesQuickFix Ready#EC NO_CALL_EXPORTINGRemote Enabled

Overview ​

Omit Redundant EXPORTING in Method Calls.

ATC Finding Message: Omit explicit EXPORTING keyword in method invocation

Rationale ​

In functional ABAP method calls, the EXPORTING keyword is redundant when no other clauses (such as IMPORTING, CHANGING, or EXCEPTIONS) are present. Removing EXPORTING reduces syntax noise and simplifies signature reading.

Non-Compliant ​

abap
lo_pricing->apply_discount( EXPORTING iv_percent = 10 ).

Compliant ​

abap
lo_pricing->apply_discount( iv_percent = 10 ).

Automated QuickFix ​

This rule provides an automated QuickFix directly in Eclipse ABAP Development Tools (ADT):

  1. Position the cursor on the flagged statement.
  2. Press Ctrl + 1 (Quick Assist).
  3. Select the automated refactoring to apply the clean syntax immediately.

Suppression ​

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

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

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

Technical Details ​

Released under the MIT License.