abapOpenChecks - Installation - Checks - Utilities - Links

CHECK_43 - Parameter name can be omitted

Improve this page
CODE

Only works for functional style method calls, probably does not work very well for nested and chained method calls.

Example:

lo_column = lo_columns->get_column( columnname = 'FOOBAR' ).

can be changed to

lo_column = lo_columns->get_column( 'FOOBAR' ).

https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#omit-the-parameter-name-in-single-parameter-calls

Configuration

Configuration