Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

d

Former Member
0 Kudos

Dear Experts,

If we press F4, from where the values will be retrieved?

Thanx in Advance.

3 REPLIES 3

Former Member
0 Kudos

It can be from a Search help or Match code (now replaced by search helps) or Custom Module Process on Value-Request .

A search help is a ABAP Dictionary object used to define possible values (F4) help (see Input Help in the ABAP Dictionary).

You can link a search help to a parameter as follows:

PARAMETERS p ... MATCHCODE OBJECT search_help

The search help search_help must be defined in the ABAP Dictionary. The system now automatically displays the input help button for the field on the screen and activates the F4 key for it. When the user requests input help, the hit list of the search help appears, and when he or she selects an entry, the corresponding export parameter is placed in the input field.

The predecessors of search helps in the ABAP Dictionary were called matchcode objects, hence the name of the addition, MATCHCODE OBJECT in the PARAMETERS statement. Existing matchcode objects are still supported.

You can define separate help within the logical database program using the VALUE-REQUEST option in the PARAMETERS and SELECT-OPTIONSstatements.

Hope this helps.

Vinodh Balakrishnan

Former Member
0 Kudos

Hi Frnd,

For example, in the selection screen matnr as input.

The if u press F4 there,

1. Domain of matnr has- Fixed values, then are immediately used as check values in screen entries.

There is also F4 help.

2. In contrast to fixed values, however, simply specifying a value table does not

cause the input to be checked. There is no F4 help either.

3. The ABAP Dictionary object search help is used to describe an input help.

_Overview:_

1.Input help from screen(Process on value-Request)

2.Search help for field

3.Check table help

4.Search help for data element

5. Fixed values

6. Calender or time help.

Former Member
0 Kudos

Hi

The input help (F4 help) is a standard function of the R/3 System. It permits the user to display a list of possible values for a screen field. A value can be directly copied to an input field by list selection.

The fields having an input help are shown in the R/3 System by the input help key to the right of the field. This key appears as soon as the cursor is positioned on the corresponding screen field. The help can be started either by clicking on this screen element or with function key F4.

If the number of possible entries for a field is very large, you can limit the set of displayed values by entering further restrictions.

Further meaningful information about the displayed values is included in the display of possible entries, especially if the field requires that a formal key be entered.

Search Help Interface

Search help interface determines how the exchange of values between the screen template and the selection method is implemented.

The search help interface defines the context data that can be used in the input help and the data that can be returned to the input mask. Analogously to the interface of a function module, the search help interface comprises interface parameters.

When you define an interface parameter of a search help, you must also define whether it should be used to copy data to the input help (IMPORT parameter) or whether it should be used to return data from the input help (EXPORT parameter). A parameter of a search help can also have both attributes at the same time.

The location from which the IMPORT parameters of a search help get their values and the screen fields in which the contents of the EXPORT parameters of the search help are returned are defined in the search help attachment. The search help itself should always be attached to an EXPORT parameter of the search help. If this parameter is also the IMPORT parameter, its contents are only used in the input help if it is a search string (that is, if it contains a ´*´ or a ´+´).

You must define the parameter types of a search help. You can do this by assigning them data elements.

NOTE:In the above example, screen fields A, B and C are linked with parameters of the search help. As a result, values can only be transported between the screen and the search help for these three fields. Existing contents of screen fields A and B can be used for selecting the hit list since they are linked with an import parameter of the search help. The values of parameters A and C can be returned to the screen from the hit list since these parameters are declared as export parameters of the search help.

Description of dialog behavior

A hit list might contain plentiful number of entries. A

dialog provides the user with an option to restrict the

entries displayed on the hit list.

In an input help process, the set of possible entries is presented in the dialog box as a list for displaying the hit list. The user selects the required value from this list by double clicking. Since the possible entries are often formal keys, you must be able to display further explanatory information about the possible entries in the list.

If the set of possible entries is very large, the user should be able to define additional conditions for the attributes of the selected entry. Restricting the set of data in this way both increases the clarity of the list and reduces the system load. Additional conditions can be entered in a further dialog window, the dialog box for restricting values.

Specifying the dialog type of a search help defines whether the dialog box for restricting values should be offered and if so under what conditions.

The attributes in the dialog box for displaying the hit list or in the dialog box for restricting values must be defined as internal parameters of the search help. An internal parameter can also be used in only one of the two dialog boxes. It can also belong to the search help interface.

The internal parameter types are also defined with data elements. These data elements define how the parameters are displayed in the two dialog boxes.