Insert new level into Data Type source without losing mappings?
Hello, I would like to add one level of heirarchy into my data type and keep underlying heirarchies the same. I have a complex IDOC mapping where all of the field mappings become invalid when using my new data structure.
I wonder if there is a way to insert this level of heirarchy while retaining all the subordinate mappings?
The reason I'm doing this...
I was using File Adapter with IgnoreRecordset option. So heirarchy was:
MessageType \ Detail \ Fields
Now I am using JMS adapter and Content Conversion module. The XML parameters do not allow this IgnoreRecordset option as File Adapter does. So now my source structure looks like this:
MessageType \ Recordset \ Detail \ Fields
There have been no changes to structure inside Detail \ Fields but I don't know how to insert this level in the heirarchy without remapping around 100 fields which will likely introduce new errors.
Many thanks for your ideas!
Koen de Vries replied
You can try using the mapping template for this purpose: in your message mapping, select the root nodes of the source and target message, click 'Create Template Based on Mapping' to create the template.
After you modify the message type, apply the template on the right level again.