sapdev logo background
sapdev logo sapdev logo
Comments

SAP DYNPRO GUI STATUS ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Screens, GUI Status and Function Codes
The example shows how to set the GUI status and evaluate function codes.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. The screen field of output has been defined as not ready for input in the Screen Painter. The module init_screen_0100 sets the GUI status
status_0100 and the title 100 in the PBO event. All function codes are available as menu items but not all of them have been assigned to a function key. The function codes of the standard toolbar enable the icons and automatically assign them a function key. Some of the additional function keys are assigned to the application toolbar. The module user_command_0100 first assigns the contents of the field ok_code to the auxiliary variable save_ok and initializes ok_code . This procedure is always recommended since this makes sure that the screen field ok_code is also reinitialized in the PBO event and does not contain any unintended value. Then the function code chosen is assigned to the field output and displayed in the corresponding screen field, except for BACK , EXIT , and CANCEL . Cancel exits the program. The function code SELE can be passed to the ABAP program in one of the following ways, for example:
  • Choosing Choose in the Edit menu

  • Choosing the Choose pushbutton in the application toolbar

  • Choosing F2 on the keyboard

  • Pressing the right mouse-button and choosing Choose

  • Double-clicking the screen field of output

  • Entering SELE into the screen field and choosing ENTER

  • All other function codes based on their definition and without double-clicking the mouse.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    DYNPRO_GLOSRY
    DYNPRO_HOLD_DATA_ABEXA




    comments powered by Disqus