cancel
Showing results for 
Search instead for 
Did you mean: 

Diff b/w "copyValue" and "useOneAsMany"....

Former Member
0 Kudos

Hello Friends,

In node functions...

What is the difference between the "copyValue" and "useOneAsMany"....

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member193376
Active Contributor
0 Kudos

Hi

CopyValue() to copy the value of a position in the source structure and assign it to a target field for a frequently occurring source structure element. The value is copied each time the target field occurs in the target structure. However, it is copied a maximum of maxOccurs times

useOneAsMany() 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.

HOpe this is usefull

THanks

Saiyog

Former Member
0 Kudos

Hi,

copyValue -- Is the standard function of category constants.It is used when an element occurs frequently,copies the value at a defined position in the source structure to the assigned target field.

http://help.sap.com/saphelp_NW04/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/content.htm

useOneAsMany -- Is a node function which replicates a value of a field occurring once to pair it as a record with the values of a field occurring more than once.

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

Regards,

Sharath

Edited by: sharath Girmaji on Sep 6, 2008 11:06 PM

Former Member
0 Kudos

What copy value does

CopyValue() to copy the value of a position in the source structure and assign it to a target field for a frequently occurring source structure element. The value is copied each time the target field occurs in the target structure. However, it is copied a maximum of maxOccurs times

Former Member
0 Kudos

check these links you will get idea

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

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