IDOC Configuration

If you want to know the IDOC basic (create , execute and select the list) then Click Here.

In this post let us see how to configure a new IDOC message type in the SAP system.

The Main SAP Transaction for IDOC processing is WEDI. AS soon as you go there you will see all the t-code associated with the IDOC will appear. This contains all the IDOC t-codes  from creating to processing to configuration.

Here we are going to look in to a business case and see how we can configure the IDOC and how to process the IDOC.  We have a Text file coming from a 3rd party with customer first name, last name and Age.

We need to create a new message type and store this information as idoc. Once we received this IDOC we need to process the data and load this data to a table(real life we call a SAP BAPI or sap function module normally BP create).

 

The text file format is as follows

First name char(20), last name char(20) and age number (3).

All of the following things are transportable. Save the transports. You can move the same config and the data from one system to another using this transport.

 

Create and/or Configure New IDOC segments:

T-Code is WE31.

Create a new Segment type ZTEST_CUST. See the following screen shot. 

Click create and see the following  screen shot. Now the Segment is created we are ready to create Idoc types and Message type.

 

Create and/or Configure New IDOC types:

T-Code is WE31.

Create a new IDOC type ZTEST_IDOC_TYPE.

Click create that will take you to the next screen. see the screen shot.

Click on the create segment. A pop-up will display. See the following screen shot. Select the created segment type and click continue.

Now click save and save the IDOC type. Now we have a IDOC structure that can have the first,last name and the age.Now let us go to the message type.


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

Posted via email from SAP MM Blog

Advertisements
Categories: Uncategorized | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: