cancel
Showing results for 
Search instead for 
Did you mean: 

No Documentation for Mapping Function useOneAsMany (Mapping Problem)

Former Member
0 Kudos

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".

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

I'm stupid.

Replacing 2004 with 2005 in my link is the solution. My bookmark was to old.

In the up-to-date documentation I found the right solution. Thank for your help.

Answers (0)