Configuring Scalar Output, Changing, and Table Parameters in the ABAP Program Flow
Configuring Scalar Output, Changing, and Table Parameters in the ABAP Program Flow
The SAP function stores the result of the calculations in the variables you assign to the scalar output parameters. If you assigned a variable to a scalar output, changing, or table parameter, you cannot assign the same variable to another function parameter, except for scalar input parameters. You configure the following fields for scalar output, changing, and table parameters:
Variable.
ABAP program variable that holds the value of the parameter.
SQ Port.
Select to create an output port in the Application Source Qualifier from the function parameter.
You can create output ports from table parameters only if the SAP function is the last object in the ABAP program flow. The Designer generates a loop to create output ports from table parameters in the ABAP program. An SAP function might have several table parameters. However, you can only create output ports from fields in the same table parameter.
If you choose to create output ports from a table parameter, but you later move the SAP function so that it is no longer the last object in the ABAP program flow, the Designer does not create output ports from the table parameter.