Ansicht
Dokumentation
ABENDYNPRO_PUSH_BUTTON_ABEXA - DYNPRO PUSH BUTTON ABEXA
General Data in Customer Master SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
- Pushbuttons
This example demonstrates how pushbuttons on dynpros can be processed.
Source Code
Description
The static next dynpro number of dynpro 100 is 100. The screen field of output is defined as not ready for input in the Screen Painter. When the user chooses a pushbutton, the PAI event is raised. The function code of the pushbutton is assigned to the dynpro field ok_code, which is then assigned to the identically named ABAP field. The module user_command_0100 is then processed. First, the content of the ok_code field is copied to the auxiliary variable save_ok code, and ok_code is initialized. This procedure is always recommended since it makes sure that the dynpro field ok_code is also reinitialized in the PBO event and does not contain any unwanted values. Next, in the CASE structure, a text symbol is assigned to the output field according to the button that the user chose. This is displayed in the output field on the dynpro. If the user chooses Cancel, the program is exited.
BAL_S_LOG - Application Log: Log header data General Material Data
This documentation is copyright by SAP AG.
Length: 1281 Date: 20240504 Time: 014035 sap01-206 ( 65 ms )