Assigning context object to field

Hello All,
I have created the context object in IR. Now want to assign this to one field. Where should i assign this.
I have gone through sap.help, but i am not able to get the exact place,
"To assign the context object to a request message field, enter it in the Context Object column by using the input help. For message interfaces, the structure of the request message is displayed on the Context Object tab page." 
Where is the Context object Column exactly?  Please help me.
Thanks for all your help in advance.
Sidd.

Pathak,
Edit the message interface, Go to CONTEXT tab , go to 4th comun( context Object )
and double click the field where u want to assign the context object u have already created.
While doing conditional rcvr determination u will find this context object...

Similar Messages

  • Assign Context Object "ProcessStep" to BPE variable?

    Hi all!
    What exact information does the <b>standard Context Object "ProcessStep"</b> (which should be available in BPM as stated in help.sap.com) include? Is it the ID of the current Workflow-Item / the instance ID of the parent BP process ...?
    I can not test it - since assigning this context object to a simple container variable (string) in my BPM results in the error: <b>The Value of Expression '&<MessageVarName>.PROCESSSTEP&' Cannot Serve As the Source of an Assignment</b>
    during Runtime Activation in "SXI_CACHE" !!????
    Any idea how this "ProcessStep" Context object is correctly used?
    Many thanks in advance ...
    Best regards,
    Andy
    Message was edited by: Andreas Scherf

    Read the error message:
    jservlet2\jservlet2-examples\ch09\ConfirmBookingDetail.
    ava:16: elementAt(int) in java.util.Vector cannot be
    applied to (java.lang.String)
    timeslot=table.elementAt(req.getParameter("timeslot"))Your problem is that the elementAt function in Vector doesn't have a string parameter. I've highlighted the problem
    Timetable table=new Timetable();
    String timeslot=null;
    timeslot=table.elementAt(req.getParameter("timeslot")).
    oString();
    i got the error...
    C:\Downloads\java\jasonHunter
    toString();
    ^
    why is it so?

  • Regarding using context object in Receiver determination.

    Hi All,
    I want to  implement a scenario where with following requirnment .
    i have one sender and multiple receivers.
    i have to retrive some feild value and based on the its value i have to route the message in receiver determination step by writing the condition.
    for this i have a source structure , from that i read one feild , based on that feild i do lookup.(the value of destination which i am getting is at intermidiate stage not in request message)
    If i define Xpath or context object it shows the request message in the contion editor , but i dnt  have the destination in request message.
    is there any way i can  assign the Xpath for the intermidiate MT which i have created to store the destination value.
    Please dont give me the link which point to help.sap page ..i have gone through it and it says that request msg only can be assigned context object.
    Thanks

    Hi,
    In your case Enhanced receiver determination will work.A typical usage case is if you do not yet know the names of the receivers at configuration time. In this case, you can define a mapping program, for example, which reads a list of receivers from a table or from the payload of the message at runtime.
    For configuration check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
    Thanks!

  • Regarding mandatory fields, Context Objects and Fault Message Types

    Hi All,
    1) I am creating a structure with fields "Name", "Street" and "City". While creation i want to make "Name" fields as mandatory. Is it possible. If so how to achieve this.
    2) What is the purpose of Context Object and in which situation we will use this.
    3) What is the purpose of Fault Message Types and in which situation we will use this.
    4) I am doing file to file scenario, at sender side i have set the adapter as file and transport protocol as "FTP" . It is asking for "Server", "PORT" and "Login Details". What is this FTP, for this do i need to take any login details. I am totally not aware of FTP, could please explain more about this.
    Kindly look into the above points and respond point by point.
    Thanks in advance.
    Regards,
    Prem.S

    Hi prem,
    <b>1) I am creating a structure with fields "Name", "Street" and "City". While creation i want to make "Name" fields as mandatory. Is it possible. If so how to achieve this.</b>
    give occurence 1..unbounded. for the field name.
    <b>2) What is the purpose of Context Object and in which situation we will use this.</b>
    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
    Technical Context Object in ccBPM
    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
    Difference between context object and x-path:
    diff between context object and x path
    <b>3) What is the purpose of Fault Message Types and in which situation we will use this</b>
    whenever u want to catch some exception u can use fault message types.Just for a example u r sending some data to SAP system.But due to some reason the R/3 system is down.so in this case if u have implemented fault message ..u can get a error message specifying r/3 is down....
    Fault message implementation.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    How to Guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f4dce
    <b>4) I am doing file to file scenario, at sender side i have set the adapter as file and transport protocol as "FTP" . It is asking for "Server", "PORT" and "Login Details". What is this FTP, for this do i need to take any login details. I am totally not aware of FTP, could please explain more about this.</b>
    there are two transport protocol for File adapter
    1)FTP(File transfer protocol)
    to know abt FTP check here
    http://help.sap.com/saphelp_nw04/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/content.htm
    2)NFS(Network File System)
    in server :Enter the host name or IP address of the FTP server.
    in PORT:Specify the port number of the FTP server.
                 The default is the standard port for the FTP server (21)
    check here
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards
    BILL
    <b>***reward with points if ity helps u!!</b>

  • Assigning External content type field column value using Client Object Model

    I have a problem assinging External column value to ListItem object with client object model-based application I'm developing. To be precise, I am able to retrieve data related to external content type by reading external list created from this content type
    but I don't know how to properly use it to assign value to this field. By doing some research on my own I concluded that BDC ID column from external list is the way to go since it uniquely defines selected row from external list but that doesn't
    tell me much since I don't know what to do with it. Currently I ended up with partial solution - to assign plain string value of picker column but that makes this value visible only in "View Properties" option on Sharepoint and not in "Edit Properties"
    which pritty much makes sence since it isn't properly related to rest of the data in specific row. Does someone have a better solution for this?
    Igor S.

    I think I understand your problem.
    In my example I have an external data column "Beneficiary Name", using a Beneficiary external content type (accessing a table of beneficiaries in a SQL table).
    I want to set the "Beneficiary Name" property using the client object model. I know the name of the beneficiary but not the ID value.
    It is a fairly simple solution. You just need to identify the name of the property SharePoint assigns to the ID field, in my case it is called "Beneficiary_ID". Then set the two properties as follows:
    thisItem["Beneficiary_Name"] = "Charitable Trust";
    thisItem["Beneficiary_ID"] = -1;
    thisItem.Update();
    Setting the ID property to -1 causes the server to do an automatic lookup for the ID from the value assigned to the item.

  • Error: Assignment of Context Object is Incomplete

    I am experiencing a rather odd problem in PI 7.1 SPS 7 - I am unable to add a context object to my Service Interface.
    First I create an xsd:string context object called "JobNumber".
    In the same SWCV, I open my service interface.  (abstract, stateless XI 3.0 Compat, asynch) and click the "Context Object" button.  In the Context Object Assignment screen, I navigate to the appropriate node in my schema and assign the context object.  When I save & activate the changes to my service interface I get this error:
    Check Result for Object SynchIncident
    Check of operations for service interface
    Check of operation SynchIncident
    Assignment of Context Object OMS_JobNumber | http://oge.com/ccs/order is incomplete
    Furthermore, if I click the button "Check and Correct Assignments for Context Objects" PI removes the context object altogether.
    Operation 'SynchIncident':
    Assignment of Context Object OMS_JobNumber |
    http://oge.com/ccs/order is redundant and will be removed
    Any suggestions for resolving this issue?

    hi
    Most likely, applying the latest XI patches for your current SP release will resolve this issue. The components that you need to apply the patches are:       
    SAP-XIAFC                                                              
    SAP_XIAF                                                               
    SAP_XIESR                                                              
    SAP_XITOOL    
    Regards
    Mark
    Edited by: Mark Smyth on Aug 25, 2009 8:53 PM

  • Dynamic Configuration of custom Context Objects: is it possible?

    Guys,
    is it possible to use Dynamic Configuration for custom Context Objects as we normally do to technical context objects?
    Also, is it possible to use a context object in receiver determination, even if it is not assigned to a message interface?
    My case: I need to use condition at receiver determination but I dont want to read a field from payload. Instead, I want to write that context object with dynamic configuration and use it at receiver determination runtime.
    I want to do this in order to avoid having to extend the payload's message type because of this extra field for condition (actually, its not that I dont want to, its that I cant. The message type is defined by 3rd party and cant be changed). If it is possible to keep that information at header instead of payload, it'd be great.
    Kind regards and thanks in advance,
    Henrique.

    Hi,
    >>>>>Just a last comment: do you need to deploy any code for the adapter on SDM or just the "fake adapter metadata file" is enough?
    no SDM
    just the metadata file as per my blog
    glad this is what you wanted
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Context object problem

    hi,
    i have created a context object of type xsd:string and have assigned to a Message interface and have activated the change list.
    In Integration directory when i am configuring the receiver determination i wanted to specify a condition.
    i cannot see the context object in my condition editor. my sender is a business system with an SLD entry.
    but if i use my sender as a business service i can see the context object.
    my question is why cannot i see the context object when the sender is a business system.
    appreciate ur response
    thanks

    Hi.
    I'm having the same problem.
    Mi sender is a business system with a ZBAPI. R3->XI (BPM)
    I've created a context object and assigned to a field of ZBAPI.
    When i create the receiver determination, as sender i put the R3, with the ZBAPI and as receiver, i've got a BPM. When i try to set the condition, i cannot see the context object neither ZBAPI in Xpath.
    I have only one software component and i would like to use this context objet in order to set the BPM that will continue the process.
    Thanks.

  • Container operation step in BPM using context object

    Hi all,
    in my BPM I have a send step using the file adapter. The file adapter builds a dynamic filename.
    Now I want to have the filename back into an acknowledgement. First, I need it in the container, right?
    So after the send step, I have a container operation step as follows:
    target: simple string
    mode: assign or append, doesn't matter
    expression: In expression editor, I select Interface variable 'message', then context object 'FileName' from namespace http://sap.com/xi/XISystem/File
    This should be the filename from the fileadapter, right?
    In SXI_Cache, I get return code 99:
    The Value of Expression '&MESSAGE.FILENAME&' Cannot Serve As the Source of an Assignment
    Why is there a context object, if you can' t use it??

    As far as I know, the filename in the Dynamic Header will be lost in when the message enters the BPM.
    As a work around, make a mapping at the Interface Determination level that reads the filename from the SOAP header and sets it into the payload which can be accessed inside the BPM.
    Reason the way I see this that the BPM does not store the filename is ,
    1. What if you have multiple receive steps in the BPM with a fork.
    2. How would the context object know which filename you want to read?
    The reason you see this in the context object is because all Context Objects are the info you get from the Adapter metadata.
    Regards
    Bhavesh

  • ESR Context Objects: using in ABAP or Java

    Hello, experts!
    Is it possible to use (get values of) Context Objects assigned to Service Interface in ABAP or Java?
    If it's possible, than how can we do that?
    BR,
    Vika

    Hello,
    Is it possible to use (get values of) Context Objects assigned to Service Interface in ABAP or Java?
    Context objects assigned to a service interface can't be retrieved via dynamic configuration hint: I tried it the hard way ;-). Not sure about ABAP, but the same could also be true. I think only the COs that came in with adapter metadata can be accessed(conf.get) and overwritten (conf.put).
    Corrections are welcome.
    Hope this helps,
    Mark

  • Context object

    Hello,
                 What is context object ? where this will be used?
                                                                              shyam

    Hi Shyam,
    when you have a deep nested XPATH, and you need to use it in multiple locations it can become tricky and so in your IR you create a context object to refer to the XPATH.
    Note: For example, you have 2 receivers (receiver1 and receiver2). You need to choose the receiver based on the vale present in any source node. Then you can use context object to choose the receiver dynamically at run time.
    Create a context object in IR and assign it to an outbound interface.
    In ID, while creating Receiver Determination, in condition editor you can specify the conditions….. like multiple receivers you have to specify.
    Creating Context Objects --> Quite Simple.
    1. Create a new context object --> Right Click on Context Object --> New --> and then give the type of the context element. Integer, char ,etc.
    2. Now, go to the Message Interface and you will find the column Context object. To the corresponding XML element, give your context object name
    Comparison between XPath and Context Object
    XPath     
    /InvoiceOut/customerData/address/postalCode = “69120”
    Context Object
    postalCode = “69120”
    Regards,
    Ramana.

  • Context object in Receiver Determination

    Hi,
    I am trying to use context object in receiver determination for routing messages to different receivers. From help document , I know that certain context objects are already present. Can we create our own context object in ESR and how?
    I am using PI7.1
    Thanks,
    Neelansha

    Hi Neelansha,
    You can create a context object for only a request message(source), i.e, if you have a very deep nested structure then
    you can use context objects which contains the XPath expression of your request message.
    Can we create our own context object in ESR and how
    For steps to  create- go to  context object - create new-->select type (int,string..)-
    go to your   source Service  interface-click on context obj tab-select the element to which you want to assign the context obj  name
    refer activities mentioned in this help link
    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
    please note that you have to choose interface pattern as  Stateless (XI 3.0 Compatible) ,otherwise you will not be able to see the context object in Receiver determination editor.
    I found the  standard  context objects  very useful and i think we can  sometimes avoid using the dynamic configuration
    i have used the file name  context object  in  expression editor in receiver determination to create a condition for routing the messages to two different Business services.
    Regards,
    Srinivas

  • Context objects

    Hi.
    I'm trying to use context object in order to decide what BPM should be used in a receiver determination.
    As sender, i have an R3 with an ZBAPI_CONFIRMATION.
    As receiver, 4 BPM. Each BPM is different and depending of a value of ZBAPI_CONFIRMATION, a BPM has to be executed.
    In repository, in imported objects, i have linked the context object to the field AAAA of ZBAPI_CONFIRMATION.
    The problem is that i can't view the context object in the condition of receiver determination.
    Any solution?
    Many thanks.

    I did the same and it worked for me.
    Add the product in the technical system(SLD).
    Select the check box for this particular product in the business system(SLD).
    In the Integration directory, do a SLD cache refresh. Use the menu Environment --> Clear SLD Data Cache.(this is the main thing)...
    If this does not work.... try removing the business system and adding it back again...
    Thanks,
    Renjith.

  • Context Object for IDOC in Receiver Determination

    hi,
    I am trying to filter the receivers based on the vendor values in IDOC ORDERS using Context Object.
    I don't see the vendor field where i could filter the value.
    Any ideas would be greatful.
    Thanks,
    Tirumal

    hi,
    Conditional Receiver determaintion is possible only on the Source Message. the reason being that the integration engine will first execute receiver determiantion--> interface determiantion --> message mapping.
    If you are getting the IDOC as a source, then you can use the XPATH to do conditional receiver determination.
    Regards,
    Bhavesh

  • Internal number assignment for object AUFTRAG

    Hello,
    Previously with SAP PM module we had configured the maintenance work order number range for internal assignment to a narrow range of numbers i.e. 12000000 to 12999999.
    Following rolling out the functionality to other sites, we required to extend the internal number range (to accomodate the volume to be produced) and have updated this in configuration i.e. 300,000,000,000 to 399,999,999,999.
    We are now experiencing an information message each time we Save a new maintenance work order;
    Internal number assignment for object AUFTRAG (numbers are in critical area)
    Message no.  RU 153
    When the user clicks Enter to continue a warning message is also displayed on the status bar;
    Number XXXXXX for order type XXX within critical area
    Message no. CO 395
    However, we have investigated this and the work orders are creating normally after this. We have created in the system, the work orders with the prevous number range and also hunders of work orders with the new number range, we do not appear to be experiencing our buffer.
    I have check the settings in SNRO config setting. The settings appear as standard with a warning buffer of 5% and the No. of numbers in buffer = 20.
    Please can anyone advise how to remove this information message or how to update the system to resolve.
    Regards,
    Hayley

    The message is given by the number range function, according to the configuration of field percentage. You have entered 5% - which means when you reach within 5% of the end of the numbers, you should get the warning. Your range is 300,000,000,000 to 399,999,999,999 My calculation that you should get the warning around 395,000,000,000
    I suspect that the issue is linked to buffering of the numbers. Is it resolved??

Maybe you are looking for

  • Multiple accounts on the same resource in Oracle Waveset 8.1.1 patch 5

    Hi IDM Experts! I've customized my userforms in order to create multiple accounts on the same resource using the syntax accounts[<resourceName>|n].<attribute> like the documentation suggests. That worked fine using Sun Identity Manager 8.1. However,

  • Copy from A/P Invoice to A/P Credit Memo

    Hi, Error msg from SAP Business One when I was creating the A/P Credit Memo. Please advice me. Transaction currency differs from account or BP currency. I've set the particular account currency in Chart of Accounts to All Currencies, but the same err

  • Special/Swedish characters in an AXL request

    Hello, I am developing an application that is adding a user to the Call Manager (4.1). When I try to add a name with swedish characters (???) the CCM changes them to question marks "?". I have tried adding the swedish characters unicode encoded, ? =

  • 'Hyperlinks only' setting not working on iPad

    I have Keynote set for 'Hyperlinks only' for slide page changes in the Inspector/Document. However, when I use the presentation on my new iPad, it goes back to 'normal' in that touching anywhere on the screen (away from a hyperlink) advances to the n

  • How to use my Declarative Component in query component ???

    Hi everybody, I want to change inputDate in query component to my declarative component for Date fields. I did not find any way except implementing the Model of Query component so read "Web User Interface Developer’s Guide for Oracle Application Deve