on 04-10-2012 6:11 PM
Hi Mates,
i have issue while doing mapping for multiple idocs to mutliple records.
My requirement is like this . each idoc is like one record at target . based on idocs i should populate multiple multiple records,
My sample xml is follows.
Idoc <0 to unbounded> Record < 0 to unbounded>
<Segment> 0 to unbounded
<qulifier> Name
<name>
Now my condition is : if qualifier is "M" i should pass name to Name at target.
sample i should get like this. Output should be
Idoc Record
<Segment> <Name>kumar
<name> </Record>
</Segment> Record
<Name> Test
<Segment>
<qulifier> M
<name>Kumar
</Segment>
Idoc
<Segment>
<name>
</Segment>
<Segment>
<qulifier> M
<name>Test
</Segment>
Can any one please give me the logic.
i am not getting properly due to context problem.
Regards,
Loordh.
once try it below logic :
source field (QUalf) -> remove context -> equals -> constant (M) -> if
then-> name -> remove context -> sort ->splitbyvalue(value change) -> targetfield ...((if u have any duplicate values then use Sort and splitbyValue)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.