on 07-31-2008 5:55 AM
Hi all
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
Data type for source
Source
Header 1:unbound
Org 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Even though your child nodes are 1:unbounded, if the parent node is 1:1, there is no way it will occur more than once on the basis of your multiple line items.
Thanks
Saiyog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You mention your target structure occurance is 1.1, so it should occur only once,
You will get the target data output as first sender segment data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Use Multi Mappings :
When you create message mapping change the occurence of target from 1 to unbounded. This will allow you to create multiple target structures.
Then map them accordingly as per your need and you can see multiple output in test.
Just you have to be more focused on the context and for that you have to go thro' the mapping documents.
Search related documents on SDN and go thro' them.
Regards,
Shri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
you need to change the occurances of the target structure's root element.......
change it to 0 to unbounded....
or you can split your file into many files as prateed said if you are not using IDOC or HTTP adapter.
if you are using the IDOC or HTTP adapter then you need to use BPM...
Thanks,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try splitting the messages as u want multiple files using multi-mapping
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
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,
Wat is the occurance of the root element in the target structure...?
The occurace of the root element would be a problem... change it to 0 to unbiunded for the Messages tab of the Message Mapping
Thanks
SaNv...
Edited by: Sãnthosh Kûmãr V on Jul 31, 2008 10:33 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 |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.