cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Mapping

Former Member
0 Kudos

Hi Guys,

In my mapping i have requirement like source field occur more than once time then target side some fields occur one time and some fields occur as many times depending on the source field

if source field =4 than

Target is

field1

field2

field3

field4

field4

field4

field4

Please give me solution

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi khushi

as per chandra shekhar said make ths occurence of that field as 1:unbounded in the source side

if you cant edit your data type in source side then try useoneasmany function under node function category.

thanks

sandeep

Answers (4)

Answers (4)

Former Member
0 Kudos

thanx

former_member185881
Active Participant
0 Kudos

Hi Kushee

Use node function UseOneAsMany, sending you the link how to use this function.

saptechnical/Tutorials/XI/NodeFunctions/Page5

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

Dheeraj Kumar

Edited by: Dheeraj Kumar on Jun 24, 2009 12:28 PM

Former Member
0 Kudos

Hi kushee,

In the above case all the filelds with the same name will be bond into one i.e in the above case the occurences of field4,5,6,7 will changed to 1.. Unbounded.

ur target structure will look like..

Field1 1..1

field2 1..1

field3 1..1

field4 1..Unbounded

field5 1..Unbounded

field6 1..Unbounded

field7 1..Unbounded

similar will happen to the source structure.

appreciate if useful

Former Member
0 Kudos

Hi Kushee,

As per ur example

Target is

field1

field2

field3

field4

field4

field4

field4

The field4 occurence in the target structure will change to 1..unbounded

and the same will happen to source side structure too.

Former Member
0 Kudos

Hi,

What i am saying is if source occurence is 4 then

Target is

field1

field2

field3

field4

Fiel5

field6

field7

field4

Fiel5

field6

field7

field4

Fiel5

field6

field7

field4

Fiel5

field6

field7

please give me solution

Former Member
0 Kudos

Hi,

Can you give your sample source and target structure with example..

Regards,

Prakasu.M