Localvaluehelp with coordinates

Assigning localvaluehelp to SAP fields using field coordinates.

In addition to useing domain names, you can also assign localvaluehelp to inputfields using the fields' coordinates. the syntax is as follows:

localvaluehelp("#[row, column]", {domain:"domain"});

This method is useful at times when the name of the field is not accessible. To assign localvaluehelp using coordinates, please do the following:

  1. In SAP, go to the VA01 screen and find the coordinates of the Order Type inputfield. For this exercise, we will assume that the field is located at the following coordinates:

    • Row: 3
    • Column: 22
  2. Open the VA01 script file and add the following code:

    localvaluehelp("#[3,22]", {domain:"MATR"});
  3. Right-click on the field to see the specified localvaluehelp.