SAP IDOC Configuration

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.

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.

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

Creation of IDoc Type
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
Creation of IDoc Segment
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)
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)

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 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)
Assign FM to IDoc Type and Message Type(WE57)

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)
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)
Create Outbound process code ( WE41)

Follow these steps:

  • Go to the WE41 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 outbound process code.
  • Fill out the details
  • Save it and go back there.
sap idoc transaction codes
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.
Create Inbound process code (WE42)
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

Leave a Reply

error

Enjoy this blog? Please spread the word :)

%d bloggers like this: