Skip to Content
avatar image
Former Member

IDoc TO JDBC

Hi,

I have completed the message mapping.I see that the occurance for the segment in IDoc is 0..1 .

But the requirement is that the segment may contain multiple records.

My question is , Do I need to change the occurance of the Segment to 0..Unbounded and redo the mapping or I can go ahead with the old occurance i,e 0..1.

Thanks,

Kiran.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 15, 2008 at 10:35 AM

    Hi,

    IDOC root occurance is always 0-1 but under the root node u may have multiple occurance of segments.

    Which occurance u r talking about IDOC root occurance or segment occurance.

    U r getting multiple IDOC or only single IDOC? pls clarify

    if u want ur IDOC Root node occurance to be changes then u need to export the strucutre of IDOC and change the Root occurance of IDOC using the Stylus studio or XML_spy tool and import the strucutre in external definition of IR.

    Thnx

    Chirag

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 15, 2008 at 10:35 AM

    Hi Kiran,

    U have to change occurance to 0...Unbound............. otherwise ur Segment wont take multiple records.

    Thanks,

    Maheshwari

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 15, 2008 at 10:37 AM

    Hi,

    Changing the occurance of the structure will be fine. the scenario will work absoultly fine. If you continue with old occurances then only 1st record will be consider.

    Also don't forget to delete the IDOC MetaData from IDX2.

    Refer below link

    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

    Thanks

    Swarup

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Kiran,

      After deleting the Metadata form IDX2, you need to upload the new IDoc that was changed. Then you will get the new changes reflected in the IDoc. Your mapping will work.

      Thanks,

      Kish.

  • Feb 15, 2008 at 10:33 AM

    Just change the structure and the occurrence should be รถ to unbounded. Reimport the structure in message mapping, the current mepping will not get deleted.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded