Professional Documents
Culture Documents
IDoc (Intermediate Document)
IDoc (Intermediate Document)
IDoc (Intermediate Document)
IDoc (intermediate
document)
1
Click
What to edit Master title style
is IDOC:
2 2
Click
IDOCto edit Master title style
Applications:
Several SAP applications use the robust IDOC interface. Idocs serve the basic purpose of transferring
data from one application to another:
EDI Integration.
ALE integration
Workflow Integration.
Internet Integration
3 3
Click
IDOCtoApplications:
edit Master title style
EDI Integration
EDI is electronic exchange of business documents between the SAP and NON-SAP systems. Several
applications (purchasing, sales or shipping) in SAP are enabled for EDI.
For transmission of information electronically, two widely used standards are ANSI ASC X12 and
EDIFACT.
ALE integration
Application Link Enabling enables the exchange of data between the SAP systems. It allows SAP
business processes and applications to be distributed across multiple SAP systems. ALE ensures
integration in a distributed SAP environment.
4 4
Click to edit Master title style
Process:
Here we have 2 types of flows in SAP, where data will be flowed into SAP
and other is data transfer out from SAP .
Inbound: When the data is coming in, the process is called Inbound
process and the IDOC is called as Inbound IDoc. Direction key 2, Idoc
status from 50 to75
Outbound: Sending out data from SAP system. The IDOC which is called
Outbound IDOC, Direction key 1, Idoc status from 1 to 49.
5 5
Click to edit Master title style
ALE components
Logical system
Message type
Segment type
RFC Destination
Ports
Partner profile
Process codes
Distribution Model
6 6
Click to edit Master title style
ALE components
Logical system
A logical system (LS) is the representation of a R/3 or External system in SAP R/3 for the distribution
of data to and from the R/3 system.
The systems Involved in distributed processing are assigned a logical name, which uniquely identifies a
system in a distributed environment.
The name can have up to 10 alphanumeric characters.
T-code used is BD54 or through SALE.
Message Type
A message type represents the application message exchanged between R/3 systems and R/3 and an
external system. A message type characterizes the data sent across systems and relates to the structure
of the data called an IDOC type.
T code used to view or create message type is WE81.
7
Example : MATMAS – Material master, DEBMAS – Customer master, CREMAS – Vendor master7
Click to edit Master title style
ALE components
An Idoc type represents the structure of the data associated with a message type (DEBMAS02 for
message type DEBMAS) while an Idoc is an object containing the data of a particular message type.
The complete data in a segment can have a maximum length of 1000 bytes.
Standard segment type starts with E1, custom-defined segment types begin with Z1.
If a IDOC segment contains its own segments, it is called as Parent segment.
1212
Click to edit Master title style
Test Case
As part of testing, we are sending a material master from 100 client to 800 in EH8
system.
We created below for testing.
1) Logical system 100 : EH8CLNT100
2) Logical system 800 : EH8CLNT800
3) RFC Destination : EH8CLNT800
4) tRFC port : A000000020
5) Model view : MATERIAL
6) Partner profile : EH8CLNT800 & EH8CLNT100
Using standard message type (MATMAS), Extension Idoc type.
Using T code BD10 to generate Material Master IDOC. 1313
Click to edit Master title style
Thank You
14