name

The name option for inputfields defines the variable name for the inputfield.

The name option defines a variable by which teh field can be referenced. The syntax is as follows:

{"name":"field_variable_name"}
Note: The name is not the on-screen label, but rather the internal variable name of the field.

Examples

To demonstrate the name option, please do the following:

  1. Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code. Create the script file if it does not already exist.

    inputfield([4,5], "Inputfield Test", [4,20], {"name":"inpfld_1");
  2. You can now refer to the field by means of the variable name.