With localvaluehelp(), the users can dynamically access local value help on entry fields. Localvaluehelp is supported on SAP standard fields, your own inputfields, and table columns. When you perform right-click on the field, you can invoke a popup with possible inputsets. This command will function both on Liquid UI and native SAP fields.
- screen_element - Element code and name.
To enable localvalue help, the following entries must be entered in the guixt.sjs configuration file:
historyonrightbutton = true; domains = "directory"
You can also store your localvaluehelp in domain files along with your script files in the SAP Web Repository (SAPWR). When you use SAPWR to store your localvaluehelp files, the 'directory' and 'domains' entries in your guixt.sjs file will appear very similar to the following example.
directory1 = "SAPWR:Z_GUIXT1"; historyonrightbutton = true; domains = "SAPWR:Z_GUIXT1";
In guixt.sjs file, you can specify history visible for only Liquid UI fields, not for native SAP fields.
historyononlyguixt = true;
If the 'historyononlyguixt' entry is not present, both native SAP fields and Liquid UI created fields will have history enabled as long as the 'historyonrightbutton' parameter is present.
The 'historyonrightbutton' parameter enables the domain list box to display when the user right click. The 'domains' parameter specifies what history will be searched. The history will show all previously entered values, if an inputfield is not provided with a domain file. The directory path can be any of the following formats:
- Local directories
To access localvaluehelp from a file present in a directory on your local machine:
- Network shares
To access localvaluehelp from a file present in a shared directory on the network:
- Web shares
To access localvaluehelp from a file from a shared directory on the web:
- SAP Web Repositories
To access localvaluehelp from a file from the SAP Web Repository (SAPWR):
You can use the following options with the localvaluehelp:
"domain":"domain_name" - Specifies the domain from which the localvaluehelp will be called.
In addition to the above option, there is a procedure that is associated with localvaluehelp:
The following example will demonstrate the usage of localvaluehelp on a Liquid UI inputfield.
Tips and Tricks
The localvalue help command can be used only on inputfields.
Learn more about Domains Localvaluehelp using inputfield.