on 09-11-2007 2:19 PM
hi gurus,
what is difference between context object and x path?
Hi rohit,
If u have multiple receiver system then to determine the reciever u can use context object.....
Context objects are alternative to XPATH expressions. It is like macros in other programming langugage. If you define this , you can use this object in the receiver determination while doing conditional receiver determination
To better idea see the blog...
/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
Check out these also...
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
XPath to show the path (Multiple Receivers)
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
Customize your 'XPATH' Expressions in Receiver Determination
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
regards
biplab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>what is difference between context object and x path?
X path - Gives the complete Hierarchal structure of the field in message payload which you are going to use it.
Context path - pointes to the field directly.
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi rohit,
Xpath will give u total hierarchal structure of the field in message payload.
where as context path is like pointer to field.
regards
sandeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you assign a XPATH to a CONTEXT OBJECT.
it is like assigning a value to a variable.
for example; Sting S = "you assign a XPATH to a CONTEXT OBJECT."
and then further u can always use S anywhere instead of 'you assign a XPATH to a CONTEXT OBJECT.'
Similarly,
you assign a xpath say root/a/aa/aaa/aaaa/aaaaa to a context object say fieldaaaaa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
xpath is the complete path of any field of the message structure.
Context object is a shorter mode of referring to the xpath. This is used when the field is under a deep heirarchy.
U can create context objetc in IR and assign it to a particular field.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.