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 Key Fields

Define recipients based on key field values 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 a single key field
  • How to create recipients
  • How to create and maintain a recipient assignment table
Unknown U Unknown January 17, 2024
Created by January 3, 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 key field values. In our example, messages are dispatched to different users depending on a particular country code.

As a prerequisite, you should have gone through the Create a Simple IDoc Interface tutorial where you simply assigned a recipient to the IDoc interface. You will replace the recipient assignment by interface with a recipient assignment based on key field values.

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 Maintain interface-specific single index table

To be able to determine recipients based on business data, you need to enhance the interface-specific index table.

As a prerequisite, you should have gone through the Create a Simple IDoc Interface tutorial and hence should have already defined an interface-specific single index table with name ZIDOC_MON_IDX. Otherwise, run through step 7 of the tutorial to create the index table.

  1. Run transaction code SE11, enter the table name ZIDOC_MON_IDX and choose Change.

  2. Add the following new entry:

    FieldData element
    COUNTRYS_COUNTRY
  3. Save and activate your changes.

    Enhance index table
    Enhance index table

Step 2 Define single key field
+
Step 3 Create recipient assignment table
+
Step 4 Define recipients
+
Step 5 Assign recipient assignment table to your interface
+
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. Maintain interface-specific single index table 2. Define single key field 3. Create recipient assignment table 4. Define recipients 5. Assign recipient assignment table to your interface 6. Maintain recipient assignment table 7. Assign users to recipients 8. Send sample requests 9. Monitor your interface 10. Test yourself

Learn more →