ARTICLE
Screens, Input Help in Dialog Modules
The example shows how to implement input help in dialog modules.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. The input fields
have been taken from the program fields carrier and
connection . The function code of the pushbutton is CANCEL
with the function type E . The screen flow logic is as follows:
PROCESS BEFORE OUTPUT.
MODULE init.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
PROCESS ON VALUE-REQUEST.
FIELD carrier MODULE value_carrier.
FIELD connection MODULE value_connection.
When choosing the F4 help for the individual fields, the user
receives the following types of input help:
For the airline, the module value_carrier is called at POV
. There the function module F4IF_FIELD_VALUE_REQUEST displays
the input help of the component CARRIER1 of the structure
DEMOF4HELP from the ABAP
Dictionary, that is, the search help DEMOF4DE . The item selected
by the user is copied to the screen field carrier .
For the connection, the module value_connection is called at
POV . There the function module DYNP_VALUE_READ transfers
the value of the screen field carrier to the program. SELECT
then reads the matching values from the database table
SPFLI to internal table
values_tab and passes them to the function module
F4IF_INT_TABLE_VALUE_REQUEST . The
function module displays these values as an input help and copies the
item selected by the user to the screen field connection .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved