cancel
Showing results for 
Search instead for 
Did you mean: 

What function is this?

former_member223435
Participant
0 Kudos

I need to know about useOneAsMany.

Please give me detailed information.

Thanks in advance.

Accepted Solutions (0)

Answers (6)

Answers (6)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

This thread is being locked by the Moderator. Please use the search functionality for basic questions such as this. This is an expert forum.

Please familiarise yourself with the forum [Rules of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement].

Points also unassigned.

Regards

XI/PI Moderator

former_member556603
Active Contributor
0 Kudos

useOneAsMany: Replicates a value of a field occurring once to pair it as a record

with the values of a field occurring more than once.

Please follow the below link for more clarification:

http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm

Thanks,

Satya Kumar

rajasekhar_reddy14
Active Contributor
0 Kudos

There is A search Option in sdn , why dont you use this option??very basic question and discussions and blogs also available on the same.

Guys, please dont reply .

Former Member
0 Kudos

Hi,

Check this link for UseOneAsMany function : http://saptechnical .com/Tutorials/XI/NodeFunctions/Page5.htm

In the above figure, useOneAsMany takes three arguments.

1.First argument u201Cwhat should be repeatedu201D.

2.Second argument u201Chow many times, first argument should repeatu201D.

3.Third argument u201CShould have same context of Item (Second argument)u201D.It maintains the context.

Thanks,

Former Member
0 Kudos

hi,

useOneAsMany is not a user defined function it is a standard function.

please check the links on the previous posts, the idea behind the function as far as i got it is this: the first queue gives the element to replicate, the second queue gives how many times each element needs to be replicated and the third queue gives the way in which the replicated elements need to appear (context related)

from this I derived a couple of conditions:

1. in the first queue there should be exactly one element in each context

2. in the second queue the number of contexts should be the same as in the first queue

3. the number of elements in the third queue has to equal the number of elements in the second queue

Former Member
0 Kudos

This might help u

/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13

Regards

former_member223435
Participant
0 Kudos

But my need is not fulfilled Bhavana.

I need about this function it is userdefined function rite?

Former Member
0 Kudos

Check this

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Regards

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>> I need about this function it is userdefined function rite?

useOneAsMany is a standard function . It is not UDF. The above mentioned blog describes the function well.

Example: if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.

Check this link for more clarity...

http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm