on 04-25-2013 3:23 PM
Hi,
I have in source ORDRSP05 IDoc. The IDoc contains E1EDP02 & E1EDP20 as:
<IDoc>
<E1EDP01>
<E1EDP02>
<E1EDP20>
The above structure is only for showing heirarchy & not a valid XML of course. Since I am mapping target parent segment with E1EDP20, I need to have use one as many for a field mapped from E1EDP02. This works fine when E1EDP02 comes once in one E1EDP01. However, it shows me error in Use one as many when I have two E1EDP02 within same E1EDP01 ie.
<IDoc>
<E1EDP01>
<E1EDP02>
<E1EDP02>
<E1EDP20>
<E1EDP20>
<E1EDP20>
Thus, I need to have 6 outputs from Use one as many as each of two E1EDP02 will be triplicated. Will it be possible with standard mapping functions??
Hi, You can use this blog for the same:
Regards,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it should work using useOneAsMany.
Attach your source data and mapping screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might want to try removecontexts and splitbyvalue (change) and map to the target .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In case you have 3 E1EDP20 segments, you will have 3 target parent segments created. for mapping E1EDP02 field to the target element using useOneAsMany, you should be provided one of the E1EDP02 segments based on qualifier which the functional team should provide.
I am not sure why you are expecting 6 outputs....
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
You need to create a UDF , however Why you need 6 elements? Your target is mapped with E1EDP20 only you should have 3 entries or Do you need one E1EDP02 and E1EDP20 for each entry.?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.