cancel
Showing results for 
Search instead for 
Did you mean: 

eBisXML - XSD probelm

Former Member
0 Kudos

Hi,

I got eBisXML XSD. But when i import the XSD into XI, i was not able to get the complete hierarchy, even after i change the target namespace.

Below is the eBisXML - XSD.

<?xml version="1.0" encoding="UTF-8" ?>

<xsd:schema version='3.09' elementFormDefault='qualified' attributeFormDefault='unqualified' id='eBIS-XML_PurchaseOrder_level1' targetNamespace='http://abc.com/xi/SRM/Procurement/Global' xmlns='urn:schemas-basda-org:2000:purchaseOrder:xdr:3.01' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:doc='urn:schemas-basda-org:schema-extensions:documentation'>

<xsd:annotation>

<xsd:appinfo>

<doc:Metadata>

<doc:Title>eBIS-XML Purchase Order (certification level 1)</doc:Title>

<doc:Subject>eBIS-XML example derived document definitions: certification level 1 (Order)</doc:Subject>

<doc:Version>

<doc:Number>3.09</doc:Number>

<doc:Status>Example schema</doc:Status>

</doc:Version>

<doc:Author>S J Baker</doc:Author>

<doc:ModificationDate>16 Mar 04</doc:ModificationDate>

<doc:Note>This schema provides the minimum allowable subset of eBIS-XML for level one certification. Other eBIS-XML data items may be used. Users in any doubt on the use of this schema should see http://basda.net or email info@basda.org.</doc:Note>

<doc:Note>Please see the comments in the schema file for further information on deriving subsets of eBIS-XML.</doc:Note>

<doc:Warning>This schema illustrates how the eBIS-XML v3 component library can be used to derive a functional subset from full eBIS-XML v3. While it is based on the order data for certification level one, it is indicative only.</doc:Warning>

</doc:Metadata>

</xsd:appinfo>

</xsd:annotation>

<xsd:include schemaLocation='CoreTypes-v3.xsd' />

<xsd:redefine schemaLocation='CoreStructures-v3.xsd'>

<!--

Eliminates Function from OrderHead

-->

<xsd:complexType name='OrderHeadStructure'>

<xsd:complexContent>

<xsd:restriction base='OrderHeadStructure'>

<xsd:sequence>

<xsd:element ref='Schema' />

<xsd:element ref='Stylesheet' minOccurs='0' />

<xsd:element ref='Parameters' />

<xsd:element ref='OriginatingSoftware' minOccurs='0' />

<xsd:element ref='TestFlag' minOccurs='0' />

<xsd:element ref='OrderType' />

<xsd:element ref='OrderCurrency' />

<xsd:element ref='Checksum' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

OrderReferences is restricted to exactly one BuyersOrderNumber, itself

from the library.

-->

<xsd:complexType name='OrderReferencesStructure'>

<xsd:complexContent>

<xsd:restriction base='OrderReferencesStructure'>

<xsd:sequence>

<xsd:element ref='BuyersOrderNumber' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

Restricted to exactly one each of Party and Address, themselves

from the library.

-->

<xsd:complexType name='SupplierStructure'>

<xsd:complexContent>

<xsd:restriction base='SupplierStructure'>

<xsd:sequence>

<xsd:element ref='Party' />

<xsd:element ref='Address' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

Restricted to exactly one each of Party and Address, themselves

from the library.

-->

<xsd:complexType name='BuyerStructure'>

<xsd:complexContent>

<xsd:restriction base='BuyerStructure'>

<xsd:sequence>

<xsd:element ref='Party' />

<xsd:element ref='Address' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

Restricted to exactly LineNumber, Product and Quantity

-->

<xsd:complexType name='OrderLineStructure'>

<xsd:complexContent>

<xsd:restriction base='OrderLineStructure'>

<xsd:sequence>

<xsd:element ref='LineNumber' />

<xsd:element ref='Product' />

<xsd:element ref='Quantity' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

BuyersProductCode and Description only

-->

<xsd:complexType name='ProductStructure'>

<xsd:complexContent>

<xsd:restriction base='ProductStructure'>

<xsd:sequence>

<xsd:element ref='BuyersProductCode' minOccurs='0' />

<xsd:element ref='Description' />

</xsd:sequence>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<!--

We disallow packsize

-->

<xsd:complexType name='QuantityStructure'>

<xsd:complexContent>

<xsd:restriction base='QuantityStructure'>

<xsd:sequence>

<xsd:element ref='Amount' />

</xsd:sequence>

<xsd:attributeGroup ref='UOMattrGroup' />

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

</xsd:redefine>

<xsd:element name='Order'>

<!--

Compared to core order, deleted:

- extensions (xsd:any)

- Originator

- Delivery

- InvoiceTo

- PercentDiscount

- AmountDiscount

- SpecialInstructions

- Narrative

- Settlement

- TaxSubTotal

- OrderTotal

-->

<xsd:complexType>

<xsd:sequence>

<xsd:element ref='OrderHead' />

<xsd:element ref='OrderReferences' minOccurs='0' />

<xsd:element ref='OrderDate' />

<xsd:element ref='Supplier' />

<xsd:element ref='Buyer' minOccurs='0' />

<xsd:element ref='OrderLine' maxOccurs='unbounded' />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:schema>

Quick help is highly appreciated.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I think the problem is the schema is XDR not XDS, so maybe SAP cant handle that?

Former Member
0 Kudos

Hi,

I am seeing that XSD is reffering : 'CoreStructures-v3.xsd'. Did you import the same in IR in the same namespace ???

<?xml version="1.0" encoding="UTF-8" ?>

<xsd:schema version='3.09' elementFormDefault='qualified' attributeFormDefault='unqualified' id='eBIS-XML_PurchaseOrder_level1' targetNamespace='http://abc.com/xi/SRM/Procurement/Global' xmlns='urn:schemas-basda-org:2000:purchaseOrder:xdr:3.01' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:doc='urn:schemas-basda-org:schema-extensions:documentation'>

<xsd:annotation>

<xsd:appinfo>

<doc:Metadata>

<doc:Title>eBIS-XML Purchase Order (certification level 1)</doc:Title>

<doc:Subject>eBIS-XML example derived document definitions: certification level 1 (Order)</doc:Subject>

<doc:Version>

<doc:Number>3.09</doc:Number>

<doc:Status>Example schema</doc:Status>

</doc:Version>

<doc:Author>S J Baker</doc:Author>

<doc:ModificationDate>16 Mar 04</doc:ModificationDate>

<doc:Note>This schema provides the minimum allowable subset of eBIS-XML for level one certification. Other eBIS-XML data items may be used. Users in any doubt on the use of this schema should see http://basda.net or email info@basda.org.</doc:Note>

<doc:Note>Please see the comments in the schema file for further information on deriving subsets of eBIS-XML.</doc:Note>

<doc:Warning>This schema illustrates how the eBIS-XML v3 component library can be used to derive a functional subset from full eBIS-XML v3. While it is based on the order data for certification level one, it is indicative only.</doc:Warning>

</doc:Metadata>

</xsd:appinfo>

</xsd:annotation>

<b><xsd:include schemaLocation='CoreTypes-v3.xsd' /></b>

<b><xsd:redefine schemaLocation='CoreStructures-v3.xsd'></b>

<!--

Eliminates Function from OrderHead

Former Member
0 Kudos

Hi Farooq,

Thanks for your reponse. I imported those 2 XSDs as well in the same namespace. But still these XSDs are independent. How can i make as a collective XSD. When i do mapping i could able to add those as individual external types, which i am not desired. Is there any alternative for this??

Thanks

Former Member
0 Kudos

> Thanks for your reponse.

No problem:)

>I imported those 2 XSDs as

> well in the same namespace. But still these XSDs are

> independent.

But the XSD you paste is refering other xsd.

>How can i make as a collective XSD.

Better to make an single xsd for it.

But if you have 2 xsd say A.xsd and B.xsd

B.xsd is referring A.xsd for some fileds then you have to import both xsd in the same namespace and when u import B.xsd then in the window you can see a Test field Souce(in the window from which we import the External Definations).

in the Souce Test filed give the name of the xsd you want to include.

Thanks

Farooq.

Former Member
0 Kudos

Paste the CoreType-v3.xsd here?? I just look on that and then I will let you know what is going

Thanks

Farooq.

Former Member
0 Kudos

Hi Farooq,

Here is the CoreType-V3.xsd..

<?xml version="1.0"?>

<xsd:schema version='3.09' elementFormDefault='qualified' attributeFormDefault='unqualified' id='eBIS-XML_CoreTypes' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:doc='urn:schemas-basda-org:schema-extensions:documentation'>

<xsd:annotation>

<xsd:appinfo>

<doc:Metadata>

<doc:Title>eBIS-XML Core Types</doc:Title>

<doc:Subject>eBIS-XML Component Library (types)</doc:Subject>

<doc:Version>

<doc:Number>3.09</doc:Number>

<doc:Status>Production</doc:Status>

</doc:Version>

<doc:Author>S J Baker</doc:Author>

<doc:ModificationDate>16 Mar 04</doc:ModificationDate>

<doc:Note>This is the eBIS-XML Component Library of types. This schema provides the simple types used by the eBIS-XML Component Library of structures.</doc:Note>

<doc:Note>Messages conformant to eBIS-XML v3.08 will conform to the superset definitions based on these libraries.</doc:Note>

<doc:Note>Message definitions can be derived from these components by referencing them and using XML Schema redefine where necessary. Please see the literature and http://basda.net for further information.</doc:Note>

</doc:Metadata>

</xsd:appinfo>

</xsd:annotation>

<xsd:simpleType name='AccountNameType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ActionAttrType'>

<xsd:restriction base='xsd:string'>

<xsd:enumeration value='Add' />

<xsd:enumeration value='Change' />

<xsd:enumeration value='Delete' />

<xsd:enumeration value='Original' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='ActualDeliveryDateType'>

<xsd:restriction base='DateTimeOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='AddressLineType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='AlternateCurrencyType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='AmountOutstandingType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='AmountPaidType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='AmountType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='AuthorisationCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BankCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BankNameType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BankReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BatchNumberType'>

<xsd:restriction base='xsd:integer' />

</xsd:simpleType>

<xsd:simpleType name='BestBeforeDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForBuyerType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForCarrierType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForDeliveryType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForInvoiceToType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForLocationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersCodeForSupplierType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersOrderLineReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersOrderNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='BuyersProductCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CRItype'>

<xsd:restriction base='xsd:string'>

<xsd:pattern value='[0-9a-zA-Z]{1,16}' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='CardNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CardTypeAttrType'>

<xsd:restriction base='xsd:string'>

<xsd:enumeration value='Charge' />

<xsd:enumeration value='Credit' />

<xsd:enumeration value='Debit' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='ChecksumType'>

<xsd:restriction base='IntegerOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='CityType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CodelistType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ColorType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CommodityClassType'>

<xsd:restriction base='xsd:string'>

<xsd:pattern value='\d( \d)?( \d)?( \d)?' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='CommodityCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CommodityDescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ConsumerUnitCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ContractOrderReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CostCentreType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CountryType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CrossReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='CurrencyType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DDIType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DUNStype'>

<xsd:restriction base='xsd:integer'>

<xsd:pattern value='\d' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='DateTime'>

<xsd:restriction base='DateTimeOrEmptyType'>

<xsd:pattern value='.+' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='DateTimeOrEmptyType'>

<xsd:union memberTypes='xsd:date xsd:dateTime EmptyStringType' />

</xsd:simpleType>

<xsd:simpleType name='DaysFromDeliveryType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DaysFromInvoiceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DaysFromMonthEndType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DecimalOrEmptyType'>

<xsd:union memberTypes='xsd:decimal EmptyStringType' />

</xsd:simpleType>

<xsd:simpleType name='DecimalSeparatorType'>

<xsd:restriction base='xsd:string'>

<xsd:enumeration value=',' />

<xsd:enumeration value='.' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='DeliveryDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='DeliveryInformationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DeliveryNoteLineNumberType'>

<xsd:restriction base='xsd:integer' />

</xsd:simpleType>

<xsd:simpleType name='DeliveryNoteNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DeliveryTermsType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DepartmentType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DepthType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='DescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='DespatchDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='DoubleOrEmptyType'>

<xsd:union memberTypes='xsd:double EmptyStringType' />

</xsd:simpleType>

<xsd:simpleType name='EarliestAcceptableDateType'>

<xsd:restriction base='DateTimeOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='EmailType'>

<xsd:restriction base='xsd:string'>

<xsd:pattern value='.@.\..*' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='EmptyStringType'>

<xsd:restriction base='xsd:string'>

<xsd:maxLength value='0' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='ExpectedDeliveryDateType'>

<xsd:restriction base='DateTimeOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='ExpectedReplyType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ExpiryDateType'>

<xsd:restriction base='xsd:date' />

</xsd:simpleType>

<xsd:simpleType name='ExtendedDescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='FaxType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='FreightChargesType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='FunctionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='GLNType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='GTINType'>

<xsd:restriction base='xsd:integer' />

</xsd:simpleType>

<xsd:simpleType name='GUIDType'>

<xsd:restriction base='xsd:string'>

<xsd:pattern value='[a-zA-Z0-9]\-[a-zA-Z0-9]\-[a-zA-Z0-9]\-[a-zA-Z0-9]\-[a-zA-Z0-9]' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='GeneralLedgerCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='GoodsValueType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='GrossLineTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='GrossPaymentAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='GrossPaymentTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='GrossValueType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='HeightType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='IntegerOrEmptyType'>

<xsd:union memberTypes='xsd:integer EmptyStringType' />

</xsd:simpleType>

<xsd:simpleType name='InternalAddressType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='InvoiceDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='InvoiceLineInformationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='InvoiceTypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='IssueDateElementType'>

<xsd:restriction base='xsd:date' />

</xsd:simpleType>

<xsd:simpleType name='IssueDateType'>

<xsd:annotation>

<xsd:documentation>Month represented as a month number and a 2-4 digit year with a separator, such as is used on credit cards.</xsd:documentation>

</xsd:annotation>

<xsd:restriction base='xsd:string'>

<xsd:pattern value='\d[\-/. ]\d{2,4}' /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name='IssueNumberType'> <xsd:restriction base='xsd:int' /> </xsd:simpleType> <xsd:simpleType name='IssuerType'> <xsd:restriction base='xsd:string' /> </xsd:simpleType> <xsd:simpleType name='LanguageCodeType'> <xsd:restriction base='xsd:string'> <xsd:pattern value='[a-z]([_\-][A-Z])?' />

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name='LatestAcceptableDateType'>

<xsd:restriction base='DateTimeOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='LengthType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='LineNumberType'>

<xsd:restriction base='xsd:int' />

</xsd:simpleType>

<xsd:simpleType name='LineTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='LineValueTotalType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='LocationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='LogoURLType'>

<xsd:restriction base='xsd:anyURI' />

</xsd:simpleType>

<xsd:simpleType name='LotSerialNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='LotSerialTypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='MiscChargesType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='MixedRateIndicatorType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='MobileType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ModeOfTransportType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ModeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='NameType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='NarrativeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='NatureOfTransactionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='NetLineTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='NetPaymentAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='NetPaymentTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='NumberOfItemsAtRateType'>

<xsd:restriction base='xsd:integer' />

</xsd:simpleType>

<xsd:simpleType name='NumberOfLinesAtRateType'>

<xsd:restriction base='IntegerOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='NumberOfLinesType'>

<xsd:restriction base='IntegerOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='NumberOfTaxRatesType'>

<xsd:restriction base='IntegerOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='OnSaleByDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='OrderDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='OrderLineInformationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OrderLineNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OrderResponseDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='OrderResponseNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OrderResponseTypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OrderTypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OrganisationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OriginalLineNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OriginalOrderDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='OtherProductCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='OtherUOMType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='PacksizeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='PaidDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='PartyType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='PayByDateType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='PercentageType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='PostCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='PrecisionType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='PreferredDateType'>

<xsd:restriction base='DateTimeOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='PreserveType'>

<xsd:restriction base='xsd:boolean' />

</xsd:simpleType>

<xsd:simpleType name='ProjectAnalysisCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ProjectCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='QualifierType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='RegisteredInType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='RegistrationNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ResponseToType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SectionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SecurityCodeType'>

<xsd:restriction base='xsd:int' />

</xsd:simpleType>

<xsd:simpleType name='SellByDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='SettlementDiscountAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='SettlementDiscountTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='SettlementMethodType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='ShelfLifeDateType'>

<xsd:restriction base='DateTime' />

</xsd:simpleType>

<xsd:simpleType name='SizeType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='SoftwareManufacturerType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SoftwareProductType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SoftwareSystemIDType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SoftwareVersionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SpecialInstructionsType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SpecialPriceDescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StateType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StatusType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StreetType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StylesheetNameType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StylesheetOwnerType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='StylesheetTypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SupplementaryUnitsType'>

<xsd:restriction base='IntegerOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersCodeForBuyerType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersCodeForInvoiceToType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersCodeForLocationType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersInvoiceNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersOrderReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SuppliersProductCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='SwitchboardType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TaxAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TaxNumberType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TaxPointDateType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TaxRateType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='TaxRefType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TaxTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TaxValueType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TaxableTotalType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TaxableValueAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TelexType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TermsConditionsType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TestReferenceType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TotalNumberOfItemsType'>

<xsd:restriction base='xsd:integer' />

</xsd:simpleType>

<xsd:simpleType name='TotalValueAtRateType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='TotalValueType'>

<xsd:restriction base='xsd:decimal' />

</xsd:simpleType>

<xsd:simpleType name='TradedUnitCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TypeCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TypeCodelistType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TypeDescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TypeOfSupplyType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='TypeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMCodeType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMCodelistType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMDescriptionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMlength'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMnumeric'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMvolume'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UOMweight'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UnitPriceType'>

<xsd:restriction base='DecimalOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='UnitsType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='UserIDType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='VersionType'>

<xsd:restriction base='xsd:string' />

</xsd:simpleType>

<xsd:simpleType name='VolumeType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='WeightType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

<xsd:simpleType name='WidthType'>

<xsd:restriction base='DoubleOrEmptyType' />

</xsd:simpleType>

</xsd:schema>

Thanks,

Former Member
0 Kudos

I found many files that are dependent(referring) from other xsd.

Solution: Use the XML editor..and chek the xsd in that...just use both xsd as they are seems dependent.

Thanks

Farooq.

Former Member
0 Kudos

sorry fields:)

former_member186444
Participant
0 Kudos

Hi,

We are trying to resolve a similar problem as described in this thread.

We have imported 3 eBisXML XSD files into SAP PI as follows, removing any '-' symbols which were generating errors:

PurchaseOrderv3level1.xsd

CoreStructuresv3.xsd - source field = CoreStructuresv3.xsd

CoreTypesv3.xsd - source field = CoreTypesv3.xsd

In the top-level XSD file PurchaseOrderv3level1.xsd are the following lines which reference the lower-level included content:

<xsd:include schemaLocation='CoreTypesv3.xsd' />

<xsd:redefine schemaLocation='CoreStructuresv3.xsd'>

Although the references seem to be intact, we receive the following error when syntax checking the top-level XSD:

Check Result for Object PurchaseOrderv3level1 Document check found errors

Cause: Loaded document contains incorrect XSD definition

Attribute "name" with the value "OrderHeadStructure" is not permitted in the "/schema/redefine/complexType("OrderHeadStructure")" element ...

Is it possible to use XSD files which contain the 'redefine' statement as in this case and has anybody found a resolution to this problem?

We could manually adjust the XSD files to consolidate but this would create maintenance problems in the future hence we're tring to avoid.

Thanks,

Malcolm

Former Member
0 Kudos

Hi,

Have you resolved yet?

I'm having the same problem!

ThankYou!

Thanh

former_member191531
Participant
0 Kudos

Dear all,

I face the same problem today and found this information about the Source field:

http://help.sap.com/saphelp_nw04/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm

Means that you need to write "CoreTypesv3.xsd" in the field "Source" of the external definition containing the File "CoreTypesv3.xsd", and "CoreStructuresv3.xsd" in the field "Source" of the external definition containing the File "CoreStructuresv3.xsd".

After that, the names of the two external definitions should show up under the tab "External References" of the PurchaseOrder-Schema.

Kind regards,

Juergen