cancel
Showing results for 
Search instead for 
Did you mean: 

EXporting and inmporting DT

former_member240483
Contributor
0 Kudos

Hi all,

I am working on PI 7.0,my old system was in XI 2.0 .

i want to use same Data Type structure from 2.0 .for that i need to export XSD file from 2.0 to some folder and again import thgat one to PI 7.0

after i did this process it is giving the following error.

<b>Cannot load schema with the target namespace http://sap.com/xi/SUS to namespace http://MM2MM

Schema to be handled does not contain a definition of type hg</b>

Could anyone help me how to solvethis problem...

regards

Rao

Accepted Solutions (0)

Answers (2)

Answers (2)

santhosh_kumarv
Active Contributor
0 Kudos

1.Open the XSD file u will find an node

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:horizon:FiletoIdocTrial1" targetNamespace="http://sap.com/xi/SUS">

Change it to

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:horizon:FiletoIdocTrial1" targetNamespace="http://MM2MM ">

2.and giva a trr or change your current namespace in PI as http://sap.com/xi/SUS.

Regards

San

former_member240483
Contributor
0 Kudos

Thanks santosh,

Do u have any idea how many places do we need to replace namespace..

Regards

Rao

santhosh_kumarv
Active Contributor
0 Kudos

Hi Rao,

I believe it occurs only twice.

1. target namespace &

2. xml namespace.

It would be better if u use of the Search and Replace option of the notepad.

Regards

San

former_member240483
Contributor
0 Kudos

Thanks ,,

there are nested datatypes there.

is there any way that we can Export whole name space

Regards

Rao

santhosh_kumarv
Active Contributor
0 Kudos

Hi Rao,

The reason is the XSD will also have the name of the namespace. Since the namespaces differs in your your case u are not able to do this.

Try changing the namespace in the XSD to the current namespace.

Regards

San