on 03-30-2009 1:11 PM
Hi Everyone,
We have a requirement where we are splitting the incoming message into many messages(files) for each Order.
Now we also repeat some lines in the file as per the quantity.
But some fields from the source structure do not repeat in these lines.
Could you pleasee suggest how to do tis.
SO suppose we have Quantity as 3.
we make 3 lines like this in resultin file.
01 ABC 1
01 ABC 1
where ABC is the material No.
But the problem is that the material no, does not repeat , those fields just vanish in the target structure.
Could tehre be any reason why.
Can anyone suggest how to resolve this issue.
Thanks,
Vinotha M
>
> Hi Everyone,
>
> We have a requirement where we are splitting the incoming message into many messages(files) for each Order.
>
> Now we also repeat some lines in the file as per the quantity.
>
> But some fields from the source structure do not repeat in these lines.
> Could you pleasee suggest how to do tis.
>
> SO suppose we have Quantity as 3.
>
> we make 3 lines like this in resultin file.
>
> 01 ABC 1
> 01 ABC 1
>
> where ABC is the material No.
>
> But the problem is that the material no, does not repeat , those fields just vanish in the target structure.
> Could tehre be any reason why.
>
> Can anyone suggest how to resolve this issue.
>
> Thanks,
> Vinotha M
make sure you have handled the node mapping for the field i.e when you map the field correspondingly the parent node also should be mapped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinotha,
Map the QTY field to the target node and Use proper context and make sure that the occurrences of the target node is set properly.
Regards,
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is it the case that you are getting only one instance of Material number and you need to use it many times in the target structure?...If yes then you will need the UseOneAsMany function in the message mapping.....this function is available as a standard function...
Following blogs give the way to implement the useOneAsMany function:
/people/william.li/blog/2006/03/21/minimize-memory-usage-during-message-mapping-when-replicating-an-element
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Regards,
Abhishek.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.