on 10-10-2010 6:03 AM
can u tell me with an example what is xpath & context object and where do we use this
Hello Sandeep
Please familiarise yourself with the forum Rules of Engagement before using the forum.
Rules of Engagement
https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement - in particular Step 1: Finding An Answer
This thread will be locked.
Regards
XI/PI Moderator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sandeep,
Concerning the 'Context Objects', kindly go through the following link :
- http://help.sap.com/saphelp_nwpi71/helpdata/EN/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
Concerning 'xPath Expressions', kindly go through the following link :
- http://help.sap.com/saphelp_nwpi71/helpdata/EN/b6/0b733cb7d61952e10000000a11405a/content.htm
Best Regards
Nishwanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
Xpath abd Context Object can be used in Interface Determination(Configuration Object).
Consider a scenario(FILE>PI>RFC) where you have a source structure as
Field1
Field2
you have two target RFC's to be called based on a condition,
RFC1 needs to be called if field1 is '1'
RFC 2 needs to be called if field1 is '2'
In this case you would be creating two message mapping and corresponding Operation Mapping(Source->RFC1 & Source->RF2)
In the Configuration part , in Interface determination you would specify both the operation mapping. Over here you can define the condition, you can use Xpath or ContextObject for this.
I hope you are clear now what an Xpath and Context Object is how how to use it.This is just a samll example.For detailed study please go through,
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm
Provide points if useful!
Regards,
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
Take a look at this xpath tutorial on w3schools.
http://www.w3schools.com/xpath/
Regards, Gaurav.
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 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.