on 03-15-2007 11:17 AM
Hi,
i have some problems with the result of the mapping:
Example:
External definition
Day
--date
--time
name
--first name
--second name
IDOC
name01
--fname
--sname
--date01
so i mapped name with name01, fname with first name, sname with second name and date01 with date.
Now the problem:
If the number of position of name is >1 then i get the following result:
name01
fname = mirko
sname = example
date = 20070315
name01
fname = patrick
sname = example2
But I need the date in all positions of name01. How ca I do to realize this?
Thanks for help
best wishes
Alex
Hi,
Use this Mapping :
car -
cardata
color -
color
mph -
mph
type -
type
for producer use UseOneAsmany
3 inputs to UseOneAsmany are :
1. producer (context data)
2. color(context root Node)
3. color(contex car)
Thanks,
Maheshwari.
reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the three Input types was only an example in reality there ar more than 8 Input typs. And three of them are out of <name>. And in the result i can see the three (out) types only in the first <name01>!
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I explain the problem with an other example:
<b>a detail of the external definition:</b>
data
---producer
car
--color
--mph
--type
<b>a detail of the IDOC</b>
cardata
--color
--mph
--type
--producer
Mapping:
car -
cardata
color -
color
mph -
mph
type -
type
producer -
producer
-
Now I will send a list with more than one cars, then the result is:
cardata
car = 911
color = yellow
mph= 200
producer = porsche
cardata
car = 964
color = red
mph = 180
But I need the producer in all positions of cardata
I hope this is a better example
regards
Alex
Hi,
what is the occur of data and car and cardata
data --- 1.1
producrer 1.1
car -- 0..unbound
color - 0.1
mph -- 0.1
type --0.1
both structures are ilike above type so
producer -- copyvalue or useoneasmany -- producer
car -- cardata
color - color
mph -- mph
type - type
try and let me know the result.
Regards
Chilla..
Message was edited by:
Chandra Sekhar Chilla
Use the standard function "UseOneAsMany"
It has 3 inputs. First input -- date
second input -- name
third input -- name
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.