Skip to content

Files

Latest commit

32b8bba · Nov 16, 2020

History

History
36 lines (23 loc) · 1.23 KB

method-output-parameter.md

File metadata and controls

36 lines (23 loc) · 1.23 KB

code pal for ABAP

code pal for ABAP > Documentation > Combination of Output Parameters Check

Combination of Output Parameters Check

What is the Intent of the Check?

The "Combination of Output Parameters" check searches for methods where a combination of EXPORTING, CHANGING and/or RETURNING parameters is used.

Which attributes can be maintained?

Attributes

How to solve the issue?

Use just one sort of output type per method.

What to do in case of exception?

You can suppress Code Inspector findings generated by this check using the pseudo comment "#EC PARAMETER_OUT.
The pseudo comment must be placed right after the method definition header.

CLASS class_name DEFINITION.
  PUBLIC SECTION.
    METHOD method_name
      EXPORTING param1 TYPE c
      CHANGING param2  TYPE c
      RETURNING VALUE(result) TYPE c. "#EC PARAMETER_OUT
ENDCLASS.

Further Readings & Knowledge