on 07-19-2007 7:50 AM
could any one help me out on spltbyvalue?
Try closing each forum once your problem gets resolved.
Mudit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look
Split By Value
The SplitByValue () function is the counterpart to removeContexts(): Instead of deleting a context, we can insert a context change in the source value queue. We then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.
We can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
Eg
Source
<DT_Source>
<Subject> 1..1
<Marks/> 1 unbound
</Subject>
</DT_Source >
Target
<DT_Destination>
<Subject> 1 unbound
<Marks> 1 1
</Subject>
</DT_Destination>
We need to split out the marks values in the source structure to different contexts in the target structure
Mapping
Marks -- SBV --Marks
Mudit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Splitby value in very general terms means the value will splitted every time in to that many nodes as many times the value is coming from sender
The SplitByValue () function is the counterpart to removeContexts(): Instead of deleting a context, we can insert a context change in the source value queue. We then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.
We can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
Split by value -
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
Cheers...
Vasu
<b>** REward POints if found useful **</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the links which has a full explanation
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
This Blog will explain the Real time example with screen shots
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Nothing more to explain.
Warm Regads,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1) splitByValue() is the counterpart to removeContexts()
2) inserts a context change in the source value queue
3) context change in the queue after each value, after each change to the value, or after an empty tag.
Regards,
Ramana Kumar. A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Node Functions:
Have a look at this help link -
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
Also these weblogs will help you -
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Split by value -
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
Mudit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SplitByValue() is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.
http://help.sap.com/saphelp_nw70/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
vasanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
splitbyvalue insert the context.
<row>
<item>1</item>
<item>2</item>
<item>3</item>
</row>
item->splitbyvalue->target
<row>
<item>1</item>
</row>
<row>
<item>2</item>
</row>
<row>
<item>3</item>
</row>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.