SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Determine Recipients by Message Categories

Define recipients based on message categories to be able to dispatch messages in the message monitor of SAP Application Interface Framework to different users or processing teams.

Overview

🎓 beginner 30 min. SAP Application Interface FrameworkBeginnerSAP S 4hana

You will learn

  • How to define message categories
  • How to create recipients
  • How to create and maintain a recipient assignment table
Unknown U Unknown January 17, 2024
Created by January 4, 2024
Contributors

Prerequisites

Prerequisites

Steps

Intro

You use recipients to control which interfaces and messages can be accessed within the message monitor of SAP Application Interface Framework. To assign recipients to users, you can apply the following approaches: either by interface, by key field values, by error categories or via a combination of latter two approaches.

In this tutorial, you will learn how to set up recipients based on message categories. This way, you can dispatch messages to users or groups that are responsible for handling specific errors.

As a prerequisite, you should have gone through the Customize an IDoc Interface with Runtime and Monitoring tutorial where you configured the monitoring for an IDoc flight booking interface. In this case, we simply assigned a recipient to the IDoc interface. You will replace the recipient assignment by interface with a recipient assignment based on message categories. Here, we distinguish between users handling either travel agency related errors, passenger related errors or errors caused by wrong flight details.

This tutorial focuses on customizing an IDoc interface. All the settings are also supported for any other technology that SAP Application Interface Framework supports, such as Proxies or Web Services.


Step 1 Create recipient assignment table

You need to create a recipient assignment table by copying the template table /AIF/RECA_TMPL.

  1. Run transaction code SE11, enter /AIF/RECA_TMPL in the field Database table, right-click it and select Copy….

  2. Enter the name ZFB_RECIPIENT for the new table and select Continue. When prompted, enter the package name you created in the previous tutorial.

  3. Once created, choose Dsiplay.

  4. Activate your table.

    Create Recipient Assignment Table
    Create Recipient Assignment Table

Step 2 Define recipients
+
Step 3 Assign recipient assignment table to your interface
+
Step 4 Define Message Categories
+
Step 5 Assign Messages to Message Categories
+
Step 6 Maintain recipient assignment table
+
Step 7 Assign users to recipients
+
Step 8 Send sample requests
+
Step 9 Monitor your interface
+
Step 10 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Create recipient assignment table 2. Define recipients 3. Assign recipient assignment table to your interface 4. Define Message Categories 5. Assign Messages to Message Categories 6. Maintain recipient assignment table 7. Assign users to recipients 8. Send sample requests 9. Monitor your interface 10. Test yourself

Learn more →