Implementing Input Help
Use
To implement field-specific input help, you need to find values that match certain selection criteria specified by the user.
The input help supported by the Internet Transaction Server (ITS) in Web transactions is similar to the input help in SAP system, because it is an HTML version of the input help available in SAP system. In both SAP system and HTML, the availability of input help for a particular field is evident from the presence of a pushbutton on the right of the field.
To implement input help for a field in a Web transaction, you must modify the HTML template to display a possible entries pushbutton next to that field. To do this, you can use the macro searchhelp.
|
Syntax |
Parameter |
Description |
|---|---|---|
|
searchhelp(~fieldname=expression) |
~fieldname |
Specifies the Screen Painter name of the screen field for which input help is requested. |
<FORM ACTION="~wgateUrl()" METHOD="POST">
`RMMG1-MATNR.label`
<INPUT TYPE="TEXT" NAME="RMMG1-MATNR" VALUE="`RMMG1-MATNR`">
`searchhelp(~fieldname="RMMG1-MATNR")`
</FORM>
This code looks like this in the Web browser:
The input help window looks like this:
System Template searchhelp.htm
To display input help values, the ITS uses a system template called searchhelp.html:
|
System Field |
Description |
|
~searchhelpfield |
Name of field for which input help is provided. |
|
~searchhelpdialogpagenumber[i] |
Number of elementary input help dialog. |
|
~searchhelpdialogpagetext[I] |
Name of elementary input help dialog. |
|
~searchhelpactivedialogpage |
Currently active elementary input help. |
|
~searchhelpcolumn[I] |
Result column field names. |
|
~searchhelpdialogitemtext[I] |
Description of an input help filter option. |
|
~searchhelpdialogitemid[i] |
Field ID of input help filter option. |
The system administrator can modify this template according to the usual rules for modifying system templates.
More Information
For further information about input help, see
-
Search Helps in the ABAP Dictionary documentation.