Skip to Content
avatar image
Former Member

Duplicate Subtree in CIDX messages

Hi,

I am mapping an IDoc structure to a CIDX message which has been imported into XI through External Definitions. In my requirement, I need multiple nodes of type Referenceinformation which has to be mapped with IDoc structure with different conditions. So, I have used duplicate the sub tree and had two referenceinformation nodes and later I have mapped.

When I am saving the map, it is throwing an error as described below and deleting the created sub tree.

<i>The source or target structure has been changed or could not be found in the Integration Repository. The mapping definition contains elements or attributes that do not exist in the changed structure. The relevant entries will be deleted

Target structure has no such path:

<b>/ns0:LoadTenderMotor/ns0:LoadTenderMotorBody/ns0:LoadTenderMotorDetails/ns0:LoadTenderMotorProductLineItem/ns0:ReferenceInformation[1]/@ReferenceType.</b> Skipping mapping</i>

I want to retain the duplicated sub tree and use it for mapping. Any help is appreciated.

Thanks & Regards,

Suraj Kumar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 11, 2007 at 11:21 AM

    Hi Mr.Suraj,

    What is the occurrence of ReferenceInformation node in source message.

    you want to map each occurrence of ReferenceInformation to different nodes in IDOC based on condition or to different IDOCs?

    Could you please clarify these,if possible just send us source and target structures.

    Cheers,

    Jag

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Christine Geier,

      Thanks for your suggestions, they helped in complete the mapping as per the requirement.

      Regards,

      Suraj Kumar

  • avatar image
    Former Member
    Apr 11, 2007 at 10:28 AM

    Hi,

    Why didn't you try with a single mapping to matach all your condition.

    If condition1 ...then map source to target or

    If condition2 ...then map source to target .

    After adding the dupluicate structure and mapping did you tested your mapping..

    Regards,

    Venu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2007 at 12:19 PM

    Hi Mr.Suraj,

    if ReferenceInformation node occurrs more than once in target message,you dont have to duplicate subtree.I guess you shouldnt duplicate the subtree in mapping as do in testing tab.

    You just need to use node functions in mapping purchase order number and lot number to ReferenceInformation node.

    Cheers,

    Jag

    Add comment
    10|10000 characters needed characters exceeded