SHOW_ALERTS SAP Method Display Alerts (G = Grid, D = Dialog Box)









Below is documentation, parameters and attributes of ABAP Method SHOW_ALERTS within SAP class /SAPAPO/AMOAPPLIF. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SAPAPO/AMOAPPLIF into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method SHOW_ALERTS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SHOW_ALERTS

.

NameTypeData TypeDescriptionDefault Value
DISPLAY_VARIANTImportingTYPE
/SAPAPO/AMODISPLAY_VARIANT
Layout
DOCKING_MODEImportingTYPE
CHAR01
Docking Mode
DYNNRImportingTYPE
SYDYNNR
Screen from which Alert Monitor is Called
EXTENSIONImportingTYPE
I
Size of Docking Control
FULLSCREEN_MODEImportingTYPE
CHAR01
Fullscreen Mode
NO_TITLEImportingTYPE
XFELD
Suppression of Table Title
NO_TOOLBARImportingTYPE
XFELD
Suppression of Toolbar in ALV Grid
PARENTImportingTYPE REF TO
CL_GUI_CONTAINER
Parent Container
PRESELECT_ALLImportingTYPE
XFELD
Display All Alerts Immediately
REPIDImportingTYPE
SYREPID
Report from which Alert Monitor is called
SELFDEFINED_DCImportingTYPE
XFELD
Self-Defined Event Handler for Double-Click Event
SIDEImportingTYPE
I
Page (for Docking Mode Only)
T_ALERTSImportingTYPE
/SAPAPO/ALERT_TAB
Table of Alerts



Exceptions of Method SHOW_ALERTS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SAPAPO/AMOAPPLIF.
DATA: lv_DISPLAY_VARIANT TYPE /SAPAPO/AMODISPLAY_VARIANT,
lv_DOCKING_MODE TYPE CHAR01,
lv_DYNNR TYPE SYDYNNR,
lv_EXTENSION TYPE I,
lv_FULLSCREEN_MODE TYPE CHAR01,
lv_NO_TITLE TYPE XFELD,
lv_NO_TOOLBAR TYPE XFELD,
lv_PARENT TYPE CL_GUI_CONTAINER,
lv_PRESELECT_ALL TYPE XFELD,
lv_REPID TYPE SYREPID,
lv_SELFDEFINED_DC TYPE XFELD,
lv_SIDE TYPE I,
lv_T_ALERTS TYPE /SAPAPO/ALERT_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>SHOW_ALERTS(
EXPORTING
DISPLAY_VARIANT = lv_DISPLAY_VARIANT
DOCKING_MODE = lv_DOCKING_MODE
DYNNR = lv_DYNNR
EXTENSION = lv_EXTENSION
FULLSCREEN_MODE = lv_FULLSCREEN_MODE
NO_TITLE = lv_NO_TITLE
NO_TOOLBAR = lv_NO_TOOLBAR
PARENT = lv_PARENT
PRESELECT_ALL = lv_PRESELECT_ALL
REPID = lv_REPID
SELFDEFINED_DC = lv_SELFDEFINED_DC
SIDE = lv_SIDE
T_ALERTS = lv_T_ALERTS ).

Links to Related Class(s)

/SAPAPO/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!