on 09-24-2010 10:12 AM
Hi PI Cracks,
I'm working on PI 7.1 and got a problem due a grafical message mapping.
I have a source message with 2 nodes one holds header information:
<header> Occurrences 1:1
<head_field1>
<head_field2>
</header>
<position> Occurrences 0:unbounded
<position_field1>
<position_field2>
<position_field3>
<position_field4>
</position>
In my target structure I have:
<target> Occurrences 1:1
<item> Occurrences 0:unbounded
<field1>
<field2>
<field3>
</item>
</target>
So now my problem is, I need to get a value from header structure in every
item line on target side. Currently it's every time only in the first target item
not in all that follows.
How to solve this within graphical mapping?
Regards Matt
You need to use useOneAsMany function, try this mapping:
Header_Field -
>
position -
>useOneAsMany -
> Target
position -
>
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
http://help.sap.com/saphelp_nw04/helpdata/en/03/398c4024d26e1de10000000a1550b0/content.htm
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
Hi,
Header_Field
Position--
position_filed1
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthias,
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
http://help.sap.com/saphelp_nw04/helpdata/de/ef/df564b6aa24fc9ab0d685460747de5/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/de/ef/df564b6aa24fc9ab0d685460747de5/content.htm
and maybe:
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Best regards,
Peter
I need to get a value from header structure in every
item line on target side. Currently it's every time only in the first target item
not in all that follows.
UseOneAsMany standard function of Message Mapping can help you in this. There is a good blog on this functionality...check it.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Check the link below regarding UseOneasmany function:
http://saptechnical .com/Tutorials/XI/NodeFunctions/Page5.htm
Thanks,
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.