Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
SimonSch
Participant

Introduction

Like in normal storage types also exceptions for example "Destination bin is occupied" will raise up in automatic storage type. The goal is always to have an plan B to react to such situations so that the automated material handling equipment never stops. SAP offers out of the box functions to automatically solve those error situation as an sample determining a new destination bin.
But how does the leading team of the warehouse monitor the exception (Someone needs to check the blocked bin) ? 
In SAP, it is possible to generate an alert in case of an exception; I will show you how to send the alert  automatically by e-mail in the following blog. 

First of all we wanna have a look at the anoying manual way.

History of Exception Codes

A most common scenario is to monitor a log of the exceptions which were used.

SimonSch_0-1713445547139.png

To use it, you need to activate the history for each exception code. Afterwards you can manual monitor them inside the warehouse managment monitor.

SimonSch_1-1713445846567.png

However, you have to open the monitor actively. Not the best way- We wanna have an automatic email notification when an error occurs. Therefore we use the Alert object inside EWM.

 

Prerequisite

  • Number Range for object /SCMB/AID created
  • Configured STMP messaging (Tx. SCOT)
  • Automatic execution of SOST Entries (Report RSCONN01)

 

Creating alerts

One way to create an alert is to maintain an alert typ as a follow-up action within an exception code

SimonSch_2-1713446483165.png

Executing the exception will now create an Alert inside SAP. For MFS Alerts they will saved in  database /SCWM/ALERT2521.

Inside SAP EWM there are also other possibilites to create an alert without an exception. We will focus based on exception inside this blog.

 

Alert Monitor

The alerts can be viewed via the alert monitor /SAPAPO/AMON1

SimonSch_3-1713446710693.png

Creation of an alert profil

To display the entries, an "alert profile" must be created. The alert profile restricts which types of alerts, e.g. EWM MFS alerts, you want to select

SimonSch_5-1713446893167.png

SimonSch_6-1713447981456.png

After creating the profil you can press the "Determine Alerts" button to show the alerts.

SimonSch_7-1713448036573.png

SimonSch_8-1713448126279.png

 

 

Setup Alert Notification Profil

To send the Alert via an E-Mail we need to create a "Alert Notification Profil". The profiles aer used to define what is selected and via which message channel, e.g. email, to which recipient the alerts are to be sent.

Open transaction /SCMB/ANOT_PROF_ADM an create a new profile.

General Profile Settings

There two differten mechanism you have to chosse.

  • Pull Mechanism
    You should select pull mechanism if you want to send the e-mail in period. Therefore you have to shedule a job for report /SCMB/ANOTPULL
  • Push Mechnism
    If you want to directly create the email after the exception is occured you have to setup an profile with Push Mechanism

We gonna create a "Push Profil".

SimonSch_10-1713448816578.png

The "Valid from" specification basically restricts the creation date from which alerts are taken into account.

 

Recipient Determination

Recipient-Type:

  • User
    You can select an SAP-User and the mail behind this user will be taken as the recipient
  • Channel
    You can set up any e-mail for an example an collective address like warehouse@xyz.de

SimonSch_9-1713448668243.png

 
Alert Selection

Now we define which alerts exactly we want to select. Therefore we add the application AEWM an our created "alert profil" the steps before.

SimonSch_11-1713449628665.png

 

Send Mechanism

The Messaging profile controls which information will added to the mail. We use the standard Profile "SAP_EWM".

As Message Channel we use EMAILID to receive an E-Mail. Other possible would also be sending a SMS.

SimonSch_12-1713449744908.png

Now we are ready to send directly EWM MFS Alerts via E-Mail if an exception occurs.

 

 

Activate Immediate Notifcation

To activate the immediate Notification we need to change the configuration of the follow-on action for the exception code.

SimonSch_13-1713450168860.png

 

 

Testing the exception

For easy testing we use the "Test Configuration of Exception Codes" img-activity inside the Tx. SPRO.

SimonSch_14-1713450306256.png

Select the correct business context and exception step and insert the test data.

SimonSch_15-1713450494282.png

Select the exception you like to test and execute the test.

SimonSch_16-1713450562428.png

 

Result

After executing the exception code, a send request inside the SAPconnect (Tx. SOST) will be created.

SimonSch_17-1713450607612.png

After the RSCONN01 job has processed the SOST entries, you will receive an e-mail.

SimonSch_18-1713450968123.png

 

 

Conclusion

The Alert Monitoring is a powerful  SAP standard mechanism to easily receive mails if there is an unplanded situation inside the material flow system. There are many more possibilities than those shown here. For example, you can also select the receiver depending on the time. Of course sending an E-Mail based on alerts inside EWM can be used outside the MFS. For an example monitoring the capacity of an storage type.

 


 

 

 

Labels in this area