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

difference between message type and idoc type

Former Member
0 Likes
8,539

Hi

difference between message type and idoc type

Regards

Rama

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,699

6 REPLIES 6
Read only

Former Member
0 Likes
3,699

Hello Rama,

This is not to confuse you. But, there is another thing called IDoc Type.

IDoc Type and IDoc can be compared as a class and its instance.

IDoc Type is the class, where as IDoc is an instance of the particular IDoc type.

Apart from the above two, Message Type(in this context) tells the application.

As Michael told Message Type tells the type of data thats being carried by an IDoc.

Vasanth

Read only

Former Member
0 Likes
3,700

Read only

p291102
Active Contributor
0 Likes
3,699

Hi,

Message Type:

A message type represents the application message exchanged between R/3 systems and R/3 and an external system. A message type characterises the data sent across systems and relates to the structure of the data called an IDOC type.

Diff. with IDOC type

An IDoc type specifies the structure of the data.

A message type specifies the meaning of the data

Diff. b/w IDOC type and IDOC

An IDoc type is the definition of a specific data structure.

An IDoc is an actual instance of data based on an IDoc type. Therefore, there can be many IDocs created from a single IDoc type.

Example:

MATMAS is the message type and MATMAS05 is IDoc type for Material Master.

Thanks,

Shankar

Read only

0 Likes
3,699

<b>IDoc Type:</b>

An Idoc is a container that can be used to exchange data between any two processes. An Idoc is an instance of an IDoc type.It will contain several segments, and segments consist of several data fields.

Ex: INVOIC01 defines the format of an invoice document

<b>Message Type:</b>

A message defines what type of data is being transmitted between two partners.

Like orders, order responses, invoices are examples of messages.

For Ex: Idoc type(ORDERS02) we can use several messages, such as ORDERS,ORDRSP,ORDCHG.

Read only

Former Member
0 Likes
3,699

Hi Rama Devi,

IDOC TYPE - Gives the skeleton of the data that is to be passed. It gives the structure of data that is to be passed. Go to tcode we30 and check matmas03

Message type - Just gives information as what type of data is going to be passed eg. Material data ( Go to tcode we81 MATMAS) , Customer data etc

Regards

Arun

Read only

Former Member
0 Likes
3,699

<b>Kindly Reward Point if it helps</b>

You can consider <b>IDoc </b> as a container having segments, fields

Whereas a <b>Message type</b> is the logical message type used Within the IDoc interface to control purposes.

It points to one or more IDoc types, which are the data formats.

IDoc Type and IDoc can be compared as a class and its instance as follows:

If <b>IDoc Type is a class</b>, then <b>IDoc is an instance</b> of the particular IDoc type Class