Entering content frame

Background documentation Usable XSD Data Types Locate the document in its SAP Library structure

The following table shows the XSD data types that you can use for constants and simple variables:

XSD Data Types

XSD Data Type

Meaning

Example

xsd:string

String

My string

xsd:integer

Value is interpreted as a whole number

42

xsd:date

Value is interpreted as date in format CCYY-MM-DD (according to the enhanced representation of ISO 8601).

The abbreviations mean the following:

·        CC: Century

·        YY: Year

·        MM: Month

·        DD: Day

2003-12-31

xsd:time

Time according to the enhanced representation of ISO 8601.

You have the following options for this representation:

·        Option 1: hh:mm:ss(.sss)Z

·        Option 2: hh:mm:ss(.sss)(+/-)hh:mm

The abbreviations mean the following:

·        hh: Hours

·        mm: Minutes

·        ss: Seconds

·        .sss: Decimal point for a fraction of a second

·        Z: indicates the time as UTC time (Universally Coordinated Time, known as Greenwich Mean Time up to 1986)

·        +hh:mm: specifies that the local time is ahead of UTC time

·        -hh:mm: specifies that the local time is behind UTC time

 

15:30:00Z

(Option 1)

10:30:00+05:00 (Option 2)

In this case, the local time is the time zone UTC + 5 hours; this means that if UTC time is 12:00, local time is 17:00.

 

 

Leaving content frame