If the userexit is to be forwarded values only (input parameters), but no values - except the Return-Code - are to be returned to the decision table/procedure, any expressions can be used as parameters.
The values of the expressions are forwarded to the C function as a complete string. |
||||||||||
![]() |
The standard userexits provided by DataView ('iwf_lis_ent', 'cch_chk_men'...) are generally assigned a string as a parameter only (some others do not even obtain an argument), and therefore they can be called from a decision table directly. |
|||||||||
![]() |
DataView Programming Interface Manual |
|||||||||
Syntax: |
||||||||||
{INT_VAR} = @{USX_NAME}() or {INT_VAR} = @{USX_NAME}({PAR_LIST}) |
||||||||||
I/O parameters: |
||||||||||
|
||||||||||
Return value: |
||||||||||
|
||||||||||
Example: |
||||||||||
Declaration of Variables | ||||||||||
Calling the standard userexit 'iwf_lis_ent' from the action part of a decision table: DOCU_INT_1 = @iwf_lis_ent("TOOL") |
||||||||||
Result: | ||||||||||
The widget of the entity "TOOL" is started - if possible. The return value 'iwf_lis_ent' is assigned to the integer variable "DOCU_INT_1". |