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

ABAP

Java

Built-In XSD Data Types and Their Exact Equivalent in ABAP

XSD

Java

String

java.lang.String

Boolean

Boolean

Float

Float

Double

Double

Int

Int

Short

Short

Long

Long

Byte

Byte

Date

java.util.Calendar

Time

java.util.Calendar

Note

No global types are generated for simple data types (tag <simpleType>), because they only reference built-in data types.

Tags Supported for Complex Data Types (in Alphabetical Order)

XSD

Java

<attribute> (local)

Attributes of a class (including access methods)

<complexType> (global)

Class

<complexType> (local)

Inner class

<element maxOccurs="unbounded">

  • Attributes of an (inner) class (including access methods)
  • Inner table class

<element> (local)

Attribute of an (inner) class (including access methods)

Note

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