on 04-11-2007 11:12 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venu and Jagdish,
Thanks for your reply.
Actually I am using ReferenceInformation (In the target structure) for two purposes as listed below:
1. Map Purchase Order Number
2. Map Batch Lot Number
Mapping is done using different nodes of IDoc elements(in the source structure) and both exists simultaneously.
Please let me know if you require more information on this.
Thanks & Regards,
Suraj Kumar
Hi Suraj,
the referenceinformation node can occur multiple times so your mapping should work fine, however the error it gives is about the attribute you want to map. To do that first of all the node itself needs to be created by a mapping, only then if the node exists, the attribute can be set.
Did you check that the node referenceinformation is created by a mapping i.e. it is green not gray? If you duplicate subtrees and save the mapping all subtrees which are still gray will not be saved and all mappings within the subtree will be discarded.
Regards
Christine
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.