Skip to Content

PI Mapping xsd anyAttribute

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 22, 2014 at 09:32 AM

    I solved my problem with this blog entry:

    Message Mapping : Play around with target structure

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2014 at 11:50 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2014 at 11:35 AM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.