cancel
Showing results for 
Search instead for 
Did you mean: 

xpath

Former Member
0 Kudos

Hi All,

Could you please explain about xpath and context objects and context editor.

i am very thankful to you all in advance.

Thanks & Regards,

Nagarjuna.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Kumar,

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

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

see here the difference between context object and xpath.

regrds

biplab

former_member335553
Active Contributor
0 Kudos

Also context object is nothing else but a alternative/varaiable for XPath.(Usage to avoid multiple XPath).U use this in ID . Context Object is assigned to the corresponding Message interface which would be used in Receiver determination Interface Determination conditions

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

.

former_member267355
Active Participant
0 Kudos

Hi,

xpath and context object are reference for a variable.

Check this links

http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm

/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

Regards,

Sakthi

Former Member
0 Kudos

xpath is adress path to a element or attribute of xml documet.

just like your the path to adress file in windows.

context object represents a xpath by a simple name for accessing element or attribute conveniently.

context editor is a editor of context.:)

Former Member
0 Kudos

Hi

<b>XPath</b> standard for navigating in XML documents.It is use dto locate the information from the structure of an XML document.

<b>Context object</b> is alternative to XPath for accessing the context of the message.

It is used to accsess the field contents.

<b>Context Editor</b> provides graphical support for the creation of controller context trees.It is used for creating the context structures of all controller types.

Regards

Yugapreetha

former_member335553
Active Contributor
0 Kudos

Hi

XPath is a language for finding information in an XML document. It is used to navigate through elements and attributes in an XML document. For e,g to do conditional routing i.e based on the payload data field you need to route into some receiver in that case you need to access that element. Totally there is a need to access xml element at any point of time.

To know about XPath expression, this link might help you :

http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm

Following links will be helpful to you to understand some actual usage of Xpath expression :

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb...

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers