ARTICLE
Screens, Simple Module Call
The example shows how to call a module.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. Its layout is taken
from the fields of the structure
DEMO_CONN from the ABAP Dictionary. The screen flow logic is
as follows:
PROCESS BEFORE OUTPUT.
MODULE init_screen_100.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE clear_ok_code.
MODULE get_data.
MODULE user_command_0100.
In the GUI status STATUS_100 , the icon Cancel ( F12 )
has been activated with the function code CANCEL , and the
function keys F5 and Shift+F2 have been assigned the
function codes DISPLAY and CLEAR . The functions of the
program are similar to those in the example in
Processing Input and Output Fields
. In this case, however, the processing logic is distributed among
several dialog modules and a subroutine is used to read the data from
the database.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved