Attachment: Mapping XSD to ABAP
ABAP |
Simple XSD data types and their corresponding data types in ABAP
XSD |
ABAP |
string (Length > 65535) |
STRING |
string (Length <= 65535) |
CHAR |
string with pattern="\d+" |
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 the ABAP Dictionary |
<attribute> (local) |
Structure field |
<complexType> (global) |
Structure |
<complexType> (local) |
Structure |
<element maxOccurs="unbound"> |
Structure field and a table type |
<element> (local) |
Structure field |

Only those tags allowed by the XSD Editor are listed.
Limitations for XSD Elements
XSD-Element |
Comments |
<extension> |
These elements cannot be converted. |
substitutionGroup
|
|
<redefine> |
|
Limitation of
value range |
These tags are not taken into consideration by the proxy runtime; checking these properties is part of the task for validating the schema. |
Key relationships, uniqueness (<key>, <keyref>, <unique>, etc.) |

Find more information about XML schema language elements supported by ABAP proxy generation on the SAP Developer Network (SDN) under https://www.sdn.sap.com/irj/sdn. In the navigation area, choose SAP NetWeaver Capabilities ® SOA Middleware ® Repository-Based Modeling and Design. On the Repository-Based Modeling and Design page, choose SAP NetWeaver PI 7.0 ® Integration Repository. On the SAP NetWeaver Process Integration Design and Modeling page, choose the Supported XML Schema and WSDL document. The restrictions listed apply not only to WSDL documents from the Integration Repository but also to WSDL documents from other sources.