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

BASIC TYPE VS MESSAGE TYPE

Former Member
0 Likes
14,455

Hi all,

Can i know wats the difference between Basic type and Message type??

wat s the use of having both this types????

5 REPLIES 5
Read only

0 Likes
9,089

Hi,

Idoc is an intermediate document ,and it is an set of segments used to exchange data between systems.

The idocs are of two types :i) Basic Type

ii) Extension type

An idoc type specifies the structure of the data .

Message type specifies the meaning of the data.

Sail

Read only

Former Member
9,089

hi praveen,

I dont want to go technical...

We will give this info in partner profiles..

here..

msg type is : orders

basic type: purchage orders or sales order...etc

msg type says the meaning of communication and basic type(idoc) says actual data type:)

Read only

Former Member
9,089

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.

Every idoc type will have Message Type.

It mean Idoc will be recognised By message type.

For ex : MATMAS03 is idoc type, and its message type MATAMS.

There are different message type for every master data. suppose for vendor master CREMAS is the message type, for customer mast DEBMAS like these there many message type for other type of master data.

To recognise the particular idoc, we use message types.

We82 is the TCode where IDoC type is attached to Mesage tYpe.

Refer to this related thread

Check these links.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs

Please check this PDF documents for ALE and IDoc.

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf

Check below link. It will give the step by step procedure for IDOC creation.

http://www.supinfo-projects.com/cn/2005/idocs_en/2/

Regards

Anji

Read only

varma_narayana
Active Contributor
9,089

Hi

Here Baisc type is nothing but the IDOC type:

The Role of IDOC type and Message Type

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
9,089

Hi praveen,

In simple,

<b>Message Type</b> is the messge which is transferred in between the business partners.

<b>Basic Type</b> is the container of the message.

<b>Regards,

Jackie.</b>