‎2007 Feb 15 11:28 AM
‎2007 Feb 15 11:31 AM
‎2007 Feb 15 11:29 AM
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
‎2007 Feb 15 11:31 AM
‎2007 Feb 15 11:38 AM
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
‎2007 Feb 15 11:38 AM
<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.
‎2007 Feb 15 12:02 PM
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
‎2007 Feb 15 12:25 PM
<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