on 02-22-2008 9:14 AM
q) can any body tell me real usage of COLLAPSE CONTEXT with real time example ,very urgent
Collapse context for removing the duplicate values.
source(Company codes)-->Sort by-->Collapse Context-->destination
Ex :
Company codes
100
200
400
100
400
300
after sorting
100
100
200
300
400
400
After Collapse Context
100
200
300
400
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The help site from SAP is misleading, I found many errors there.
For this node function, just remember one sentence Raj provided:
Collapse Context will take the first value of each context and generate the output
Keep in mind that in output, the context change are removed, so it called collapscontext.
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chandra,
Keep this a reference - http://www.flickr.com/photos/8764045@N06/2264815255/sizes/o/
http://www.flickr.com/photos/8764045@N06/2264815257/sizes/o/
If you look at the example in the above link, for each company Row needs to be created also Company in Target needs to be created for each Company. Forget abt rest of the nodes, take only Row.
Company(Change Context)-->SplitByValue(ValueChanged)-->Collapse Context-->Row
See the sample data
Company(Change Context)
1000
1000
2000
3000
4000
4000
4000
SplitByValue(ValueChanged)
1000
1000
ContextChange
2000
ContextChange
3000
ContextChange
4000
4000
4000
Collapse Context
1000
2000
3000
4000
So Basically, Collapse Context will take the first value of each context and generate the output.
I hope it helps you a bit!
raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi chandra
Collapse Context is used in Node Functions..
If u have a context change then this collapse context will create empty tas in the target for every context change in the source..
In real time if u have a context change mens node change..then their to fill emtpty tag collapse context is used...
thanks
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this link for node funtions.
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
collapseContexts- There is just a slight difference between my children or grand children or great grand children. Similar to removeContext but context change is replaced with . If we need to create empty tags in the target for every context change in the source we can use it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check out this link,
http://help.sap.com/saphelp_nw04/helpdata/en/58/cd834014d26f1de10000000a1550b0/content.htm
Example also there
Edited by: Prabu on Feb 22, 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 |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.