cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data type and message type

Former Member
0 Likes
2,042

Hi Every one, may be this is a basic question.

What is the technical difference between Datatype and messagetype? What are the different purposes served by them.

-Naveen.

View Entire Topic
former_member91687
Active Contributor
0 Likes

Hi Naveen,

The message type is the actual payload message, it corresponds to the root element of your XML document. Each XI message type is based on or references one data type. Where as the data type is your entire XML structure.

Hope this clears your doubt.

Regards,

Chandra

Former Member
0 Likes

Hi Gopal,

Does that mean, a message-type can be associated with morethan one data-type?

Former Member
0 Likes

no, a message type consist of exactly one data type. However a data type can be built out of several datatypes, so you can build hierarchical structures with datatypes (and reuse data types within different data types e.g. create data type for address data and use it in a data type for customer data as well as for vendor data).

Where the data type defines the structure of the XML message, the Message Type defines the name of the Root Element as well as the XML Namespace which can be different from your XI Development Namespace.

Regards

Christine

Former Member
0 Likes

Hi Naveen,

Please go through the following links. Gives yo a clear idea of what is message type and data type and example of each.

http://help.sap.com/saphelp_nw04/helpdata/en/a5/04623c4f69b712e10000000a114084/content.htm

Message type

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/tree.htm

Regards

Vijaya