Get Example source ABAP code based on a different SAP table
ABAP_DYNPRO - Status Icons This example illustrates how status icons are used on dynpros.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_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.