ARTICLE
Screens, Input Help of the ABAP Dictionary
The example shows how to use the input help of the ABAP Dictionary.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. The input fields
have been assigned the components of the structure
DEMOF4HELP from the ABAP
Dictionary. The function code of the pushbutton is CANCEL with
the function type E . When choosing the F4
help for the individual fields, the user gets the following types of
input help:
The fields Date and Time refer to the components DATE_FIELD
and TIME_FIELD of the structure in the Dictionary. The data
type is either DATS or TIMS . Consequently, the input help
displayed here is either a calendar or a clock, both set to the current
values by default.
The field Numbers refers to the component NUM_FIELD of the
structure in the Dictionary. This component is based on the domain
S_NUMBERS to which ten fixed values are assigned. These are
displayed as the input help.
The first field Airline refers to the component CARRIER1
of the structure in the Dictionary. This component is based on the data
element DEMOF4DE to which the
search help DEMO_F4_DE with the search help parameter CARRID
is assigned. The columns CARRID and CARRNAME of the
database table SCARR are read into
the search help. Only SCARRNAME is listed but CARRID is
marked as an export parameter.
The second field Airline refers to the component CARRIER2
of the structure in the Dictionary. This component is assigned the check
table SCARR . The check table SCARR in turn is assigned the
search help H_SCARR , which can display and export both columns
CARRID and CARRNAME .
The field Connection Number refers to the component CONNID
of the structure in the Dictionary. This component is assigned the
search help DEMO_F4_FIELD . The search help has two parameters,
CARRID and CONNID , which are assigned to the components
CARRIER2 and CONNID of the structure. The search help
imports CARRIER , reads the associated data from the database
table SPFLI , displays CARRIER
and CONNID , and exports CONNID .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved