LogiView

Function 'field_name'

     

This function returns the name of the current field.

'Field_name' can only be used for the current field and is therefore only useful within decision tables / procedures that are called as pre- or post-field userexits.
 

Syntax:

  {STR_VAR}= field_name ()
 

I/O parameters:

-  
-  
 

Return value:

 
{STR_VAR} field name
 

Example:

  Declaration of Variables
 
10 put (strprint("Invalid user input in field %s", field_name()))

Functions and commands: Modification of Fields