cancel
Showing results for 
Search instead for 
Did you mean: 

Segment is not repeating when testing the mapping.

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you used the copyvalue function ?

Former Member
0 Kudos

Hi Gordon,

Is it necessary to use Copyvalue function for this?? If Yes, can you please elaborate how we can acheive this?

Because.. iam just passing two segments into one Blobe and repeating the values.

Iam not getting why these segments are not repeating.

Regards

Vijaya.

sridharreddy_kondam
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

sridharreddy_kondam
Active Contributor
0 Kudos

Hi Vijaya,

Could you say what is the occurance of the Seg4....?

also can you check the context of the mapping for the source seg5 and seg6...

Regards,

sridhar

justin_santhanam
Active Contributor
0 Kudos

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.

former_member184619
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Raj,

Yes both are working on same project..:)

Anyway Thanks for ur timely solution.

Rewarded the points.

Take care.

Regards

Vijaya.

Answers (0)