Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.

in

Saptutorials.in
SAP Online Tutorial, Sap Training ,Tips and Trick

 Menu 

Digitally transform
your business through
innovative SAP & Open

partner solutions on
SAP Store
SAP Store

SAP IDOC Configuration


February 7, 2021 by saptutorials

Spread the love

We’re going to try to explain Idoc configuration in sap today. This blog explains the inbound and
outbound configuration of Idoc with simple steps.

EDI messages can be easily integrated with SAP IDoc and BAPI. There are only a few steps needed to
integrate the EDI into SAP. Below is a step-by-step description of the configuration of the sap edi.

https://www.saptutorials.in/sap-idoc-configuration/ 1/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Sap EDI IDOC step by step guide with sap IDOC transaction codes which help you set up a quick EDI
configuration for any new custom development for new project requirements.

Table of Contents 
1. SAP EDI /IDOC Step by step Set up
2. Creation of IDoc Type (WE30)
2.1. Create IDoc Type
3. Creation of IDoc Segment(WE31)
4. Creation of IDoc Message Type ( WE81)
5. Assign IDoc Type to the IDOC Message Type ( WE82)
6. Assign FM(Function Module) to IDoc Type and Message Type(WE57)
7. Define Inbound FM Characteristics(BD51)
8. Create Outbound process code ( WE41)
9. Create Inbound process code (WE42)
10. Useful IDOC Program

SAP EDI /IDOC Step by step Set up


Create and assign a logical system to a client
Activate the SAP Workflow
Activate event-receiver linkage
Set up an IDoc administrator
Define a port
Define user-specific parameters

Creation of IDoc Type (WE30)


Creation of new IDoc type for e,g INVOIC02 , represent an invoice that needs to be sent to the customer
electronically, As per the SAP recommendation, Any custom development should be started with Z
hence we will create new IDOC Type as ZINVOICE .you can make your own naming.

Create IDoc type we need to follow these steps

https://www.saptutorials.in/sap-idoc-configuration/ 2/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Creation of IDoc Type

Create IDoc Type

Go to transaction code WE30


Enter the name of the object, select the Basic type, and click the Create icon
Select a new option to create and enter a description for your basic IDoc type and press Enter.
Pick the name of the IDoc, and then press create an icon
The system prompts you to enter a type of segment and its attributes.
Choose the values you want and press Enter
The system will transfer the name of the segment type to the IDoc editor.
Follow these steps to add more segments to the parent or parent-child relationship.
Save it and go back
Go to Edit -> Set release

Creation of IDoc Segment(WE31)


Creation of IDOC segment type we need to follow the below steps

Go to the WE31 transaction code


Enter the name of your segment type and click the Create icon
Type the short text
Enter the names of variables and the data elements
Save it and go back there.
Go to Edit-> Set up the release
Follow the same steps to create more segments

https://www.saptutorials.in/sap-idoc-configuration/ 3/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Creation of IDoc Segment

Creation of IDoc Message Type ( WE81)


Creation of IDOC Message type we need to follow the below steps

Creation of IDoc Message Type ( WE81)

Create type of message


Go to the WE81 transaction code
Change the details in Display Mode to Change Mode
After selection, the system will send this message, “The table is cross-client (see Help for more
information).” Enter Press
Click New Entries to create a new type of message
Fill out the details
Save it and go back there.

Assign IDoc Type to the IDOC Message Type ( WE82)

https://www.saptutorials.in/sap-idoc-configuration/ 4/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Now we need to assign IDOC type with the IDOC Message type, here we need to assign Idoc type with
the basis message type

Assign IDoc Type to the IDOC Message Type ( WE82)

Assign FM(Function Module) to IDoc Type and Message


Type(WE57)
Follow the below steps for assignment:

Go to the WE57 transaction code


Change the details in Display Mode to Change Mode
After selection, the system will send this message, “The table is cross-client (see Help for more
information).” Enter Press
Click New Entries to create a new type of message
Fill out the details
Save it and go back there.

Assign FM to IDoc Type and Message Type(WE57)

https://www.saptutorials.in/sap-idoc-configuration/ 5/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Define Inbound FM Characteristics(BD51)


Take transaction code BD51
Change the details in Display Mode to Change Mode
After selection, the system will send this message, “The table is cross-client (see Help for more
information).” Enter Press
Click New Entries to create a new type of message
Fill out the details
Save it and go back there.

Define Inbound FM Characteristics(BD51)

Create Outbound process code ( WE41)


The process code contains details of the function module used for IDoc processing. We can link the
message type to the process code.

Create Outbound process code ( WE41)

Follow these steps:

Go to the WE41 transaction code


Change the details in Display Mode to Change Mode

https://www.saptutorials.in/sap-idoc-configuration/ 6/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

After selection, the system will send this message, “The table is cross-client (see Help for more
information).” Press Enter, please.
Click the New Entries button to create a new outbound process code.
Fill out the details
Save it and go back there.

sap idoc transaction codes

Create Inbound process code (WE42)

Follow these steps:

Go to the WE42 transaction code


Change the details in Display Mode to Change Mode
After selection, the system will send this message, “The table is cross-client (see Help for more
information).” Press Enter, please.
Click the New Entries button to create a new Inbound process code.
Fill in details
Save it and go back there.

https://www.saptutorials.in/sap-idoc-configuration/ 7/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Create Inbound process code (WE42)

Now your configuration is ready for testing. Trigger newly created message for the further testing

Useful IDOC Program


RBDAPP01-Incoming IDocs for application documents
RBDAGAI2-Reprocessing of IDocs after ALE input error
RBDAGAIE-Reprocessing of IDocs edited
RBDMANIN Error handling for non-posted IDocs
Inbound processing of RSEINB00 IDoc by file
RSEUT00 Process outbound IDocs

Hope this article helps you to sap edi configuration Here are a couple of other articles that you check

Sap marketplace
S4HANA
SAP fieldglass
SAP Ariba

https://www.saptutorials.in/sap-idoc-configuration/ 8/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

SAP Activate

Share on Facebook Tweet Follow us

 Blog, SAP SD, Tutorials

...

Leave a Reply

Search Google

Search …

Categories

https://www.saptutorials.in/sap-idoc-configuration/ 9/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Blog
career
fiori app library
MDM
SAP ABAP
SAP APO
SAP FI
sap industry solutions
SAP MM
SAP PM
SAP SD
shortcuts and tricks
Software development
Tech Trends
Tutorials
Uncategorized

Popular Posts

How to learn sap for free

How to write functional specification document

What is the Difference Between a Bill and an Invoice?

Simple Ways to Enhance your SAP Shipment Process

Best 20 SAP FICO Interview Questions & Answers in 2022

Top 10 Ways to Maximize SAP HANA Hardware Investment

A Simple Explanation About Profit Center & Cost Center In Accounting

https://www.saptutorials.in/sap-idoc-configuration/ 10/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

8 Tips To Ace Your SAP FICO Interviews | The Ultimate Guide!

How to Manage Change in Your Organization with Agile Methodology?

SAP Proforma Invoice: How to Create a Comprehensive Proforma Invoice in SAP

Recent Posts

How to optimize batch management in sap


How to learn sap for free
How to write functional specification document
What is the Difference Between a Bill and an Invoice?
Simple Ways to Enhance your SAP Shipment Process

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 99 other subscribers

Email Address

Subscribe

https://www.saptutorials.in/sap-idoc-configuration/ 11/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Archives

April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020

https://www.saptutorials.in/sap-idoc-configuration/ 12/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

https://www.saptutorials.in/sap-idoc-configuration/ 13/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Please follow & like us :)

Privacy Policy Disclaimer Contact us Sitemap

https://www.saptutorials.in/sap-idoc-configuration/ 14/15
4/6/22, 11:58 AM SAP IDOC Configuration - Saptutorials.in

Copyright © 2020 Saptutorials

https://www.saptutorials.in/sap-idoc-configuration/ 15/15

You might also like