Message Mapping Problem
My File Structure is: I have Datatype with header fields and within it an Item level fields and within it a SubItem level fields.
I am getting an IDoc and want to map with the above file structure.
In message mapping I have mapped <b>Subitems
Also for items I have used <b>UseOneAsMany(with idoc, subitems, subitems)
Also for Subitems I have mapped <b>Subitems
Then I am getting my output as:
Current Output structure what we are getting from message mapping:
In LineItem1 there are 3substructures and LineItem2 there are 2 substructures and 2 in third line item. I am getting fine for Subitems. But i am not getting Lineitems what i was expecting. I am gettng lineitems displayed but no values because it is already displaying. So I have to keep lineitem1 for the first 3subitems and lineitem2 for the second 2 subitems and lineitem3 for the third subitem.
Expected Output structure:
Any help would be greatly appreciated and regarded...
your exact problem is described in this <a href="/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool">weblog</a>.
Please have a look at it, it should solve your problem. If you still have issues, I can guide you through the process.