Localvaluehelp for GuiXT fields.
To add localvaluehelp to a GuiXT inputfield, please do the following:
Create a directory in your script folder entitled 'localvaluehelp'.
In the directory, create a file called 'Dom.E.MATR.txt'.
Inside the file, type the following:
T-BW03-05 //Material1 T-BW03-06 //Material2 T-BW03-07 //Material3 T-BW03-08 //Material4
Save your changes and close the file.
Add the following lines in the guixt.sjs file:
historyonrightbutton = true;
domains ="C:\\guixt\\localvaluehelp";
Open the VA01 script file and add the following code.
inputfield([4,1],"Material",[4,10],{"name":"z_material","size":20});
localvaluehelp("F[Material]",{"domain":"MATR"});
text([4,35],"This example will display material values for this edit field on right click.");
text([5,35],"Domain will be read from dom.Text.E.txt file");
Add the following code to the guixt.sjs file:
historyonrightbutton=true; domains = "\\\\company.com\\localvaluehelp";
Save your changes and refresh the SAP screen.
Right-click on the new field. The localvaluehelp will display as shown below:

Once the configurations are applied in the guixt.sjs file as described above, localvalue help can be invoked in a variety of ways. Methods include the following:
These methods will be demonstrated in the following examples: