You can assign characteristic PPPI_OPTIONAL_PARAMETER to parameters in dynamic function calls and input validations. As a result the parameter is not passed on to the function module unless a value has been assigned to it. The function module can be executed although the parameter value is missing.
Caution
Note the following:
You may use characteristic PPPI_OPTIONAL_PARAMETER for optional parameters only. All required parameters must be specified in the process instructions and values must be assigned.
If you want to call the function module even if no value has been assigned to a parameter, add characteristic PPPI_OPTIONAL_PARAMETER directly after the variable or constant for the parameter of the function module.
You assign the following characteristics in the process instruction in the sequence specified below:
Characteristic |
Meaning |
Allowed Values |
<Parameter characteristic> |
Parameter of the function module |
Optional import or changing parameter of the function module |
Characteristic for the variable/constant that has the same data type as the parameter |
Variable for the parameter value |
New variable or constant |
PPPI_OPTIONAL_PARAMETER |
Optional parameter transfer |
Optional parameter transfer |