Ads tool tips and icons to an inputfield.
You can add a tool tip to an inputfield and also define an icon for the tool tip. The syntax is as follows:
inputfield([startRow, startCol], "@iconID\\tooltip text@Label", [endRow, endCol], {"option":value…});
To demonstrate the invisible option, please do the following:
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], "@G9\\QA tooltip and icon test@Inputfield Test", [4,20], {"name":"inpfld_1","size":14});
Save the changes and refresh the SAP screen. The icon will display immediately to the left of the inputfield label.
Hover your mouse over the new inputfield.
The tooltip will display as shown in the following example:
