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

Define Single Key Fields

Define single key fields to improve error handling in the message monitor of SAP Application Interface Framework.

Overview

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

You will learn

  • โœ”How to define single key fields
  • โœ”How to create a selection screen
Unknown U Unknown February 1, 2023
Created by December 30, 2022
Contributors

Prerequisites

Prerequisites

Steps

Intro

In this tutorial, you will learn how to define single key fields to simplify the error resolution of an interface in SAP Application Interface Framework.

You can define single key fields and a selection screen to be able to search for messages based on business data.

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 search for messages 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 entries:

    FieldData element
    COUNTRYS_COUNTRY
    REGIONS_REGION
    CITYCITY
    CUSTTYPES_CUSTTYPE
  3. Save and activate your changes.

    Enhance index table
    Enhance index table

Step 2 Create selection screen
+
Step 3 Assign selection screen to interface
+
Step 4 Define single key fields
+
Step 5 Send sample requests
+
Step 6 Monitor your interface
+
Step 7 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 7
1. Maintain interface-specific single index table 2. Create selection screen 3. Assign selection screen to interface 4. Define single key fields 5. Send sample requests 6. Monitor your interface 7. Test yourself

Learn more →