Type 0: Definition of Export Parameters 

Use

Note that by export parameter we mean the export parameters of the PI sheet or cockpit (PPPI_EXPORT_PARAMETER), which are the values that are transferred from the PI sheet or cockpit to the function module. From the function module's point of view, they are import parameters.

You define export parameters (import parameters of the function module) in dynamic function calls and input validations that are carried out using a check function.

Prerequisites

If you want to pass on the value of a variable to the function module, the variable must be defined in the same PI sheet or in the same cockpit. For PI sheets, the variable may also have been defined for the entire process order.

For more information on how to use system variables and variables in general, see:

Activities

When defining export parameters, you specify the following information in the process instruction:

Notes on Parameter Value Assignment

To enter this information, you assign the following characteristics to the process instruction in the order specified below:

Characteristic

Meaning

Allowed Values

PPPI_EXPORT_PARAMETER

Export parameters

Import parameters of the function module

 

< PPPI_STRING_CONSTANT or
< PPPI_FLOAT_CONSTANT or
< PPPI_DATE_CONSTANT or
< PPPI_TIME_CONSTANT or

< PPPI_STRING_VARIABLE or
< PPPI_FLOAT_VARIABLE or
< PPPI_DATE_VARIABLE or
< PPPI_TIME_VARIABLE or


< <Message characteristic>

Value transfer in constant:

< Alphanumerical value
< Floating point number
< Date
< Time

Value transfer in variable:
< Alphanumerical value
< Floating point number
< Date
< Time

For value assignment using message characteristic:
< Message characteristic

Any fixed value of data type:

< Alphanumerical value
< Floating point number
< Date
< Time

Existing variable of data type:
< Alphanumerical value
< Floating point number
< Date
< Time


< Any message characteristic

PPPI_OPTIONAL_PARAMETER

Optional parameter transfer

< Parameter transfer not optional
< Parameter transfer optional