cancel
Showing results for 
Search instead for 
Did you mean: 

reg:data types

Former Member
0 Kudos

What are the types of data types....which data type is used in xi

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Dear Chandra Kanth

data types are basics data types in xi which are used to define your data. Main data types used in xi are as follows

xsd:string

xsd:integer

xsd:boolean

xsd:short

xsd:byte

xsd:float

xsd:base64binary

xsd:hexbinary

xsd:decimal

xsd:double

xsd:time

xsd:datetime

xsd:duration

xsd:date

xsd:gmonth

xsd:gyear

xsd:gyearmonth

xsd:gday

ETC........

these data types will be used to define message types which will be used

For more on message types kindly follow this link

http://help.sap.com/saphelp_nw70/helpdata/EN/2d/c0633c3a892251e10000000a114084/frameset.htm

Thanks

Sandeep

Ps:If helpful kindly reward points

Former Member
0 Kudos

Hi Chandra kanth,

There are 3 catagories for data types Xi is using.

1.Built-In Type

Built-in data types are part of the XML schema language and have the prefix xsd. (They can also be subdivided into primitive and derived data types, but this is not important in the definition of data types). XML schema defines a value range for each built-in data type.

for example

xsd:string

xsd:decimal

xsd:integer

2.Simple Type

Simple data types refine built-in data types, for example, by limiting the length of a string or by specifying a specific value range. Like built-in data types, they do not contain any further elements.

<simpleType

name=“germanPhoneNumber“

base=“string“>

<pattern

value=“?\d?/?\d“ />

</simpleType>

3.Complex Type

Data types that can contain further elements and attributes. Elements and attributes can in turn reference built-in, simple, complex, or global data types. This enables large complex data types to be structured using smaller complex data types.

<complexType name=“person“>

<element

name=“firstname“

type=“string“ />

<element

name=“lastname“

type=“string“ />

</complexType>

Thanqs

Biplab

Former Member
0 Kudos

Hi,

Datatypes:

Use

A data type is a basic unit for defining the structure of the data for a message type and, as a result, for the message to be exchanged.

Integration

A data type is an XML Schema Definition (XSD). This definition determines how the valid payload of a message will look. Data types in XML schema are only an abstract description of a structure that you can assign to elements in an XML schema definition. A message type or a fault message type that references a data type determines the name of the root element of a message.

Alternatively, you can use external definitions, which already contain data types, or import an XSD definition as a template.

Customers and partners can use data type enhancements to add their own fields to SAP data types in the Integration Repository.

refer this link for more details:

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

Regards,

Nithiyanandam

Former Member
0 Kudos

Hi,

Data types are used to pre-define the Mesasge structure that to be passed via XI.

XI follows the standard XML schema data types. Here you will get all data types.

http://www.w3.org/TR/xmlschema-2/#built-in-datatypes

Check this Link http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm

Thanks

Swarup

Former Member
0 Kudos

hi

data type is nothing but the basic type of element

there are diff type of data type used

that is string , data

and some diff that is xsd:string, xsd:date

.......................etc

i hope its helpfull for you

thanks

Regards

vijay