Skip to Content
author's profile photo Former Member
Former Member

PO 7.3.1 multi-mapping with AEX

Hi, all

I am having a hard time getting the 1:n interface working. Here is data example:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:source_mt xmlns:ns0="http://1ton_mapping">

<records>

<pernr>1111</pernr>

<plans>aaaa</plans>

</records>

<records>

<pernr>2222</pernr>

<plans>bbbb</plans>

</records>

</ns0:source_mt>

I want to split the xml into 2 parts and 2 different files using the receiver file adapter. So the contents should look like the following:

file1:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:output_mt xmlns:ns0="http://1ton_mapping">

<records>

<pernr>1111</pernr>

<plans>aaaa</plans>

</ns0:source_mt>

file2:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:output_mt xmlns:ns0="http://1ton_mapping">

<records>

<pernr>2222</pernr>

<plans>bbbb</plans>

</ns0:source_mt>

I have tried and followed the old blog and am getting mapping error:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600b455f-01cd-2b10-0cab-a50e47a8f800?QuickLink=index&overridelayout=true&37632503554351

Do you know where I can find the new procedure? I have already seen thread http://scn.sap.com/thread/3356432 and it is not obvious to me what the fix is? OSS note 1774773 is irrelevant to us as we are on a higher SP already.

Thanks,

Jonathan.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2014 at 09:10 PM

    Here are my mapping:

    After going to signature, output_mt and change the occurrence to 0...unbounded, I got the following:

    PI automatically put in the messages and message1 node on the target message automatically and I haven't found a way to stop that. When I test running the OM, I get the mapping error saying that the node messages cannot be created. That is understandable as the message type doesn't have those 2 nodes. By the way, I have followed the blog and saved the mapping as template before changing the occurence. It doesn't really help.

    Thank you for your help in advance.

    Jonathan.


    Untitled1.png (21.1 kB)
    Untitled2.png (10.4 kB)
    Untitled3.png (16.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2014 at 09:06 PM

    Hello,

    What's the exception you are getting and what's the SP of ur PO system?

    Thanks

    Amit Srivastava

    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.