cancel
Showing results for 
Search instead for 
Did you mean: 

What is CONTEXT OBJECTS.

Former Member
0 Kudos

Hello Experts,

Can any one help in understanding CONTEXT OBJECTS and where it is used. Please explain me in detail.

Thank indvance.

Accepted Solutions (1)

Accepted Solutions (1)

SudhirT
Active Contributor
0 Kudos

Hi,

Context objects are nothing but the XPATH representation for any field in your data structure.

You use it whenever there is a deep tree structure for your data type and you dont want to write the XPATH for condition editor in BPM, Receiver determination.

Eg. Suppose you have structure like

Header
 Items
 field1
  field2
   field3

You can create context object for Field3 in interface Objects and use it if required in conditional receiver determination or BPM conditions.

Thanks!

Edited by: sudhir tiwari on Nov 19, 2008 12:19 PM

Answers (4)

Answers (4)

former_member193376
Active Contributor
0 Kudos

Hi

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

Here is an example:

Suppose have to send a message with ClientID

<Record>

<Client>100</Client>

<Name>xxxx</Name>

</Record>

<Record>

<Client>500</Client>

<Name>yyyy</Name>

</Record>

If you create a context object to the <Client> then you can set the condition at Receiver Determination level. So based on a conditon, the message will go to client 100 or 500

Check out these

http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm

Hope this clears your doubts

Thanks

Saiyog

Former Member
0 Kudos
Former Member
0 Kudos

read this wat rules of engagement says,

Rule number one: Try to find the answer first. There are tons of resources out there, show that you have tried to find the answer. A question that shows that the person is willing to try and help themselves is more likely to be answered than one which simply demands information. Tell us what you have done to try and solve the problem yourself - often we can learn from that too!

Obviously you should check SAP's online help, and if you have not looked for SAP Notes you should make the readers aware of this. Many SDNers are very helpful and will even search for SAP Notes for you if you don't have that possibility yourself, but many will assume that you have already searched for SAP Notes.

Search the forums, the articles, the blog posts and the Frequently Asked Questions (FAQ) in the Wiki for your topic.

chirag

MichalKrawczyk
Active Contributor
0 Kudos

hi,

did you check anywhere youself first?

like sdn search ?

what exactly don't you understand with those objects?

Regards,

Michal Krawczyk