Application Development 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: 

IDoc related doubt .......Please see..

Former Member
0 Kudos
136

Hi all,

What is message in Idoc? Please tell in layman terms. Is it part of the data records? Please point me to related files or threads.

Thanks,

Charles.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
94

Hi,

In IDocs, a message could most likly mean "Message Type", which basically defines the functionality.

For example, if you take IDocs MATMAS04, it is assigned to a message called MATMAS which defines how the data in the idoc will be treated or what funcationality needs to be applied.

You can look into WE81 for more info on this.

Hope this helps.

Sumant.

4 REPLIES 4

ferry_lianto
Active Contributor
0 Kudos
94

Hi,

Message types (required for sending the data across participating systems) relate to the structure of the data called an IDOC (Intermediate Document). Message types provide the format of the data, which can be exchanged between SAP and non-SAP systems. ALE supports over 200 message types in R/3.

Go to transaction WE82 to see the link between Message type and IDoc type.

Regards,

Ferry Lianto

Former Member
0 Kudos
95

Hi,

In IDocs, a message could most likly mean "Message Type", which basically defines the functionality.

For example, if you take IDocs MATMAS04, it is assigned to a message called MATMAS which defines how the data in the idoc will be treated or what funcationality needs to be applied.

You can look into WE81 for more info on this.

Hope this helps.

Sumant.

Former Member
0 Kudos
94

Hi,

The Message type are mornally assign to SAP document type (IDOC). A message type represents a business function ( Purchase order data, Invoivce data etc). The technical structure of the message type is the IDoc type.

An <b>IDoc type</b> can be implemented for various "logical" <b>messages</b>; one message can also be assigned to different IDoc types (m:n relationship).

The message is defined by the values for <b>message type (required),</b> <b>message code</b> (optional) and <b>message function</b> (optional). These three fields belong to the key fields in the partner profiles, which are used, for example, to determine inbound processing. If the 'Message type' field is not maintained (e.g. in the case of a control record from Release 2.1, in which MESTYP did not exist), the IDoc Interface uses the value from STDMES (EDI message type).

<b>Example</b>

The message ORDERS (= message type) identifies purchase orders (outbound) and sales orders (inbound).

Check transaction <b>WE81,</b> for Message type in SAP.

Also, follow this link for more infomation related to IDOC processing

http://help.sap.com/saphelp_46c/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm

Check this lin for information about "Distribution Using Message Types".

http://help.sap.com/saphelp_46c/helpdata/en/78/2174a351ce11d189570000e829fbbd/frameset.htm

Let me know if you need any other information.

Regards,

RS

Former Member
0 Kudos
94

Hi,

meessage type :

The message type is an identifier that tags the IDoc to tell the receiver how the IDoc is meant to be interpreted.

1.create Message type and Transaction code: WE81.

Go to Transaction code: WE81 -> enter change -> click on enter button-> click on new entries -> enter Data in Message type and description fields -> save -> click on Back button -> message type stored in messages list.

Message type ex:MATMAS,CREMAS,

2.Assign Message type to created Idoc type and Transaction code: WE82.

Navigation: Enter transaction code: WE82 -> click on change -> click on enter button-> click on new entries -> Enter Created Message Type and Basic (Idoc) type, Release Number -> save

Idoc Type:

The IDoc type describes the file structure.

Examples of IDoc types are MATMAS01 to MATMAS05 for Material Master.

Navigation: Enter Transaction code: WE30 -> enter Obj.name and click on create

Edited by: bhavanisankar.solasu on Jun 23, 2011 3:40 PM

Edited by: bhavanisankar.solasu on Jun 23, 2011 3:40 PM