LogiView

Userexit Call with Input/Output Parameters

  If the Userexit is to be provided with values (input parameters), and values - except the Return-Code - are to be returned to the decision table/procedure, only variables must be used as parameters.

Using a programming interface, the values of the individual parameters can be read and written within the called C function.

 

Syntax:

  {INT_VAR} = #{USX_NAME}() or
{INT_VAR} = #{USX_NAME}({VAR_LIST})
 

I/O parameters:

 

{USX_NAME}

Name of the userexit

{VAR_LIST}

List of variables of any type.

-

 

 

Return value:

 
{INT_VAR} Variable assigned with the Return-Code of the userexit.
 

Example:

  Declaration of Variables
  DOCU_INT_1 = #test_exit(LENGTH,NAME,DIA)
  Result:
  The return value of 'test_exit' is assigned to the integer variable "DOCU_INT_1".