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

.

NameTypeData TypeDescriptionDefault Value
IS_ANOTPImportingTYPE
/SCMB/ANOTP_STR
Alert Notification Profile
IV_ANSELImportingTYPE
/SCMB/ANSEL
Name of Selection for Alert Notification
IV_ANSELIDImportingTYPE
/SCMB/ANSELID
Alert Notification: Selection ID
IV_APPLIDImportingTYPE
/SCMB/APPLID
Alert Notification: Application
IV_CREUNAMEImportingTYPE
/SCMB/CREUNAME
User Responsible for Creation
IV_LANGUImportingTYPE
/SCMB/ANOT_LANGU
Alert Notification: Language
IV_MAXAGEImportingTYPE
/SCMB/ANMAXAGE
Maximum Age for Alerts that are to be Sent
IV_MINAGEImportingTYPE
/SCMB/ANMINAGE
Minimum Age for Alerts that are to be Transmitted
IV_MINPRIOImportingTYPE
/SCMB/ANMINPRIO
Minimum Priority of an Alert for Alert Notification
IV_PRTIDImportingTYPE
/SCMB/PRTID
Name of Partner Receiving Notification
IV_UNAMEImportingTYPE
XUBNAME
User Name in User Master Record
IV_UNCONFIRMEDONLYImportingTYPE
/SCMB/ANCONF
Alert-Notification: Send Unacknowledged Alerts Only
ET_ALERTExportingTYPE
/SCMB/ANALERT_TAB
Alert Notification: Table of Alerts
ET_ATID_DONEExportingTYPE
/SCMB/ALATID_RTAB
Alert Type ID Range Table



Exceptions of Method READ_NOTIFICATION_ALERTS_SOH

ET_ALERTExportingTYPE
/SCMB/ANALERT_TABAlert Notification: Table of AlertsET_ATID_DONEExportingTYPE
/SCMB/ALATID_RTABAlert Type ID Range TableUSER_UNKNOWN - User Does not Exist in Application

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



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!