Attaching to Data Elements 

The search help is offered for all the table fields that refer to the data element. All the fields with the same meaning therefore have an identical input help.

When the search help is attached to a data element, an export parameter of the search help is assigned to the data element. The value of this export parameter can be returned in the corresponding screen field in the input help. It is not possible to support the return of several values when the search help is attached to a data element.

Table SPFLI (flight schedule) contains the field DISTID for the unit (kilometers, miles) of the flight distance specified in the field DISTANCE. The field DISTID refers to the data element S_DISTID. The elementary search help S_UNIT_DIST is assigned to this data element (search for distance units).

The search help S_UNIT_DIST is therefore available for the field DISTID when flight data is maintained in table SPFLI. The contents of export parameter MSEHI of the search help can be returned to the screen template from the hit list.

If the assigned parameter is also an import parameter of the search help, the contents of the search field are taken into consideration in the input help if they contain a pattern. Other import parameters of the search field cannot be taken into consideration when the search help is attached to a data element.

The attachment of the search help to the data element is part of the definition of the data element. You can find out how to attach a search help to a data element in Creating Data Elements.