cancel
Showing results for 
Search instead for 
Did you mean: 

multiple occurence not working for extended idocs

Former Member
0 Kudos

hai friends

iam doing file to idoc senario in that multiple occurence is not working for Z segments.

it is extented idoc .

in taht multilpe segments are not creating only one segment is creating

what is the problem

pls help me

with regards

srikanth vipparla

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sreekanth,

In message Mapping,

right click on Zsegment and choose add duplicate

and map that segment also..

U can get multiple segments..

if U need that segment should repeat 2-3 times thats good ..otherwise..

write UDF that repeats no.of times Zsegment.

regards

Ram

Former Member
0 Kudos

Hi,

For this problem, If you are checking your result in R/3 side in WE02 or WE05 then there could be few things to check in both R/3 as well as in XI side.

1. First the Zsegment has been released from R/3 or not.

2. Check in XI if you have imported the latest idoc.

3. Check if you have loaded the latest idoc metadat in XI by using tcode IDX2.

And if you are checking your result in XI under test Tab in your mapping, then there will be some mapping problem, check your mapping again.

Regards,

Sarvesh

former_member194786
Active Contributor
0 Kudos

Hi Srikanth,

You should map the node of the target side(the one which you want to occur multple times) to the node of the source side based upon which the target side node has to occur multiple times. For example lets say our source and target side structures are like this:

<Source>

<Element1>

<Element2>

<Element3>

</Source>

<Target>

<Element1>

<Element2>

<Element3>

</Target>

Now if you want Target to occur n times if Source node occurs n times, you should map Target node to the Source node. Even in case you want that Element1 of target side should occur as many times as many times you have Element1 of Source side, you should do the same.

Thanks and Regards,

Sanjeev.

PS: Reward points if helpful.