on 08-04-2008 2:29 PM
Hello Experts,
Difference between removeContext() and CollapseContext() ? If possible give me clear explanation.
Thank you
Hi,
Refer this link you have complete idea about context
check this weblogs where they have illustrated with an examples:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Regards,
Surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
removeContext:
We use remove context to remove the context of a queue
A ->removeContext-> A
B B
C C
here each line under an alphabet denotes context change.
One thing about context change is it will not show you null values coming in input.
A ->removeContext-> A
C
C
in above example -- represents only context change no value in this place(null).
Collapscontext :
It works very much same way of removecontext but it also considers null values and gives [] for null values (if Context of Field is on its Preceeding parent otherwice it will work as remove context)
A ->CollapsContext-> A
[] (Blank value)
C C
One more chane is if there are multiple values in a context then it will only select first value from that queue
A ->CollapsContext-> A
D B
B C
C
As you can see in above example A & D falls under one context hence D is Removed
reward points if useful,
regards,
Milan
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 links
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
regards
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer this blog
Message Mapping Simplified u2013 Part II
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
collapseContexts:
http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/frameset.htm
removeContexts:
http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/frameset.htm
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Remove context:
You use remove Contexts to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
It removes all level contexts.
Remove Contexts: We use it to remove Header Contexts from source side. If we donu2019t want header context to repeat in target structure, use this. It removes repeated header contexts and all the items come under the same contexts.
Collapse Context:We use it, if we have to create empty tags in target for every context change in the source.
Collapse context : It removes the supressed and empty values that are in the same context.
Collapse context:
Using collapse Contexts() puts the first values of all contexts into a context. Empty contexts are replaced with an empty string:
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.