on 04-08-2011 5:38 AM
in mapping 1:n i hAVE based on one field i am splitting the data but in msg testing when i am duplicating and given same value for two times it is generating two files for same value to that field how to eliminate this problem when same value for the same filed it should generate one msg only
Here is the complete logic..
Source>RemoveContext>Sort>SplitByValue(on Value Changes)>CollapseContext>SplitByValue(each value)>Target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First collect all values of the field in a single context; then use splitByValue (value Change) function and then use collapseContext function to have a unique value.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the following node functions:
Source> removeContext>Sort>SplitbyValue>Target
Also, refer the following thread, it will help you understand various node functions and thier application:
http://wiki.sdn.sap.com/wiki/display/XI/DifferenceBetweenRemoveContextandCollapseContext.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
At the conditin level set the source field context to parent level to generate only one target message for n occurences of source field...
if still does not work then check using collapse context node function and try...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Write mapping logic.
use Splitbyvalue(value change),this will solve your problem.
Regards,
Raj
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 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.