Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  General Dynpros →  Statements in the Dynpro Flow Logic 

PROCESS

Other versions: 7.31 | 7.40 | 7.54

Syntax


PROCESS { {BEFORE OUTPUT} 
        | {AFTER INPUT}
        | {ON HELP-REQUEST}
        | {ON VALUE-REQUEST} }.

Alternatives

1. ... BEFORE OUTPUT.

2. ... AFTER INPUT.

3. ... ON HELP-REQUEST.

4. ... ON VALUE-REQUEST.

Effect

The keyword PROCESS defines the processing blocks of the dynpro flow logic. The associated events are raised by the ABAP runtime environment when a dynpro is processed:

At least one PROCESS BEFORE OUTPUT statement must exist in the dynpro flow logic. In addition, PROCESS BEFORE OUTPUT must not be positioned after the statement PROCESS AFTER INPUT. If PROCESS ON HELP-REQUEST or PROCESS ON VALUE-REQUEST are specified, PROCESS AFTER INPUT must have been specified before. Other processing blocks besides the four starting with PROCESS are not allowed in the dynpro flow logic.

Alternative 1

... BEFORE OUTPUT.

Effect

The event PROCESS BEFORE OUTPUT (PBO) is raised by the runtime environment before the screen of a dynpro is sent to SAP GUI. After processing the related event block, the contents of the global fields of the ABAP program are transported into dynpro fields of the same name and then the screen is displayed in the GUI window.

Alternative 2

... AFTER INPUT.

Effect

The event PROCESS AFTER INPUT (PAI) is raised by a user action on the user interface, which is associated with a function code. At PAI or during the processing of the relevant event block, the contents of the dynpro fields are transported to the data objects with the same names in the corresponding ABAP program. Before executing the relevant event block, automatic input checks are executed, which are defined either in the system or in ABAP Dictionary. While the event block and the PBO event block of the next dynpro are processed, the screen of the current dynpro remains in the display, but the user interface is inactive. After the PAI processing is finished, the event PBO of the next dynpro is raised or, if the current dynpro is the last one in its dynpro sequence, the execution returns to the position from which the dynpro sequence was called.


Note

The processing of the event blocks for PAI of the current and PBO of the next dynpro together form a dialog step.

Alternative 3

... ON HELP-REQUEST.

Alternative 4

... ON VALUE-REQUEST.

Effect

The events PROCESS ON HELP-REQUEST (POH) and PROCESS ON VALUE-REQUEST (POV) are raised by the request for the field help (F1) or the input help (F4) for a screen element of the screen. In the relevant event block, the statement MODULE is executed, which is associated with the FIELD statement for the dynpro field of the selected screen element. If multiple FIELD statements exist for the same dynpro field, only the first is executed. The content of the field specified under FIELD is not automatically passed to the called module in the event block at POH or POV. After the POH or POV is processed, the system returns to the processing of the displayed screen in SAP GUI without raising the event PBO.


Note

If specified, the event blocks at POH and POV overrule the field helps and input helps defined in the system or in ABAP Dictionary. They must be specified only if the predefined helps are not sufficient.