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

IDOC

Former Member
0 Likes
1,155

whats the exact diff beteen message type and IDOC type.

with regards,

naren

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
945

hi naren,

the majar diff between meeage type and IDOC type is..

messgetype : what kind of data u r going to send from outbound to inbound

EX : matmats (it reprasent the material kidn of data u r going to send )

IDOCTYPE : it reprasent the data structure of the messagetype.it containe diff sengments and diff fields.

hi naren,

the majar diff between meeage type and IDOC type is..

messgetype : what kind of data u r going to send from outbound to inbound

EX : matmats (it reprasent the material kidn of data u r going to send )

IDOCTYPE : it reprasent the data structure of the messagetype.it containe diff sengments and diff fields.

6 REPLIES 6
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
945

Hi Naren

Have a look on:

<b>http://www.esnips.com/doc/065ab6a5-e42d-4aa1-a11e-308c04f7c43f/Application-Link-Enabling</b>

Regards,

Sree

Read only

Former Member
0 Likes
945

hi,

MBGMCR01 or MBGMCR02 idoc types and MBGMCR message type

***do reward if usefull

vijay

Read only

Former Member
0 Likes
945

hi

<b>

Message type and basic IDoc type</b>

<b>A message type</b> represents the group in which every basic IDoc types must belong. A message type is conceptually the nature of the data transmitted within an IDoc.

For example, the MATMAS message type is related to material master data, Material Master. To this MATMAS message type is associated several basic IDoc types: MATMAS01, MATMAS02, MATMAS03, MATMAS04 et MATMAS05. Each basic IDoc type is able to contain essential data on material master data. MATMAS01 is the first version, each subsequent version increments the sequence number (MATMAS02, etc.) and adds fields comparing with the previous version.

By convention, each <b>basic IDoc type</b> which follows the ascending numbering can not remove a field or change the applicative meaning of a field comparing with the previous version of the basic IDoc type. The standard message types and basic IDoc types in SAP R/3 respect this convention, and it is preferable to do so for all the new types to be created.

in short message type represents the format of idoc.

regards

ravish

<b>plz dont forget to reward points if helpful</b>

Read only

Former Member
0 Likes
945

hi,

Like you mentioned in case of the PO, the create and change IDOC use the same IDOC type but the message type changes. So, depending on the message type the processing logoic changes.

A IDOC type can be used by different Message types.

The messages exchanged between systems are of various message types. The message type depends on the data contained and the process involved. It determines the technical structure of the message, the IDoc type. For example, the FIDCMT message type is used for journal messages.

The IDoc type indicates the SAP format that is to be used to interpret 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.

regards

null

Read only

former_member582701
Contributor
0 Likes
945

Idoc type is the struct of the idoc. In other words when you build the idoc with your segments you are defining the idoc type.

Then, every idoc type needs a message type. You can have a message type with a lot idoc types associated. When you process an idoc you process a message type and with a idoc type. You can define it in we20 transaction. You need to link both in we82 too.

regards

Read only

Former Member
0 Likes
946

hi naren,

the majar diff between meeage type and IDOC type is..

messgetype : what kind of data u r going to send from outbound to inbound

EX : matmats (it reprasent the material kidn of data u r going to send )

IDOCTYPE : it reprasent the data structure of the messagetype.it containe diff sengments and diff fields.