You are on page 1of 2

BAdI: Determination of Alert Manager Class

Use
This Business Add-In (BAdI) is used in the Alert Monitor (SCM-ICH-AMO) component. This BAdI enables you to
use the data retrieval sequence starting with reading alert data for customer-defined alerts that have customerdefined key pairs. It also enables you to override the standard logic for retrieving standard alerts when using the
data retrieval sequence starting with reading alert data.
The BAdI uses the DETERMINE_CLASS method to return a class name based on the alert type and the names
of the key parameters. This class must implement the /SCF/IF_ALKEY_MANAGEMENT interface. This
interface has three methods which work as follows:
1. /SCF/IF_ALKEY_MANAGEMENT~EXTRACT_MD_FROM_ALERT
Extracts master data from a single alert and stores the retrieved data for later processing
2. /SCF/IF_ALKEY_MANAGEMENT~CONVERT_KEY_MD
Based on the data stored by the previous method, returns a table containing the following values:

Location from

Location to

Material

3. /SCF/IF_ALKEY_MANAGEMENT~FILTER_ALERT_BY_MD
Filters alerts based on the master data pre-filtered by the visibility rules in place.
Requirements
The system calls the BAdI during the queries on the Alert Monitor screen if the following two prerequisites are
met:

You have activated the SAP-delivered and custom alert types that you want to use. For more
information, see Customizing for Supply Network Collaboration under Exceptions -> Alert Type
Activation -> Activate Alert Types.

You have enabled the data retrieval sequence starting with reading alert data. For more information,
see Customizing for Supply Network Collaboration under Exceptions -> Alert Monitor -> Define Data
Retrieval Sequence for Processing Alerts.

Standard settings
For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot
Element Definitions tab in the BAdI Builder (transaction SE18).
No default implementation is delivered in the standard system.
Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP
NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
The BAdI uses the /SCF/IF_AMON_ALKEY_MGMNT interface.
For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP
NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then
Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server
-> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development ->
Enhancement Framework.

You might also like