cancel
Showing results for 
Search instead for 
Did you mean: 

wht is the diff between Data Type and MsgType?

Former Member
0 Kudos

Hi All XI Professionals.

I am New to XI. Can u plz tell me why we need to Create MsgType? can we use DataType with out creating msgType for MsgInterfaces?

thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Prakash,

A data type is a basic unit for defining the structure of the XML data for message type used to exchange messages with the use of SAP XI.

for more about data type plese refer:

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm">Data Type</a>

A message type is made of a data type and describes the structure of a message on a higher level than a data type. For more about message type, refer:

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/c0633c3a892251e10000000a114084/frameset.htm">Message Type</a>

>>can we use DataType with out creating msgType for MsgInterfaces?

No, because in message interface there is no option of selecting data type directly. It can understand message type only. In message type we provide a wrapper over data type, however in Message interface we define the category of message such as (Inbound, Outbound, Abstract) and Mode of message such as (Sync, Async). For more about message interface please refer:

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/55/c5633c3a892251e10000000a114084/frameset.htm">Message Interface</a>

Hope this will clear all your doubts. If still you have any questions, please revert back.

Regards,

Subhasha Ranjan

Answers (5)

Answers (5)

henrique_pinto
Active Contributor
0 Kudos

- Data types (DTD): defines a data structure (like the Java types int, String, double etc);

- Message types (XSD): defines the message structure, based on data types or standard XML types (like a defined variable of some type: int Counter = 0; String s = "aaa"; ...)

- Message Interfaces (WSDL): defines the interface of a service that uses that message type to export/import data (like when you have a method that returns or consumes some parameters of determined types: int parseInt (String s) ).

Regards,

Henrique.

Former Member
0 Kudos

help says,

For technical reasons, a data type is not sufficient to describe the instance of a message. In XML schema, data types are defined as abstract types that are not yet fixed to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message.

Rgards

Sreeram.G.Reddy

Former Member
0 Kudos

Hi ,

DataType represents basic entities of your source and destination structures and allows nested structure.Message Type is the actual XML which holds the defined data types and gives complete XML structure.We are using Message types in message mapping.

Regards,

Former Member
0 Kudos

Hi,

Check this thread.

Regards,

Sudheer

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Data Type, Message type are Meta data... In Message interface we will mention whether it is Inbound or Out bound..Abstract..

Regards

Agasthuri Doss