cancel
Showing results for 
Search instead for 
Did you mean: 

PI Mapping xsd anyAttribute

0 Kudos

Hi Community, hi Experts,

I'm searching the last two days for a solution for my problem.

I didn't find anything yet.

My Problem:

I must map a IDOC from SAP ERP to an XML file.

The XSD file have one special element:

<xs:element name="Property">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:anyAttribute namespace="##local" processContents="skip"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>

You see the "anyAttribute".

From SAP ERP the IDOC has a NAME/VALUE element.

In this picture you see the mapping in PI.

Now my question: How can i map this element?

COuld someone help me please.

Thanks in Advance.

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

I solved my problem with this blog entry:

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Matthias,

Please refer to this document Supported XML Schema and WSDL (SAP NW PI 7.1) Excel List , xsd:anyAttribute is ignored. The best that you can do is to build the complete schema or XML using a third-party tool such as Altova and then adjust the imported schema in XI accordingly.

Regards,

Mark

Muniyappan
Active Contributor
0 Kudos

check with functional/business if you have to map name to property or value to property.

apart from above one ,say you are mapping name to property and testing the mapping. are you facing any issue?