cancel
Showing results for 
Search instead for 
Did you mean: 

B2B Add-On : Issue in importing XSD

Former Member
0 Kudos

Hi All,

We are working on B2B addon interfaces.

We have downloaded the XSD of ANSI X12 EDIs from content manager.However when I import those xsd in PI as External definition, it doesnt get imported.When we import these in data type, it works fine.

Can you please guide me why these XSDs are not getting imported in the External Definition.

Regards,

Ruchi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

When I download ANSIX12 XSD, and import it in ESR as External
Definition -XSD, it gets imported, and shows up in imported Document tab. When
I go to Messages tab, it doesn’t show up anything. When I save this external
definition and activate this, and use it in message mapping, it says No message
found for this ED.

I compared the XSD downloaded from another server's content manager
(which is working fine) and the one downloaded from the server I am working on.

There are 2 differences I can see.

  1. In my xsd in top second line it says

xmlns="<namespace>”

However in the other xsd (which is working fine), it says

xmlns:x12="<namespace>”

And

  1. There is this below line, which is not present in my XSD,
    however present in another XSD as the second last line.

<xsd:element name="ASC850_004010"
type="x12:ASC850_004010"/>

If I manually add these 2 things in my XSD, and import it in ESR
as ED, it works fine.

Please guide me what could be reason for these 2 things not getting
reflected in my XSD.

Thanks,

Ruchi

iaki_vila
Active Contributor
0 Kudos

Hi Ruchi,

  1. In my xsd in top second line it says

xmlns="<namespace>”

However in the other xsd (which is working fine), it says

xmlns:x12="<namespace>”

You should check how the second schema is importing the first xsd, not all XSD sintaxis is supported, is it being used include or import clausule?, for example i had problems with the dash character in the name of the files and i had to change them with the underscore character. Could you share your XSD ?, we can take a look.

Depending your PI version, your system supports more or less things. For example for PI 7.1: http://scn.sap.com/docs/DOC-3488

Regards.

iaki_vila
Active Contributor
0 Kudos

Hi Ruchi,

SAP PI doesn't support all xsd language, sometimes it is necessary a little changes. As Dimitri said, share the exception and, if it is possible, the schema too.

Regards.

Dimitri
Active Contributor
0 Kudos

Hi Ruchi,

Do you face an error or is the result not what you expected?

Also, a screenshot could help sometimes.

Kind regards,

Dimitri