Ansicht
Dokumentation

ABENDYNPRO_STATUS_ICONS_ABEXA - DYNPRO STATUS ICONS ABEXA

ABENDYNPRO_STATUS_ICONS_ABEXA - DYNPRO STATUS ICONS ABEXA

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- Status Icons

This example illustrates how status icons are used on dynpros.

Source Code

Execute

Description

The static next dynpro number of dynpro 100 is 100. A status field called status_icon is created with a visible length of 16 and a defined length of 26. The status icon and the space for the text are represented by placeholders in the Screen Painter. The dynpro flow logic is as follows:

PROCESS BEFORE OUTPUT.
  MODULE set_icon.
PROCESS AFTER INPUT.
  MODULE cancel AT EXIT-COMMAND.
  MODULE change.

Depending on the local value field in the program, the dialog module set_icon passes different values to the function module ICON_CREATE. The status field status_icon is filled with the content of the export parameter result of the function module. This displays the corresponding icon including the text and tooltip on the screen. When the user chooses Continue, the content of the field value are changed in the PAI, and consequently a new icon is defined in the PBO event.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1367 Date: 20240425 Time: 100327     sap01-206 ( 32 ms )