on 2008 Jul 15 7:03 AM
we are setting d context in 2ways by change the context 7 use remove context mode functon is there any diferance & which one is preferrable?
HI Rani,
remove context function removes all the contexts and gives the value under main nide.
where are change context we can explicitly specify under which context should the value should be...
Your problem will solve here
http://help.sap.com/saphelp_nw04/helpdata/en/ea/c1f1c4f47011d19a600000e8a4b41d/frameset.htm
For more information...
Just check this one also...good blog on context handling...
Reward points if it is helpful
thanks,
madhu
Edited by: Madhu on Jul 15, 2008 8:09 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For more clarification:
removeContexts:
This deletes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue
Context change:
Field level hierarchy changes at runtime.
Thanks,
Boopathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remove Contexts :
Removes all higher-level contexts of a source field and generate a single list.
Context Change :
We can change the context from source variable.
Both are same, but some times Remove context gives proper answer, ill tel you simple example.
Ex : suppose if we have a condition like if a=zi03 then map b to some target variable the source more than once
if we have change the context suppose the condition a=zi03 is true and b is not there in that segment at that time it takes the next repeated segment b value
if we use remove context then it takes only the corresponding value
This question is already there, before asking the question please try its there or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
RemoveContexts
********************
Removes all higher-level contexts of a source field. In this way, you can delete all hierarchy levels and generate a list.
Explicit Context Change
****************************
Message mapping in XI works by means of queues. A queue contains an entire XML instance of the source message. Depending on the hierarchy in the source message, different nodes and elements can be categorised into different contexts. All the nodes and elements that belong to the same parent node are said to be in the same context. Hence, the nodes and elements that belong to different parent nodes have to be separated by a context change.
Difference :
Suppose we have a condition like a = ZI02 then map b to some target variable, here source occurs more than once.
If we change the context, suppose the condition true and b is not exists then it takes the next segment(repeated segment) b value.
If we use remove context then it takes only the corresponding value.
Hope this is usefull
Thanks
Saiyog
Edited by: Saiyog Gonsalves on Jul 15, 2008 8:20 AM
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 is different from the Context change.
Remove context does, it removes all the upper nodes of that particular node
where as Context change is used to set the context for that particular fields to satisfy the conditions
Context Change
http://help.sap.com/saphelp_nw04s/helpdata/en/35/fb8c4057d5701de10000000a1550b0/frameset.htm
Remove Context
http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.