Sap Bmp Alert
Transcript of Sap Bmp Alert
![Page 1: Sap Bmp Alert](https://reader036.fdocuments.pl/reader036/viewer/2022081818/577cce351a28ab9e788d8db2/html5/thumbnails/1.jpg)
SAP PI 7.1 – Integration Process Exception
Handling and Alert definition
Posted on November 29, 2011
SAP PI – Integration Process (ccBPM) provides workflow, sync-async Bridge and other vital capabilities.
To ensure smooth processing of BPM tasks at runtime, exception handling and alerts are important
components to be defined in processes, in order to avoid chaos in productive environments.
Exception handling in BPM is a parallel branch to main flow. In case of system error or any exception in
process which hinders main flow from completion, alternate exception branch is used by BPM. Exception
branch causes main flow to stop and raise respective alerts to notify administrator about occurred
problem.
In this post, I’ll explain how to achieve exception handling and alerting approach technically in SAP PI. I
obtained these mentioned screen shots from SAP PI 7.1 environment.
Alert Category Definition
Define Alert Category in IR.
Define Alert Container element as shown in below image. E.g. AlertMessage of type String
Use this Alert Container element in Long Text to send message as a part of alert. To add container
elements use Ctrl + Space for Input Help.
Save and Activate.
Activation will create new Alert Category in SAP PI system which can be verified using T-Code:
ALRTCATDEF (explained in last section)
EL Netweaver
SAP NetWeaver Consulting
SAP PI 7.1 – Integration Process Exception Handl... https://elnetweaver.wordpress.com/2011/11/29/sa...
1 di 6 24/04/2014 14:44
![Page 2: Sap Bmp Alert](https://reader036.fdocuments.pl/reader036/viewer/2022081818/577cce351a28ab9e788d8db2/html5/thumbnails/2.jpg)
Integration Process Definition
Define an Integration Process in IR.
Add Receiver step as initiator of integration process.
Add a new Block. E.g. Manage Material Block
Right click on Block -> Insert -> Exception Branch. This will add an Exception Branch to Integration
Process as shown below.
Click on Exception Branch and Define Exception handler name. E.g.
HandleManageMaterialExceptions
Add a new control step inside exception branch. (This object is used to raise Alerts from BPM) E.g.
ExceptionControl
Choose Action as Throw Alert1.
Source as Enterprise Service Builder2.
Select Alert Category from F4 help which is defined in previous step.3.
Define Alert message which you want to send when alert is triggered. This message is
handled by Alert container defined in Alert Category.
4.
Assign exception to regular steps of process like Transformation Step, Sync Send Step etc. This
will raise alert for System errors, Web Service exceptions which cause BPM failure.
FollowFollow
SAP PI 7.1 – Integration Process Exception Handl... https://elnetweaver.wordpress.com/2011/11/29/sa...
2 di 6 24/04/2014 14:44
![Page 3: Sap Bmp Alert](https://reader036.fdocuments.pl/reader036/viewer/2022081818/577cce351a28ab9e788d8db2/html5/thumbnails/3.jpg)
Save and Activate your Integration Process.
Alert Definition Verification
Go to transaction ALRTCATDEF in SAP PI system.
Select Classification /XI/
Select your Alert Category from right side pane of window.
Check Container, Long and Short Tabs. This will show objects defined in IR
Assign desired user as Fixed Recipient to receive alerts.
FollowFollow
SAP PI 7.1 – Integration Process Exception Handl... https://elnetweaver.wordpress.com/2011/11/29/sa...
3 di 6 24/04/2014 14:44
![Page 4: Sap Bmp Alert](https://reader036.fdocuments.pl/reader036/viewer/2022081818/577cce351a28ab9e788d8db2/html5/thumbnails/4.jpg)
Alert in Runtime Workbench
You can find alert message in Alert Inbox of runtime workbench as well as your local email client once
alert is raised by integration process.
Let us know for no obligation consulting assistance. Leave your comments for feedback or discussion.
SHARE THIS:
Facebook LinkedIn Twitter Google Email Digg Reddit
StumbleUpon Tumblr
FollowFollow
SAP PI 7.1 – Integration Process Exception Handl... https://elnetweaver.wordpress.com/2011/11/29/sa...
4 di 6 24/04/2014 14:44