on 06-24-2009 5:37 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.