on 01-12-2009 10:34 AM
Hi Experts,
I am having a scenario in which I am doing one to three mapping.
I have a input file and I am tarnsforming it to three files HEADER, DETAIl and FOOTER.
I am using only one mapping for it and it is completed.
Now I need to do one to one mapping for each HEADER, DETAIL and FOOTer.
Is there any way that I can copy my mapping from the existing one and do the one to one mapping.
Regards
Pradeep
Try creating a Message Tempate by selecting invidual root nodes. You will find this option in Message Mapping itself. Then try to use these templates in new message mapping. Haven't tried this but just give it a try.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I guess it should be possible to copy your mapping (3 times) and remove the parts that you don't need.
The problem (in PI 7.0) is that if you have more than one message at the target side and reduce it to one message your field mappings are lost.
You can avoid this if you set the occurence of your target message to 0.. unbounded.
If you don't want to do this you could copy for all fields the last field before the target field (right click on field -> copy) and paste it in your new mapping (this will copy your complete mapping structure).
Regards
Patrick
Edited by: Patrick Koehnen on Jan 12, 2009 11:48 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.