Powered By

Free XML Skins for Blogger

Powered by Blogger

Wednesday, July 9, 2008

Appendix: Mapping XSD to ABAP Proxy Generation

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 mit fractionDigits<=14, totalDigits<=31

DEC

Binary (length <= 65535)

RAW

Binary (length <= 65535)

RAWSTRING

Tags Supported for Complex Data Types (in Alphabetical Order)

XSD

Corresponding type in ABAP Dictionary

(local)

Field of a structure

(global)

Structure

(local)

Structure


Field of a structure and a table type

(local)

Field of a structure

XSD Editor are listed.

Limitations for XSD Elements

XSD Element

Note


and abstract types

These elements cannot be converted.

substitutionGroup
and


Limitation of value range
(
, , , , and so on)

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 (, , , and so on)

For more information about the language elements in the XML schema supported by ABAP proxy generation, see SAP Service Marketplace at service.sap.com/xi ® Media Library ® Documentation: SAP XI 3.0 (SP11) – Supported XML Schema and WSDL (EN). The restrictions listed apply not only to WSDL documents from the Integration Repository but also to WSDL documents from other sources.

No comments:

Archives