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

Create a Simple IDoc Interface

Create a simple IDoc interface to enable monitoring IDocs with SAP Application Interface Framework.

Overview

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

You will learn

  • โœ”How to create a simple IDoc interface
  • โœ”How to use the IDoc Structure Generator
  • โœ”How to set up IDoc monitoring in SAP Application Interface Framework
Unknown U Unknown November 1, 2022
Created by April 15, 2021
Contributors

Prerequisites

Prerequisites

  • You have set up SAP Application Interface Framework
  • SAP S/4HANA 1709 or later, SAP Application Interface Framework 4.0
  • Optionally: You have a working IDoc communication in place

Steps

Intro

In this tutorial, you’ll learn how to create a simple IDoc interface that enables you to set up IDoc monitoring. In this process, you’ll use the IDoc Structure Generator to create interfaces to display and process IDocs.

If you don’t have a working IDoc scenario in place, the first three steps show you how to set up the IDoc communication with the IDoc message type FLCUSTOMER_CREATEFROMDATA. Otherwise, you can skip the first three steps and set up the customizing based on your existing IDoc communication.


Step 1 Create RFC destination
โ€”

Open your system. Go to Configuration of RFC Connections (transaction SM59) and choose Create.

Enter a destination name following the naming convention <SID>CLNT<client>, with <SID> being your system ID and <client> the client number of your system. As Connection Type, choose 3 RFC connection to ABAP system. Choose Continue. The settings for your newly created destination open.

Switch to the Logon & Security tab. Maintain Language and Client and set the Current User flag.

Create RFC destination
Create RFC destination

Save your changes.

Step 2 Create port
+
Step 3 Create partner profile
+
Step 4 Create namespace
+
Step 5 Create package
+
Step 6 Generate DDIC structure and interface
+
Step 7 Create interface-specific single index table
+
Step 8 Create recipient for interface
+
Step 9 Assign recipient to interface
+
Step 10 Assign users to recipient
+
Step 11 Test IDoc interface
+
Step 12 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 12
1. Create RFC destination 2. Create port 3. Create partner profile 4. Create namespace 5. Create package 6. Generate DDIC structure and interface 7. Create interface-specific single index table 8. Create recipient for interface 9. Assign recipient to interface 10. Assign users to recipient 11. Test IDoc interface 12. Test yourself

Learn more →