1.PROCESS
BEFORE OUTPUT
. Process before output
2.PROCESS AFTER INPUT.
Process after user input
3.PROCESS
ON HELP-REQUEST. User-programmed F1 help
4.PROCESS ON VALUE-REQUEST. User-programmer F4 help
PROCESS BEFORE OUTPUT.
Processing before the screen is displayed (PBO).
Initializing screen fields, inserting default values, positioning the cursor, showing and hiding fields and changing field attributes dynamically.
PROCESS AFTER INPUT.
Processing after user input.
Checking values where there is no automatic check, processing the cursor position, processing correct entries or triggering an error dialog.
PROCESS ON HELP-REQUEST.
POH event for user-programmed help. Modules in this event
are processed when the user presses F1
with the cursor positioned on a screen field. In the subsequent FIELD
statements, you can specify a data element supplement (or determine one in an application module). The texts are then displayed by the help system.
FIELD XY
WITH '0001'.
Displays data element addition 0001 for
field XY.
FIELD
XY WITH
variable.
Displays the data element supplement with the number contained in variable
for the field XY.
FIELD
XY MODULE
XYZ WITH
variable
.
The relevant data element supplement is determined in module XYZ,
where it is placed in variable. Use this procedure whenever you cannot determine the
correct data element supplement until the F1 event.
PROCESS ON VALUE-REQUEST.
Event in user-programmed help that occurs when the user presses
F4 with the cursor positioned on a screen field.
The modules specified in the subsequent FIELD statements are called instead of the SAP help system.
FIELD XY
MODULE XYZ
Module XYZ determines the value of field XY and places it in the input field on the screen.
Screen Flow Logic