Entering content frameSyntax documentation Attachment: Mapping XSD to ABAP Locate the document in its SAP Library structure

ABAP

Java

Simple XSD Data Types and Their Exact Equivalent in ABAP

XSD

ABAP

String (Length > 65535)

STRING

String (Length <= 65535)

CHAR

String with pattern="\d+"
(Length <= 65535)

NUMC

Boolean

Mapping to a character field of length 5 using the constants sai_true and sai_false (Type Pool: sai).

Int

INT4

Short

INT2

UnsignedByte

INT1

Date

DATS

Time

TIMS

Decimal with fractionDigits<=14, totalDigits<=31

DEC

Binary (Length <= 65535)

RAW

Binary (Length > 65535)

RAWSTRING

Tags Supported for Complex Data Types (in Alphabetical Order)

XSD

Equivalent in ABAP Dictionary

<attribute> (local)

Structure field

<complexType> (global)

Structure

<complexType> (local)

Structure

<element maxOccurs="unbounded">

Structure field and a table type

<element> (local)

Structure field

Caution

Only those tags permitted by the XSD editor are executed.

Restrictions for XSD Elements

XSD Element

Note

<extension>
and abstract types

These elements cannot be converted.

substitutionGroup
and
<element abstract="true">

<redefine>

Restriction of value area
(
<pattern>, <enumeration>, <maxInclusive>, <maxExclusive>, etc.)

These tags are ignored by the proxy runtime. The schema validation checks these properties.

Key references, uniqueness (<key>, <keyref>, <unique>, and so on.)

 

 

 

 

Leaving content frame