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.

Similar Messages

  • Idoc - jdbc context object problem

    hi all,
    in my scenario i am sending message from 1 idoc to 3 oracle table,
    i have one condition for one oracle table.
    That if "e_code" field of idoc is empty then no record should be insert into table1.
    so what i have to do.
    i also try context object but i have define context object but it is not showing in id.
    is there any other way to resolve my problem.

    Hi Alex,
    No need to go upto MI and IM
    u control on Message Mapping MM front.
    Just check "e_code" is "0 - empty" or exists
    based on that generate u r Statement node of u r table1.
    this would do
    rgds
    srini

  • 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?

  • Context Object not found in Integration Directory

    Hi experts,
    I am trying to do a content based routing scenario using BPM.
    The Scenario is
    ASYNC -> SYNC -> ASYNC
    The synchronous step here refers to a rfc call. The response from this determines the ASYNC systems to which data should be sent.
    I have declared container objects REQ and RESP accordingly in the BPM. Also have a Context object for the response.
    My issue is, while doing receiver determination, I am unable to find neither RESP message type ( for XPATH ) nor a context object declared in ESR for creating an expression.
    Could someone please help/guide me to resolve this.
    Please let me know if I was not clear.
    Thank you.

    Hi,
    I am on 7.11.
    The problem I am facing is that I am unable to find the corresponding structure to be used for XPATH.
    As mentioned, the scenario is
    ASYNC -> SYNC -> ASYNC's.
    I have two container variables : REq and RESP. RESP is populated after the SYNC call. The message type for the subsequent ASYNC is REQ ( step description ).
    So when I do receiver determination for ASYNC, I am able to see only REQ message type for building the expression. ( Obvious )
    But I would need RESP to build it.
    Please advise.

  • Context Obect Problem in PI 7.1

    Hi all,
      I am using PI 7.1,
    I have created the Context Object and Assigned to the "Service Interface(Outbound)" Message in ESR.
    and I have created the Receiver Role where I selected the Context object and gave the Receiver System also.
    Now I am getting the Error in Receiver Determination, while inserting the Receiver Role.
    Message is as follow,
    Check Result for Object | APPL1 | PlainStudent_Sync_out Checking local rule... Checking rule testt used and its context objects
    Cannot read context objects because software component version of interface is unknown
    Any Idea.. what may the Problem..?
    Thanks,
    Dhanabal

    Hi Dhanabal,
    Try the steps below
    1. Open your Outbound Message Interface (which you are using in your Receiver Determination) in IR, edit it and change the Interface pattern (which is there just below the category "Outbound") to "Stateless (XI30 - Compatible)" , save it activate it.
    2. Follow the same step for your Inbound Message Interface. Change the Interface Pattern from "Sateless" to "Stateless (XI30 - Compatible)" .
    3. Go to ID. Remove your Outbound and Inbound Message Interface from their respective Business Service/Comp and add it again.
    4. Create your your receiver determination again using the Outbound and Inbound MI you have changed.
    5. Open condition editor of your receiver determination.You should be able to see your Message Interface and can choose the XPath
    Thanks,
    Raj

  • Context menu problem in ADF 11g

    Hi All,
    A context menu problem puzzle me. Following is the source,
    =======================================
    <af:tree id="tree" value="#{treeTest.collectionModel}" var="node"
    contentDelivery="immediate"
    disclosedRowKeys="#{treeTest.treeDisclosedRowKeys}"
    rowDisclosureListener="#{treeTest.rowDisclosureListener}"
    rowSelection="single">
    <f:facet name="nodeStamp">
    <af:group id="g1">
    <af:image source="/image/#{node.treeLevel}.jpg" id="i1"
    inlineStyle="width:16px; height:16px; vertical-align:middle;"/>
    <af:outputText id="ddl" value="#{node.name}">
    <af:showPopupBehavior popupId="myPopup" triggerType="contextMenu"/>
    </af:outputText>
    </af:group>
    </f:facet>
    <f:facet name="contextMenu">
    <af:popup id="myPopup" popupFetchListener="#{treeTest.popupListener}"
    contentDelivery="lazyUncached">
    <af:switcher id="s1" facetName="#{treeTest.level}">
    <f:facet name="1">
    <af:menu text="menu 1" id="m1">
    <af:forEach items="#{treeTest.menuItems['0']}" var="menuItemss">
    <af:commandMenuItem text="#{menuItemss.name}"
    actionListener="#{bindings.onNodeClicked.execute}"
    disabled="#{!bindings.onNodeClicked.enabled}">
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </f:facet>
    <f:facet name="2">
    <af:menu text="menu 2" id="menu1">
    <af:forEach items="#{treeTest.menuItems['1']}" var="menuItemss">
    <af:commandMenuItem text="#{menuItemss.name}"
    actionListener="#{bindings.onNodeClicked.execute}"
    disabled="#{!bindings.onNodeClicked.enabled}">
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </f:facet>
    </af:switcher>
    </af:popup>
    </f:facet>
    </af:tree>
    ========================================================
    I want to get the commandMenuItem tag's information, i use following code in onNodeClicked method try to get it,
    FacesContext facesContext =FacesContext.getCurrentInstance();
    ELContext elContext = facesContext.getELContext();
    ExpressionFactory expressionFactory =facesContext.getApplication().getExpressionFactory();
    ValueExpression exp =expressionFactory.createValueExpression(elContext,"#{menuItemss.name}", Object.class);
    but the exp is null.
    Please help me to solve this problem.
    Thank you very much.
    Edited by: Yitao Li on Dec 4, 2009 1:06 PM

    You might need a #
    ValueExpression exp =expressionFactory.createValueExpression(elContext,"#{menuItemss.name}", Object.class);

  • 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.

  • 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

  • Reusing the Initial Context Object

    Hi all
    Environment: Weblogic 452
    JNDI implementation of Weblogic 452 is based on Javasoft JNDI 1.1 and
    SPI specifications.(refer: Developer docs for 452).Javadoc of
    InitialContext for JNDI 1.1 says (refer -
    http://java.sun.com/products/jndi/javadoc/index.html)
    An InitialContext instance is not synchronized against concurrent access
    by multiple threads. Multiple threads each manipulating their own
    InitialContext
    instances need not synchronize. Threads that need to access a single
    InitialContext instance concurrently should synchronize amongst
    themselves
    and provide the necessary locking
    1. Does reusing the InitialContext object accross threads for lookup and
    then execution of remote methods cause any problems? or should we
    synchronize access?
    How weblogic 452 handles this.
    2. Let say i do this
    a. get InitialContext
    b. do lookup
    c. get remote reference
    d. close context
    e. execute methods on the remote reference got in step c.
    does doing d ie..closing context cause problems in step e or later
    on....
    3. What happens if we dont close the intial context...
    Does WLS 452 intelligently garbage collect them and release any
    resources held internally by the initial context object?
    How much is the overhead?
    Is Initial Context heavy ie.. holds resources like sockets/etc...?
    thanks in advance

    I do not have an exact answer for most of your questions. From my
    experience and from research, I would suggest that the following is safe:
    Within an HTTP request, instantiate an InitialContext and using it for the
    duration of the request only (i.e. same auth info, same thread). I believe
    the same holds true for home interfaces. That is within the "web
    container", though. The choice of "caching" the context in the "ejb
    container" is a even easier for threads (ejb guarantee -- only one thread
    with access to your ejb at a time), but harder due to lack of clear spec on
    auth issues.
    Cameron Purdy, LiveWater
    "S Rajesh" <[email protected]> wrote in message
    news:[email protected]...
    Hi all
    Environment: Weblogic 452
    JNDI implementation of Weblogic 452 is based on Javasoft JNDI 1.1 and
    SPI specifications.(refer: Developer docs for 452).Javadoc of
    InitialContext for JNDI 1.1 says (refer -
    http://java.sun.com/products/jndi/javadoc/index.html)
    An InitialContext instance is not synchronized against concurrent access
    by multiple threads. Multiple threads each manipulating their own
    InitialContext
    instances need not synchronize. Threads that need to access a single
    InitialContext instance concurrently should synchronize amongst
    themselves
    and provide the necessary locking
    1. Does reusing the InitialContext object accross threads for lookup and
    then execution of remote methods cause any problems? or should we
    synchronize access?
    How weblogic 452 handles this.
    2. Let say i do this
    a. get InitialContext
    b. do lookup
    c. get remote reference
    d. close context
    e. execute methods on the remote reference got in step c.
    does doing d ie..closing context cause problems in step e or later
    on....
    3. What happens if we dont close the intial context...
    Does WLS 452 intelligently garbage collect them and release any
    resources held internally by the initial context object?
    How much is the overhead?
    Is Initial Context heavy ie.. holds resources like sockets/etc...?
    thanks in advance

  • Technical Context Object in ccBPM

    Hi,
    I'm trying to use a technical context object (filename) as part of a condition in a ccBPM. Although I can see the correct value of the dynamic attribute in sxmb_moni (e.g. adapter-specific attributes are set correctly), the condition is not evaluated correctly.
    Is this a XI bug?
    Regards,
    Torsten

    Torsten,
    If you look into this thread and read through the discussion you will get some insight on why a few parameters are not accessible inside the BPM.
    Re: Message id in BPM
    <i>We ran into the same issue and submitted an OSS Message about it. Here's the response from OSS:
    it's a known issue.
    when programming a mapping you must differenciate between two cases:
    Will your mapping be executed on the BPE (business process engine) or
    within an ordinary step on the integration server.
    Due to the different functionality of the BPE (e.g. split/merge) some
    parameters are not accessible and will not be evatuated there. This is a
    behaviour that was designed that way.
    if you are calling the mapping from the BPE engine, the MEssage ID
    and other constants are not accessible. The BPE engine can
    split/merge XI messages and then i makes no sense to correlate
    the messages in the BPE engine to any Message ID.
    If you are executing the mapping
    within an ordinary step on the integration server
    all Mapping Runtime Constants mentioned in the document under
    http://help.sap.com/saphelp_nw04/helpdata/
    en/84/4afc51f65c4e4fabfbbbd25f548ab7/frameset.htm
    ->Design -> Designing Mappings-> Imported Archives (XSLT/Java)
    ->java mapping
    are accessible.
    A possible solution for your problem would be to map the MESSAGE ID
    into the Xi payload before the XI message is transferred to the
    BPE engine. In the BPE engine you can then read the MessageID
    from the XI payload.</i>
    Regards
    Bhavesh

  • 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

  • Xpath and context objects

    hi expects,
        what is difference between xpath and context objects?

    Rohit,
    Check this thread for bhavesh reply for this:
    Context object
    ---Satish

  • 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>

  • 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>

Maybe you are looking for

  • Problem upgrding from SP1 to R2

    Hi I am trying to upgrade a ConfigMgr standalone primary site running SP1 CU5 to R2. I have done numerours upgrades in the past but have never seen the errors I am getting before. The environment is a bit special because it consist of four sperate do

  • Why am I getting an insufficient memory error in Illustrator?

    I am getting an insufficient memory message on my illustrator program when I try to work on a particular document. I remember long ago when I used to install my programs on my Mac there were memory settings for the graphics programs. Does the pc work

  • To Find Out In Which PC has this user logged in

    Dear All, Will i be able to the User dtls wtih respect to an User ID as to which PC has logged into. The problem is a person changed soem documents and the user is denying it . So i was try to find out if we can get the PC number to which he has logg

  • AT end of... some issues in using them

    Hi ALL, I am having a req where i have to calculate the no of empty bin for each 3 and 4 row combination.... and each combination will be moved to flat file. so i tried to use AT end of ( field) .... as below:    loop at it_lagp into wa_lagp.       m

  • I just downloaded this movie and I'm being told that it "requires QuickTime, which is not supported"???

    I'm attempting to download and play a digital copy from the Jurassic Park Trilogy (for now, only Lost World). I'm able to play the iTunes extras, but attempts to play the actual movie returns the dialog "This movie requires QuickTime, which is not su