on 05-04-2006 3:51 PM
Hi Friends,
I have export the IDOC to XSD. If i want to import XSD, i get this Error:
- <b>Schema to be handled does not contain a definition of type ....</b>
How do you import a XSD structure?
Thanks in advance
Fatih
Hi,
First go to WE60 and Doument->XML and download the schema.
And if you have any XML tools like XML SPy etc , check the schema.
In XI-
Go to External Definition->Import the Schema. While importing make sure that Type option is "XSD"
Thanks,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you test it?
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="urn:cts-com:BPM" xmlns="urn:cts-com:BPM" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="BANK_CREATE01">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IDOC" type="BANK_CREATE.BANK_CREATE01"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="BANK_CREATE01.E1BANK_CREATE">
<xsd:annotation>
<xsd:documentation>Header segment</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="BANK_CTRY" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Bank country key</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BANK_KEY" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Bank Keys</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="15"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BANK_METHOD" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Check digit calculation method</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BANK_FORMATTING" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Format of File with Bank Data</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="E1BP1011_ADDRESS" type="BANK_CREATE01.E1BP1011_ADDRESS" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
<xsd:element name="E1BPADR1" type="BANK_CREATE01.E1BPADR1" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</xsd:sequence>
<xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</xsd:complexType>
<xsd:complexType name="BANK_CREATE.BANK_CREATE01">
<xsd:annotation>
<xsd:documentation>Create Bank</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="EDI_DC40" type="EDI_DC40.BANK_CREATE.BANK_CREATE01"/>
<xsd:element name="E1BANK_CREATE" type="BANK_CREATE01.E1BANK_CREATE" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</xsd:sequence>
<xsd:attribute name="BEGIN" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</xsd:complexType>
</xsd:schema>
Hi,
Go to we60. Specify the basic type and from the menu select Documentation->XML Schema.
Import this xsd, like ordinary XSD's.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fatih
We can easily Convert any R/3 structure to XSD. If you want to know how to convert step by step go through the urls:
/people/sravya.talanki2/blog/2005/12/21/convert-any-r3-structure-to-xsd-made-easy-was-60
/people/michal.krawczyk2/blog/2005/09/01/xi-importing-an-r3-structure-or-table-into-repository-not-possible
---Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.