on 02-05-2014 7:14 AM
Hi,
I have a scenario where in I have to populate by default 4 Line Items for each header.
Here the line Items will be added in case of more than one <Type> field in source. This restriction is due to the LineItem restriction in ECC that max of 999 only.
1st LineItem will occur 445 times
2nd LineItem will occur 1 time
3rd LineItem will occur 445 Items
4th LineItem will occur 1 time
If there are more than 2000 records then there should be 3 Headers with above logic of LineItems.
Source:
<Details>
<Date>Date</Date>
<Type>Type</Type>
</Details>
<Details>
<Date>Date1</Date>
<Type>Type1</Type>
</Details>
<Details>
<Date>Date2</Date>
<Type>Type2</Type>
</Details>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Javi,
Thanks for the reply.
Can you please let me know if I can use multi mapping for splitting of messages?
1. MT_Source
2. MT_Target
Now I am mapping MT_Source to MT_Target.
Again I will map MT_Target to MT_Target(0..unbounded) with different mapping logic.
will that work fine or I should have different name for second mapping source message type?
Thank you.
regards
VR
Hi VR,
To poppulate by default you have the standard functions copyvalue or mapwithdefault (Message Mapping....... Untouched Part - Process Integration - SCN Wiki), but i think your requirements are a bit more complicated. Could you share an example with the source XML and the target?, it will be easier to help you in this way.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.