Hi Folks,
Can Any one help me out in this issue. here I am having the Source structure as
<Node1>
**<Node2>
****<Header> Fld1, Fld2, Fld3...<Header>
*******<Line> FLDX, FLDY, FLDZ <Line>
**********<Schedule Line>
##########<Fld1 = A>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**********<Schedule Line>
##########<Fld1 = A>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**<Node2>
****<Header> Fld1, Fld2, Fld3...<Header>
*******<Line> FLDX, FLDY, FLDZ <Line>
**********<Schedule Line>
##########<Fld1 = A>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**<Node2>
****<Header> Fld1, Fld2, Fld3...<Header>
*******<Line> FLDX, FLDY, FLDZ <Line>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
And my targt structure is like......
<Node1>
**<Node2>
****<Header> Fld1, Fld2, Fld3...<Header>
*******<Line>FLDX, FLDY, FLDZ <Line>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
****<Header> Fld1, Fld2, Fld3...<Header>
*******<Line>FLDX, FLDY, FLDZ <Line>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
**********<Schedule Line>
##########<Fld1 = B>
##########<Fld2 = XXXX>
##########<Fld3 = YYYY>
Here I am having the requirement like when ever the Fld1 under schedule line is having the value of B then only that perticular record needs to be reflected on the receiver side.
If we have two schedule lines having value of Fld1 as "B" then that perticular two scedule lines needs to be there under one node as shown in receiver structure.
Here as I am using the logic as when ever the Fld1 = B then I am mapping the Node1 from sender structure to Node 1 of receiver structure.
But its not working out as per my requirement. here as there are three schedule lines having value of Fld1 as B its creating three Node1 on receiver structure ....
Can any one help me in this case....Thanks in advance....
Regards
Ramana.