LogiView

Function 'par'

     

This function provides a string with the standard parameters forwarded from DataView to Action Userexits. This does not change during the runtime of the LogiView procedure; even if a new widget is opened in LogiView or another data record is selected or edited.

When calling mask userexits which are forwarded a standard parameter ('lgv_edt_act', 'lgv_pre_act' and 'lgv_post_act'), this function returns a string with the forwarded parameter. This string is a combination of the work mode (see function mode()) and the current line (see function row() ).

This function is especially useful when a userexit is to be called from within a decision table or a procedure that must be forwarded the common DataView standard parameter.
 

Syntax:

  {STR_VAR}= par()
 

I/O parameters:

-  
-  
 

Return value:

 
{STR_VAR} Standard parameter
 

Example:

  Declaration of Variables
 
40 RES = @cch_nop_ins(par())
  Result:
 

The result of the userexits 'cch_nop_ins' is checked in the conditional part of a decision table (called with the userexit 'lgv_pre_act' as "Pre-Action-Trigger").

Functions and commands: Editing Masks