on 05-31-2007 9:20 AM
hi all.
iam new to xi.
i just want to know what is the need of context object in xpath under reciever determination.
i tried a lot for understanding this context object but no way.
can any body expalin briefly.
waiting for ur great answer.
bye.
regards.
seeta ram.
suppose say you have a particular field in an xml and the xpath for the same is;
root/seg1/seg2/seg3/seg4/seg5/seg6/seg7/seg8/field, so instead of always using the whole xpath you can store it as a context object. It is like a variable say fieldcontextobject = root/seg1/seg2/seg3/seg4/seg5/seg6/seg7/seg8/field and in further development u can just ref. fieldcontextobject instead of the whole xml !!!!
http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
More on Xpath:
/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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sita,
Context objects are used in receiver determination step at the runtime based upon the input message .In input message we define the context object as any field this field can later be used to determine receivers from the list of receivers based upon its value
To locate an y particular field in message we use XPATH expression .This is used in context object
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seeta ,
When you want to do the conditional recevier deternimation you use the context objects . You create context objects for any element in your message type . The context variable at runtime will have actual value of that variable .
You create Context vaiable in your message interface where under the context tabl you get your message structure and you choose a particular elememtn which you want to refer at runtime and create context object for that .
In ID you refer this variable and do the receiver determination .
Thanks
Suvarna
Award pts if it helps .
Hi,
Check this blog it may be help full.
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
With Regards,
Pradeep N
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.