on 12-14-2005 12:50 PM
I have two questions.
While creating a message mapping I found the mapping function "useOneAsMany". The tool tip description is to short. But there stands "See documentation!" I can't find "useOneAsMany" in the online documentation:
http://help.sap.com/saphelp_erp2004/helpdata/de/43/c4cdfc334824478090739c04c4a249/content.htm
Now I will describe my problem. Perhaps there is an other solution.
I have a source structure:
<source_structure>
<group1>
<s_value1>XXX</s_value1>
.
</group1>
<group2>
<s_value2>YYY</s_value2>
.
</group2>
<group2>
<s_value2>ZZZ</s_value2>
.
</group2>
</source_structure>
Where I have group1 1 time and group2 n times.
My target structure looks like this:
<target_structure>
<group3>
<t_value1>XXX</t_value1>
<t_value2>YYY</tvalue2>
.
</group3>
<group3>
<t_value1>XXX</t_value1>
<t_value2>ZZZ</tvalue2>
.
</group3>
<target_structure>
In the target structure I have exactly the same amount of group3 like group2 in the source structure. But in every group3 I need the same element of group1 of the source structure. I don't know, which function I have to use. Therefore I search for the documentation of "useOneAsMany".
useOneasmany is the correct one to be used to achieve this...
see the documntation in this link...
http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/frameset.htm
also check this weblog written by Sravya...it talks about the standard mapping functions..
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Message was edited by: Renjith Andrews
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.