code pal for ABAP > Documentation > Omit Optional EXPORTING
The “Omit Optional EXPORTING” check is part of the Clean Code Check Repository.
The optional EXPORTING parameter makes the class method call needlessly longer.
This check searches for the usage of the optional keyword EXPORTING in the class method calls.
Omit the optional keyword EXPORTING.
You can suppress Code Inspector findings generated by this check using the pseudo comment "#EC OPTL_EXP
.
The pseudo comment must be placed right at the end of the statement.
class->meth1( EXPORTING param1 = 'example' ). "#EC OPTL_EXP