SAP NetWeaver AS ABAP Release 752, ©Copyright 2017 SAP AG. All rights reserved.
ABAP - Keyword Documentation → ABAP - Reference → SAP GUI User Dialogs → Dynpros → Statements in the Screen Flow Logic → FIELD →Handling of Messages from the PAI Event
If the statement FIELD in the event block for PAI is associated with a MODULE statement, the statement controls the handling of warnings and error messages, which are sent in the called module using the statement MESSAGE.
Handling Outside a Processing Chain
If FIELD is specified outside a processing chain introduced using CHAIN, and if a warning or an error message is sent in the dialog module specified after MODULE, PAI processing is interrupted and the screen is displayed again without raising the event PBO. The input field belonging to dynp_field is the only field ready for input on the current screen and can be overwritten by the user . If the value in the input field is changed by the user, PAI processing is continued after an user action with the first FIELD statement or CHAIN statement associated with the dynpro field dynp_field. If the value in the input field is not changed by the user, PAI processing is continued again with the current FIELD statement. Previous statements of the PAI event block are not processed again.
Handling Within a Processing Chain
If FIELD is specified within a processing chain, introduced by CHAIN, and if a warning or an error message was sent within a module called within the processing chain, PAI processing is interrupted and the screen displayed again without raising the event PBO. All input fields of the dynpro fields are ready for input that are specified within the processing chain after FIELD statements. If the value of at least one of these input fields is changed by the user, PAI processing continues after an user action at the first FIELD or CHAIN statement that associated with one of the changed dynpro fields. If none of the input fields is changed by the user, the PAI processing continues again directly at the CHAIN statement of the current processing chain. Previous statements of the PAI event block are not processed again.
Notes