READ_NOTIFICATION_ALERTS_SOH SAP Method Read notification alerts using the new SNC alerts
Below is documentation, parameters and attributes of ABAP Method READ_NOTIFICATION_ALERTS_SOH within SAP class /SCMB/IF_EX_SOH_ALERT. 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 /SCMB/IF_EX_SOH_ALERT 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 READ_NOTIFICATION_ALERTS_SOH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_NOTIFICATION_ALERTS_SOH
.| Name | Type | Data Type | Description | Default Value |
| IS_ANOTP | Importing | TYPE /SCMB/ANOTP_STR | Alert Notification Profile | |
| IV_ANSEL | Importing | TYPE /SCMB/ANSEL | Name of Selection for Alert Notification | |
| IV_ANSELID | Importing | TYPE /SCMB/ANSELID | Alert Notification: Selection ID | |
| IV_APPLID | Importing | TYPE /SCMB/APPLID | Alert Notification: Application | |
| IV_CREUNAME | Importing | TYPE /SCMB/CREUNAME | User Responsible for Creation | |
| IV_LANGU | Importing | TYPE /SCMB/ANOT_LANGU | Alert Notification: Language | |
| IV_MAXAGE | Importing | TYPE /SCMB/ANMAXAGE | Maximum Age for Alerts that are to be Sent | |
| IV_MINAGE | Importing | TYPE /SCMB/ANMINAGE | Minimum Age for Alerts that are to be Transmitted | |
| IV_MINPRIO | Importing | TYPE /SCMB/ANMINPRIO | Minimum Priority of an Alert for Alert Notification | |
| IV_PRTID | Importing | TYPE /SCMB/PRTID | Name of Partner Receiving Notification | |
| IV_UNAME | Importing | TYPE XUBNAME | User Name in User Master Record | |
| IV_UNCONFIRMEDONLY | Importing | TYPE /SCMB/ANCONF | Alert-Notification: Send Unacknowledged Alerts Only | |
| ET_ALERT | Exporting | TYPE /SCMB/ANALERT_TAB | Alert Notification: Table of Alerts | |
| ET_ATID_DONE | Exporting | TYPE /SCMB/ALATID_RTAB | Alert Type ID Range Table |
Exceptions of Method READ_NOTIFICATION_ALERTS_SOH
/SCMB/ANALERT_TAB
/SCMB/ALATID_RTAB
Example ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_EX_SOH_ALERT.
DATA: lv_ET_ALERT TYPE /SCMB/ANALERT_TAB,
lv_ET_ATID_DONE TYPE /SCMB/ALATID_RTAB,
lv_IS_ANOTP TYPE /SCMB/ANOTP_STR,
lv_IV_ANSEL TYPE /SCMB/ANSEL,
lv_IV_ANSELID TYPE /SCMB/ANSELID,
lv_IV_APPLID TYPE /SCMB/APPLID,
lv_IV_CREUNAME TYPE /SCMB/CREUNAME,
lv_IV_LANGU TYPE /SCMB/ANOT_LANGU,
lv_IV_MAXAGE TYPE /SCMB/ANMAXAGE,
lv_IV_MINAGE TYPE /SCMB/ANMINAGE,
lv_IV_MINPRIO TYPE /SCMB/ANMINPRIO,
lv_IV_PRTID TYPE /SCMB/PRTID,
lv_IV_UNAME TYPE XUBNAME,
lv_IV_UNCONFIRMEDONLY TYPE /SCMB/ANCONF,
lv_other TYPE c.
CALL METHOD lo_class=>READ_NOTIFICATION_ALERTS_SOH(
EXPORTING
IS_ANOTP = lv_IS_ANOTP
IV_ANSEL = lv_IV_ANSEL
IV_ANSELID = lv_IV_ANSELID
IV_APPLID = lv_IV_APPLID
IV_CREUNAME = lv_IV_CREUNAME
IV_LANGU = lv_IV_LANGU
IV_MAXAGE = lv_IV_MAXAGE
IV_MINAGE = lv_IV_MINAGE
IV_MINPRIO = lv_IV_MINPRIO
IV_PRTID = lv_IV_PRTID
IV_UNAME = lv_IV_UNAME
IV_UNCONFIRMEDONLY = lv_IV_UNCONFIRMEDONLY
IMPORTING
ET_ALERT = lv_ET_ALERT
ET_ATID_DONE = lv_ET_ATID_DONE ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects