on 07-09-2007 2:56 PM
Hi Experts,
Iam doing Idoc to file scenario.
My idoc has 7 segments with structure looks like below.
Segment1
Segment2
Segment3
Segment4
|_________Segment5(1:unbounded)
|_______Segment6(1:unbounded)
Segment7
Now i need to map segment5 and segment6 into single segment(BLOBE).
And these segments were repeating infinite times.
Segment5
|_______Segment6 -
> BLOBE (1:unbounded)
But the problem is when i test my map, the BLOBE is coming only once and it is not repeating.
Please help me and suggest me what might be the problem.?
its very urgent for my development.
Thank you.
Regards
Vijaya.
Have you used the copyvalue function ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya,
CoPyValueFunction is not required for your req.....
Have you mapped the segment5,segment6 with target BLOBE at node level or not...
check once...
If this is mapped at root node level then, the no of times the Segments occurs then target one will occur..
and also is the target node occurance is 1...unbounded or not? if not then make it to 1...Unbounded...
Regads,'
sridhar
Hi Sridhar,
Thanks for ur reply.
Seg5 is under Seg4 and
seg6 is under seg5.
BLOBE is just a string on the target side under node Segment4
Iam concanating all the fields in seg5 and seg6 and mapping into Single string "BLOBE" which is at the target side of node Segment4.
Source Target
___________________________________________________
Seg4 Seg4
_____seg5 (1:unbounded) |
|_____seg6 (1:unbounded) |___BLOBE(1:unbounded)
Pls reply me if u need any clarification.
Regards
Vijaya.
Vijaya,
I don't know whether u and seema both are same or lookin for the same sceanrio. Any how please find the results below and lemme know
Please see the below logic and results and please confirm me ,whether this is the expected outcome.
Mapping:
http://www.flickr.com/photo_zoom.gne?id=761004761&size=o
Results:
http://www.flickr.com/photo_zoom.gne?id=761004767&size=o
Best regards,
raj.
Hi Laxmi,
I think it's happening due to this reason.
the BLOBE i created unbound times, but the Root node of BLOBE is being created only once.
Try this:
Map the segment 4 of source to root node of BLOBE. So that for every occurance of Seg.4 the root node of blobe will be created first and then for seg.5 and Seg.6 BLOBE will be created.
Sachin
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.