cancel
Showing results for 
Search instead for 
Did you mean: 

Data type and message Type

Former Member
0 Kudos

Hi,

Could anyone clearly explain the differences between data typa type and message type by taking the XSD .

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi vamsi ,

u have to search SCN before posting this kind of Questions .

A message type contain a data type that describes the structure of a message and create root node.

and refer 

rasjoshi
Active Contributor
0 Kudos

Data types are not capable of creatng instances....that's y Message type holds data type and used as root element of ur xml/payload......

Former Member
0 Kudos

Message Type :

1. Message type is a wrapper of data type.

2. It can have one or many data types in it.

e.g.Person ( with Address, Name as data types.)

Data Type:

1. It is basic representation or club of a type of data. e.g. Address, Name, Total.

former_member303666
Active Participant
0 Kudos

Hi Vamsi,

Data type: based on the reqirement have to type (manually) the data in design part. here XSD structure has not well formed. (root element is not available)

Message type: XSD structure available in this object. we can save (export) the XSD structure for forther process. (Root element is available )

Regards,

Kesava

Muniyappan
Active Contributor
0 Kudos

Hi Vamsi,

Message type is used as root of message.

data types are basic which describes the messages type.

http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm

say if you have Employee message type under that you create different data types like Address(Address line1,Addressline2,Postal Code),Contactdetails(email,phonenumber,Fax)...etc.

then finally you can combine data types to create one root message that is message type.

data types can be re-used in other data types.

Regards,

Muniyappan.

former_member184720
Active Contributor
0 Kudos

Hi Vamsi - Please check the below link for the same

http://wiki.sdn.sap.com/wiki/display/XI/Difference+between+Data+type+and+Message+type

Regards,

Hareesh