on 11-08-2006 8:14 AM
Hi,
after thinking I got the required mapping, the use-cases failed.
my source:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_request xmlns:ns1="namespace">
<action/>
<actionText>Should appear in every msg</actionText>
<hardware>
<model/>
<type>Hardware 1</type>
<manufacturer/>
</hardware>
<hardware>
<model/>
<type>Hardware 2</type>
<manufacturer/>
</hardware>
<fto/>
<comment/>
</ns1:MT_request>
</ns0:Message1>
</ns0:Messages>
my target message:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns2:MT_request xmlns:ns2="namespace">
<action/>
<b><actionText>Should appear in every msg</actionText></b>
<hardware>
<model/>
<type>Hardware 1</type>
<manufacturer/>
</hardware>
<fto/>
<comment/>
</ns2:MT_request>
<ns2:MT_request xmlns:ns2="namespace">
<hardware>
<model/>
<type>Hardware 2</type>
<manufacturer/>
</hardware>
</ns2:MT_request>
</ns0:Message1>
<ns0:Message2/>
<ns0:Message3/>
<ns0:Message4>
<ns1:MT_Order_EP7_response xmlns:ns1="namespace">
<ErrorCode>Data received</ErrorCode>
</ns1:MT_Order_EP7_response>
</ns0:Message4>
</ns0:Messages>
You can see, field actionText only appears in the first message. I use SplitByValue on the hardware node so I thought, that also a direct mapping between the field actionText would create an entry in every instance.
For every hardware node he create an own message like he should.
Why does actionText appear only in the first instance???
thanks
regards
chris
Hi Christian,
Try to use the CopyValue Function for actionText.
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
take copyValue!
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.