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

Mickael QUESNOT ©

Configuration Steps in IDOC for LSMW

IDOC or Intermediate Documents are commonly used in case of data migration between
SAP systems or between SAP and legacy system or vice versa.This blog details the steps
involved in configuring a new IDOC and also list’s down the various transactions that are
used while working with IDOCs.
IDOCs can be classified into two . Inbound IDOCs and Outbound IDOCs.

Inbound IDOC : These are IDOCs which get the data into SAP system from external source
i.e PI system or any other external system.
Outbound IDOC: These are IDOCs which are sent out from SAP system to any other system.
i.e PI system or any other external system.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
1
Mickael QUESNOT ©

Step 1 : Create a port in transaction WE21 which shows the target system’s RFC
destination.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
2
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
3
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
4
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
5
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
6
Mickael QUESNOT ©

Step 2 : In transaction WE20, create a partner profile and mention the message tpe details
.In case of Oubound IDOC’s , mention the message types under Outbound Parameters.In
case of Inbound IDOC’s , mention the message types under Inbound Parameters. For
outbound parameters ,maintain port and IDOC details, because port describes to which
system the IDOC has to flow. Whereas in Inbound IDOC,mention the process code details
which determines the inbound function module for processing the data.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
7
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
8
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
9
Mickael QUESNOT ©

Step 3 : Choose a particular message type and maintain the below settings. Under the
receiver port mention the port created in transaction WE21. In Output mode, choose

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
10
Mickael QUESNOT ©

Transfer IDOC immediately. In IDOC type mention the IDOC associated with the Message
Type.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
11
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
12
Mickael QUESNOT ©

Step 4 :

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
13
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
14
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
15
Mickael QUESNOT ©

Step 5 : Apart from the above steps we can use Transaction WE02/WE05 to display any
IDOC and WE60 for IDOC Documentation.To reprocess any IDOC use transaction WE19 adn
inoput teh IDOC number, a new number gets generated.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
16
Mickael QUESNOT ©

Any IDOC has 3 records types – Control, Data and Status.Control Records displays the
direction of the IDOC, message type/basic type details.
Data record display the data under multiple segments. In Status Record we can check the
IDOC status whether it is a success or failure.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
17
Mickael QUESNOT ©

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
18
Mickael QUESNOT ©

Tables for these 3 record types are as below.

Control Record – EDIDC


Data Records – EDIDD
Status Record – EDIDS

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
19

You might also like