Skip to Content
avatar image
Former Member

multiple occurence not working for extended idocs

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 26, 2008 at 04:27 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27, 2008 at 12:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 27, 2008 at 12:30 PM

    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

    Add comment
    10|10000 characters needed characters exceeded