on 11-25-2007 1:03 PM
hi....fri's
1)what is the diff b/n context handling and context object
thanks in advance
Sreenu
hi vishnu,
Context Object:
Context objects are a simple alternative to XPath expressions for accessing the contents of a message. Take the following message instance as an example:
<InvoiceOut>
<customerData>
<address>
<name> ... </name>
<postalCode> ...</postalCode>
...
</address>
...
</customerData>
</InvoiceOut>
To access the content of the <postalCode> field, you would use the following expression in XPath:
/InvoiceOut/customerData/address/postalCode
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
Context Handling:
Context handling is an important technique to map complex scenarios in XI.
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
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
regards,
nikhilbos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vishnu sreenu ,
The following websites give u the complete details on Context Handling &Context Objects :
Context Objects
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
Context Handling
Introduction to Context Handling in Message Mapping
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
Context Handling & Context Objects
http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
Context Objects :Booking a Single Flight (Proxy-to-Proxy)
http://help.sap.com/saphelp_nw04/helpdata/en/67/2edd3f597af206e10000000a1550b0/content.htm
cheers!
gyanaraj
****Pls reward points if u find this helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vishnu,
<b>Context Object</b>
If u have multiple receiver system then to determine the reciever u can use context object.....
the alternative of context objetc is X-Path...
Check out these
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
Here is a scenario where context objects were used for BPM
Get the details here:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm
Technical Context Objects :
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm
A list of the Technical Context Objects names can be found here:
http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
Difference between context object and x-path:
<b>Context Handling</b>
XML contains some nodes and they follow some hierarchy. The level of a particular node in the hierarchy can be deremined by the context of the node in the hierarchy. Context handling is a technique where we use for manipulating these nodes and their hierarchy in the XML file/tree.
There are some standard given function to handle these kind of context handling issues.
For more information...
Just check this one also
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
/people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
Context handling -- https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0f6991e5-0901-0010-e0b0-dc2...
Queue Processing --
http://help.sap.com/saphelp_nw04/helpdata/en/04/827440c36ed562e10000000a155106/frameset.htm
Regards
Biplab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 1)what is the diff b/n context handling and context
> object
Context Handling:- In XI during Mapping Queues are used...so as per the hireracy the elements in queue get inserted...
Example:
<A>
<Item>1</Item>
<Item>2</Item>
</A>
<A>
<Item>3</Item>
<Item>4</Item>
<Item>5</Item>
</A>
Queue for the same XML at the time of Mapping:
-
1
________________
2
________________
<b>
Context is inserted</b>
________________
3
________________
4
________________
5
________________
So if I want to remove this context I will use the Node Function called <b>removeContext</b> When I use it It will give me a queue like this.
________________
1
________________
2
________________
3
________________
4
________________
5
________________
Context Object: Is use when there is a scnerio in which at Runtime you have to route the message to any receiver(based on the data of particular Element)
Example: I have an XML in which there is a TAG called <CustomerID>
Now If
<CustomerID> hasvalue 123 then I will send the message to System/Service A
If it has value other then this then I have to send it to toher System or Service
Hope this clear all your dought:-)
Thanks
Farooq.
*Rewards Points if you find it useful*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>context object.......check out the below link for context object.
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm
>>context handling
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db96d535c111d1829f0000e829fbfe/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.