Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding IDOC

Former Member
0 Likes
723

what mean by IDoc type and Message type........

tell me in your own words........

am not asking definition(even i got in some where).

tell me in simple language........

plz..

good answers with maximum points???????

what mean by IDoc type and Message type........

tell me in your own words........

am not asking definition(even i got in some where).

tell me in simple language........

plz..

good answers with maximum points???????

5 REPLIES 5
Read only

Former Member
0 Likes
693

The

IDoc type

indicates the SAP format that is to be used to exchange the data of a business transaction.

An IDoc type consists of the following components:
· a control record-This is identical for each IDoc type.

· several data records-One data record consists of a fixed key part and a variable data part. The data part is interpreted using segments, which differ depending on the IDoc type selected.

· several status records-These are identical for each IDoc type and describe the statuses an IDoc has already passed through or the status an IDoc has attained.

The

message type

depends on the data contained and the process involved like vendor data or customer data etc.

regards,
srinivas

*reward for useful answers*</b>

Read only

Former Member
0 Likes
693

Hi,

The Idoc type is essentially a file layout. See transaction WE62 for the types (called 'Basic Types'). All Idocs of a type (example: INVOIC01, ORDERS04, etc.) will have the same fields and file layout.

A message type informs SAP what to do with an IDOC.

For example:

*A customer Order can be a type of ORDERS02, message type ORDERS

*A customer Order Change can be a type ORDERS02, message type ORDCHG

In this example, both Idocs will have the same file/field layout, but be processed differently by SAP

Helpful?

Read only

varma_narayana
Active Contributor
0 Likes
693

Hi....

IDOC is the Document that Transfers the Data Between the Systems in ALE or EDI.

But Every IDOC is generated based on an IDOC TYPE and a MESSAGE TYPE..

Let me explain them with Example.

IDOC TYPE : It provides the structure in Which The data of IDOC has to be stored.

For Eg: To Create an IDOC of EMPLOY master:

The Structure of IDOC TYPE can be:

1 Record for EMPLOY General Data: Under this

Multiple Records for Employ Experience Details

Multiple Records for Employ Qualification Details

Multiple Records for Employ Skill Details

Here all these Different Records are Represented by SEGMENTS.

And Every IDOC TYPE is Hierarchy of Segments

(You can find in tcode : WE30)

MESSAGE TYPE:

It will determine the Processing Logic using which the IDOC has to be generated in Outbound and how the IDOC has to be Posted in Inbound.

One IDOC type can be Linked to Multiple Message types.

For Eg:

One Message type that Creates a new employ.

and Another message type that will Change the Existing Employee details.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
693

Subash,

If these answers were helpful, I'm sure that the people who posted would appreciate some points. Thanks.

Read only

0 Likes
693

In simple terms:

Idoc contains data in a segment hierarchy. The idoc type describes the technical structure of idoc. We can say that idoc is an instance of idoc type.

Idoc carries the data of a business object. The message type indicates the type of the business object that the idoc carries.

hope this helps

Mridula