Finding a search help name

Here we demonstrate

  • how you can get the technical field name needed for the "techname" parameter

  • how you can get the search help name needed for the "searchhelp" parameter for cases where "techname" cannot be used (no data dictionary information about search help assigned)

:

As an example, we use transaction FB01, field "Account". Press F1 to display the field help.

 

Click on the "Technical information" icon.

The technical field name is shown in field "Screen field".

 

We now assume that techname="RF05A-NEWKO" does not display any search help for the InputField, since the SAP data dictionary does not contain a search help name for this field. In our example this is in fact the case, since the search help actually depends on the posting key (general ledger account, vendors,...).

First, click on Help->Settings-> F4

Select modal search help display

Now press F4 on the SAP field and display the standard search help list for this field.

In GuiXT, click on "Script" and enter the following small script:

Pushbutton (toolbar) "/H" "/H"

This allows us to invoke ABAP debugging mode in the search help display. Since the OK-command entry field is not available for popup screens, we have to use the script in order to enter "/H".

Redisplay the screen so that your new "/H" pushbutton is shown. Click on this button. You will get a system message "Debugging switched on". Press Enter.

In the ABAP debugger, click on "Calls".

Double-click the entry "F4IF_START_VALUE_REQUEST".

Click on the "Fields" button.

Enter the field name "SHLP" and double-click on it.

Now "SHLPNAME" contains the name of the search help. In this case,  it is "SAKO".

Use  this name as seachhelp parameter in the InputField statement.