cancel
Showing results for 
Search instead for 
Did you mean: 

Help Urgent -- Mapping Problem.

Former Member
0 Kudos

Hi All,

IDOC to File.

I got a problem while doing Mapping. I have 7 segments.

Idoc structure looks like below:

-


Seg1

Seg2

Seg3

Seg4

|____Seg5

|____Seg6

Seg7

Now i need to do Mapping for Seg 5 and Seg 6 to single Segment( BLOBE ) and these segments will repeat unbounded times.

Seg5

-


> BLOBE

Seg6

When i test this scenario.. iam getting Blobe only once and its is not repeating,

when seg5 and seg6 repeats more than once.

Please suggest me what might be the problem.

Can i acheive this or not?

Its Urgent.

Thanks in Advance.

Regards

Seema.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Seema,

How you defined the structure of BLOBE, is it like the sub elements of Seg5 & Seg6 occurs in BLOBE Sube-elements. Can u please clarify it.

Best regards,

raj

Former Member
0 Kudos

Hi Raj,

Seg5 and Seg6 are under Seg4 of my source idoc.iam concanating all the fields in seg5 and seg6 and mapping into <b>Single string</b> "BLOBE" which is at the target side

Source Target

___________________________________________________

Seg4 Seg4

_____seg5 (1:unbounded)

|_____seg6 (1:unbounded) |___BLOBE(1:unbounded)

Pls reply me if u need any clarification.

Regards

Seema.

justin_santhanam
Active Contributor
0 Kudos

Seema,

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 Member
0 Kudos

Hi Raj,

Got the problem.. Context change i used and its done.

Rewarded the points.

Thank You.

- Vijaya.

Answers (1)

Answers (1)

former_member184619
Active Contributor
0 Kudos

Hi Seema,

what's the Occurance of element BLOBE.. if it's 1...1 it can't occur more than once.

Make the occurance 1... unbound and try again.

Sachin

Former Member
0 Kudos

Hi Sachin,

Thanks for ur reply.

Yes BLOBE has to repeat unbounded times.Iam trying the same and its not coming.

Idoc structure looks like below:

-


Seg1

Seg2

Seg3

Seg4

|____Seg5

|____Seg6(1:unbounded)

Seg7

Now i need to do Mapping for Seg 5 and Seg 6 to single Segment( BLOBE ) and these segments will repeat unbounded times.

Seg5

-


> BLOBE (1:unbounded)

Seg6

Regards

Seema.

justin_santhanam
Active Contributor
0 Kudos

Seema,

Can u reply to the above question.

Best regards,

raj.

former_member184619
Active Contributor
0 Kudos

Hi Seema,

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