3.15.2009

Simple ways to Configure - IDOC

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.

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.

Click on the create segment. A pop-up will display. 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.






read more...

All about IDOC in SAP

What is a IDOC?

IDOC is a Intermediate DOCument[IDOC] that is used in SAP. The best way to import data from Any system to SAP is thru IDOC. Once the data is in the IDOC format SAP can read the information and store the data in that as IDOC which it stores in the database and will be available for processing and posting the data in the SAP system.

Each IDOC has a message type by which we can group a particular type of data by a message type and message code. We can make the IDOC process immediately by the Message type and Message code.

Let us see some basic function of how to look in to a IDOC and how the IDOC data looks and how to process the idoc.






read more...