SAP AIF provides robust error handling mechanism along with Alert Notification where Alerts can be triggered to specific Recipient in case of Application Error. However, sometimes it is required to distribute the alerts to different Recipients based on who sent the message (e.g. If Sender system is ‘SenderSys1’ then Alert should be triggered to “Recipient1”).
SAP AIF Provides key field based Recipient determination for this purpose. This document explains steps to configure key field based recipient determination.
Step1: Define Index table containing the field on which you need to raise alert: Copy /AIF/STD_IDX_TBL into interface specific index table (e.g. Y0001_IDX_TBL). Add required Key Field on which routing needs to be defined (e.g. Sender System)
Step is only required if field on which recipient is determined is not available in AIF’s standard index table /AIF/STD_IDX_TBL.
Step 2: Assign Index table to your interface
Step 3: Define Alert recipient table by copying /AIF/T_ALRT_DEF
This table will be used to identify routing conditions for determining Recipients.
Step 4: Define different Recipients (Error Handling ->Namespace Specific Features ->Define Recipients)
Step 5: Assign different users to Recipients (System Configuration ->Assign Recipeints)
Step 6: Populate the table with different Recipients based on Key Fields value:
Step 7: Use custom Alert recipient table in Error Handling -> Namespace Specific Features ->Configure Alerts. Recipients will be identified based on this table by supplying key fields from Source message.
Assign appropriate alert category to be used.
Step 8: Define key field and assign that as to be used in Alert Recipient Determination in Error Handling -> Interface Specific Features.
After this configuration, if you execute your message and if it fails , Alert will be triggered to specific recipient based on Sender System. This can be changed to any particular fields from Payload (e.g. Company code or Department).
Limitation: Key Field based Alert determination is not allowed when Multi. Selection Type is selected as “Multiple Selection” (i.e. the data messages are selected from the multiple index table)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |