BPM starting question

Hi all,
I have developed a BPM which basically reads 2 files (INVOICES and BILLING) makes some transformation and send it to a SAP R/3 system.
Both files have a data field which it is used to correlate them.
So when sender system send INVOICES file or BILLING file, SAP XI read it, begin the BPM which waits for the other to come. When the other file come the BPM continue in their next steps.
But we have experienced the next situation:
- Sender systems send 2 INVOICES files (duplicate files) and some time later send a BILLING file (only one).
The process:
1.- SAP XI reads the first INVOICE file and starts a BPM process.
2.- SAP XI reads the other INVOICE file and starts another BPM process.
3.- SAP XI reads the BILLING file and enroute it to the 2 BPM process
Is there any configuration in my BPM or configuration scenario which doesn`t allow this situation. I only want one BPM for one pair of files.  
Thanks.

Thanks for your comments Udo.
I need the correlation because there are days in which I receive several invoices and billing files (specially the first days of the month due to the bussiness process in sender system).
But the source of the problem is on the sender system. Some times the generation of the files is done manually, and there are situations in which operator makes mistakes and generate multiple files for one day.
The onwer of receiver systems wants that SAP PI can control this kind of situations. One situation is what I have described before: the BPM collecting pattern should work with two files.
The normal behaviour is:
INVOICE1 --> BPM (instance #1)
BILLING1  --> BPM (instance #1)
INVOICE2 --> BPM (instance #2)
BILLING2  --> BPM (instance #2)
INVOICE3 --> BPM (instance #3)
BILLING3  --> BPM (instance #3)
INVOICE4 --> BPM (instance #4)
BILLING4  --> BPM (instance #4)
But my situation is:
INVOICE1 --> BPM (instance #1)
INVOICE1 --> BPM (instance #2)
BILLING1  --> BPM (instance #1) BPM (instance #2)
Regards.

Similar Messages

  • BPM Scenario question

    Hi
    i created a bpm scenario according to the blog "RFC Scenario using BPM --Starter Kit" by Arpit Seth. I get the file into XI successfully, but after this first step nothing else happens. In the SXMB_MONI i have only one successful message that read my file.
    How can i debug the reason of this problem?
    thx in advance
    Michael

    i haven't a SXMB_MONI_BPM. But i checked SXMB_MONI again and found 2 error messages from BPM belonging to the resend tests from the PE trace.
    The Response message contains following error:
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="" />
    Is this a BAPI problem?

  • BPM startting with two IDoc Types

    Hi All!!
    I have designed a BPM starting with two IDocs (MATMAS05 y CLFMAS02). Is designed with two start process in a switch. When one comes, wait a minute for the other. I'm not sure what IDoc comes first to the process, the I can lose data.
    Somebody has any idea tto encapsulate the infornmation of the 2 IDocs without a ZIDoc?
    Thanks and regards,
    Manuel Míguez.

    Hi,
    sounds like a
    > Collecting and Bundling Messages - Multiple Interfaces
    scenario like described here:
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
    Regards
    Patrick

  • Blogg RFC scenario using BPM - starter kit (more detail on BPM required)

    I follow this blog to the letter - because it is the same as my scenario:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
    Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.

    Hi Lynn!!
    Check this SAP help for certain requirements when to use BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
    Take a look at this blog by Michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in BPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in BPM
    Check this weblog for a step by step procedure:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    or case study go thru this blog:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    for checklist:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
    /people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
    Thanks !!
    Pls reward if useful

  • BPM performance question

    Guys,
    I do understand that ccPBM is very resource hungry but what I was wondering is this:
    Once you use BPM, does an extra step decreases the performance significantly? Or does it just need slightly more resources?
    More specifically we have quite complex mapping in 2 BPM steps. Combining them would make the mapping less clear but would it worth doing so from the performance point of view?
    Your opinion is appreciated.
    Thanks a lot,
    Viktor Varga

    Hi,
    In SXMB_ADM you can set the time out higher for the sync processing.
    Go to Integration Processing in SXMB_ADM and add parameter SA_COMM CHECK_FOR_ASYNC_RESPONSE_TIMEOUT to 120 (seconds). You can also increase the number of parallel processes if you have more waiting now. SA_COMM CHECK_FOR_MAX_SYNC_CALLS from 20 to XX. All depends on your hardware but this helped me from the standard 60 seconds to go to may be 70 in some cases.
    Make sure that your calling system does not have a timeout below that you set in XI otherwise yours will go on and finish and your partner may end up sending it twice
    when you go for BPM the whole workflow
    has to come into action so for example
    when your mapping last < 1 sec without bpm
    if you do it in a BPM the transformation step
    can last 2 seconds + one second mapping...
    (that's just an example)
    so the workflow gives you many design possibilities
    (brigde, error handling) but it can
    slow down the process and if you have
    thousands of messages the preformance
    can be much worse than having the same without BPM
    see below links
    http://help.sap.com/bp_bpmv130/Documentation/Operation/TuningGuide.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/sap%20exchange%20infrastructure%20tuning%20guide%20xi%203.0.pdf
    BPM Performance tuning
    BPM Performance issue
    BPM performance question
    BPM performance- data aggregation persistance
    Regards
    Chilla..

  • Three Getting Started Questions with RV180

    I recently purchased the RV180 router. I have a few quick "getting started" questions about using it:
    1. Is the "Static DHCP" the screen I need to use in order to reserve DHCP addresses (see attached)? That's where I've been reserving all my DHCP addresses with. I'm just making sure I have the correct screen.
    2. Do I need to do anything to "backup" my configuration, or will my settings still be around when the RV180 reboots?
    3. Do I need to run a check for firmware update on the RV180, and how do I update the firmware on the RV180 (as well as the SG200-18), or does it usually come with the latest firmware out-of-the-box? If I go ahead and put a service contract on the RV180 and SG200-18, will I receive my firmware updates automatically? Are the part numbers for the service contracts the same for the RV180 and SG200-18?
    Thanks!

    Hello,
    1. Is the "Static DHCP" the screen I need to use in order to reserve DHCP addresses (see attached)? That's where I've been reserving all my DHCP addresses with. I'm just making sure I have the correct screen.
    Yes, that is the correct location to set DHCP reservations.
    2. Do I need to do anything to "backup" my configuration, or will my settings still be around when the RV180 reboots?
    Whenever you hit save after making a change you configuration is saved and will survive a reboot.
    If you would like to save  backup copy of your configration file just go to Administration >> Backup/Restore settings.
    3. Do I need to run a check for firmware update on the RV180, and how do I update the firmware on the RV180 (as well as the SG200-18), or does it usually come with the latest firmware out-of-the-box? If I go ahead and put a service contract on the RV180 and SG200-18, will I receive my firmware updates automatically? Are the part numbers for the service contracts the same for the RV180 and SG200-18?
    You will need to manually update the firmware on the RV180.  That firmware is available here:
    RV180 Firmware
    It is simply one file, that you upload under Administration >> Firmware Upgrade.  There is no bootcode for the routers (like there was with your switch)
    You can locate this in the future the same way you did the SG200 firmware (because this link may change) on the Cisco website.
    As for the service contract, the part number for both of those devices will be CON-SBS-SVC2.
    Hope that helps, and I will try to get to your other questions sometime today as well.  Also since you just bought there you are of course welcome to call in and get some support over the phone, both your devices do come with 1 year of technical support, and it sounds like you are getting or have contracts, so I guess make that 3 years.
    Cisco Small Business Support Center Contact Numbers
    Thanks again for choosing Cisco,
    Christopher Ebert - Advanced Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • NW BPM start event not calling

    Hi Experts,
    I have deployed below process instance with start event having message trigger - synchronous service interface.
    While testing from soapUI it gives error like:
    <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <jpr:Fault xmlns:jpr="http://com.sap/aii/proxy/xiruntime/">com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.</jpr:Fault>
             </detail>
          </SOAP:Fault>
    I already searched SDN on the above error, but no clue.
    So I am pasting complete logs from NWA:
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1021)
    at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:109)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:245)
    at com.sap.engine.services.webservices.espbase.xi.impl.ESPXIMessageProcessorImpl.process(ESPXIMessageProcessorImpl.java:38)
    at com.sap.aii.proxy.xiruntime.core.esp.ESP_XI_MessageAdapter.invokeXI2ESPProcessor(ESP_XI_MessageAdapter.java:430)
    at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeImpl.syncInvokeWSInterfaceIn(SyncInvokeWSInterfaceIn_PortTypeImpl.java:23)
    at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeBean.invokeMethod(SyncInvokeWSInterfaceIn_PortTypeBean.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
    at com.sun.proxy.$Proxy3245.invokeMethod(Unknown Source)
    at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.parallelWSCall(XmlProxyJ2EE.java:649)
    at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:147)
    at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:206)
    at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:181)
    at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:115)
    at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:78)
    at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
    at com.sun.proxy.$Proxy3271.onMessage(Unknown Source)
    at com.sap.engine.messaging.impl.spi.ServicesImpl.deliver(ServicesImpl.java:362)
    at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1098)
    at com.sap.engine.messaging.impl.core.queue.consumer.RequestConsumer.onMessage(RequestConsumer.java:75)
    at com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:1033)
    at com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:58)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:987)
    ... 77 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:163)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
    ... 79 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Ariba_Order_request:START_EVENT_UC_Start(
          com.sap.glx.adapter.UnifiedConnectivityAdapter:Request request,
          com.sap.glx.adapter.BPMNAdapter:Event_0_Start_5b8dad8a77346e54760570e1d1c8c088 event){
      messageId=request:messageId;
      initiator=request:initiator;
      kicker=request:kicker;
      instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(initiator, null, kicker, false, messageId, null);
      bridge=new com.sap.glx.adapter.internal.Synchronizer:Bridge_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, null, null, null, null);
      bridge:setRequest(request);
      token=new com.sap.glx.adapter.BPMNAdapter:Token_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, 2, null, null, null);
      delete event;
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E0B249478BB1FD54F78611E3B53000059A3C7A00", instance, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_1_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      view_7=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_TextVariables_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      instance:setContainerObject("TextVariables", view_7);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_5=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Ariba_Order_request_PotentialOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_8=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_Ariba_Order_request_ExcludedOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_5_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_6=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_Administrators_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      instance:setContainerObject("Administrators", role_6);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_6_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_2=new com.sap.glx.adapter.internal.ContainerAdapter:Context_1_ProcessInstanceAttributes_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      instance:setContainerObject("ProcessInstanceAttributes", context_2);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_8_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_1=new com.sap.glx.adapter.internal.ContainerAdapter:Context_0_reqdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_11_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_4=new com.sap.glx.adapter.internal.ContainerAdapter:Context_3_payloadID_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      payload=request:getData();
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("", "$cXML", payload, "365B925081E9760C6CFC8AAE6A38BE4A");
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "B0A4F97FB4313113B63F888AA86D7449");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", copy, "B0A4F97FB4313113B63F888AA86D7449");
      data=context_4:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "349213D98BEBBF54C08B2D9F20B3D5C7");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", copy, "349213D98BEBBF54C08B2D9F20B3D5C7");
      mapper:map("E0B249478BB72A80F78611E38B9D00059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, yves_out);
      data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", "B0A4F97FB4313113B63F888AA86D7449");
      context_1:setData(data);
      data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", "349213D98BEBBF54C08B2D9F20B3D5C7");
      context_4:setData(data);
      delete yves_in;
      delete yves_out;
      viewUpdater=new com.sap.glx.adapter.internal.ContainerAdapter:ViewUpdater();
      delete viewUpdater;
      delete mapper;
      extractor=new com.sap.glx.adapter.internal.Transformer:DataExtractor();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", data, "B0A4F97FB4313113B63F888AA86D7449");
      data=context_4:getData();
      yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", data, "349213D98BEBBF54C08B2D9F20B3D5C7");
      value1=extractor:extractAs("E0AAACCD28D4CDD4F78711E3840300059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, "BOOLEAN");
      delete yves_in;
      delete extractor;
      subscription=new com.sap.glx.adapter.internal.CorrelationAdapter:Subscription_0_Wait_for_response_message_5b8dad8a77346e54760570e1d1c8c088(instance, value1, null, null);
      subscription:addModifier(2, context_1);
      subscription:addModifier(2, context_4);
      new com.sap.glx.adapter.internal.LoggingAdapter:FlightRecorder_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      eventLogger=new com.sap.glx.adapter.internal.EventLogAdapter:EventLogger_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088();
      eventLogger:createEntryWithMessageId(1, "E0B249478AE020FCF78611E3925F00059A3C7A00", instance, "E0B249478BB1FD54F78611E3B53000059A3C7A00", kicker, messageId);
      delete eventLogger;
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:83)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:196)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:69)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
    ... 82 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null)"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
    ... 85 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:710)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:234)
    at com.sap.glx.core.kernel.trigger.config.Script$NewInstance.execute(Script.java:368)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
    ... 86 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: Cannot find type for :#cXML
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.instantiateSDO(TypeRegistryImpl.java:176)
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.access$000(TypeRegistryImpl.java:51)
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl$3.invoke(TypeRegistryImpl.java:372)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:657)
    at com.sap.glx.core.internaladapter.ContainerAdapter$InstanceContainerHandler.onConstruction(ContainerAdapter.java:769)
    at com.sap.glx.core.dock.impl.DockObjectImpl.creation(DockObjectImpl.java:284)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:224)
    ... 88 more
    --Divyesh

    Hi Jocelyn,
    sorry for OT question.
    I`m experiencing Transition exception a lot. But it Transition Exception caused by
    Caused by: com.sap.glx.core.kernel.api.CancelTransitionException: java.lang.IllegalArgumentException: Generator skipped on service 'cezdata.corp/wmsintegration/pr/pm/WMSIS019/WMSIS019_pool' operation 'SI_WMSIS019_In'
    Let me explain the bug - I have developed application with cca 30 BPM processes. Each of them, of course, has Message Trigger.
    But sometimes, that trigger just stops working and when I try to start a process, that exception is logged.
    It is quite easy to repair - I have to delete original Message trigger and create a new one from exactly same wsdl - so formally nothing changes.
    But it is really annoying, and my customer has grey hair out of that. It is unpredictable which process stops working because of that.
    I`m on SAP PO 7.4 SP06 (AEX, BPM, BRM)
    Dont you know what causes that problem and how to avoid it?
    Thank you

  • BPM Start Process

    We have scenario(file to file) where we get multiple files and is merged using BPM, transformed and sent to the receiver. We have file This is a time based collection. Incoming file adapter is set to poll every 30 sec, and the block in BPM timeout in 2 mins ( for testing purpose).
    The BPM receive step (inside the loop) has the start process turned on. The expected behaviour was to receive all files in one instance of BPM and send the merged one out.
    It is spawning the multiple BPM instance based on number of files in the sender file adapter. My guess is it is doing this since we have the start process on receive step and for each receive it is starting a new process. How do we eliminate this to have only one instance start as I am not finding any other step prior to receive ( block , and loop) where I can start the process.
    Any help is appericiated.
    Thanks,
    Samir

    1. If you want to merge the same file format , Use "Loop" step before "Recevie" step. Put some deadline branch , which will ensure your time limit.
    This would resolve your problem.
    2. If you want to merge different file format , you need to have multiple "Receive" steps and for that you need to use the "Fork" step.
    Let me know if you still find any problem.
    Thanks & Regards,
    Dijesh Tanna.

  • BPM start process from WD UI

    Hi all,
    I am quite new with BPM in the SAP environment and for the moment I am strugling with the start of a process using an WD UI.
    What i have is a simple process with two activities. The process starts with no problems from the respository and also I created a wdsl and managed to start the process from the wsnavigator.
    Now I want to start the process from a simple UI. For that I created a WD component, assigned it to an app and connected to a model. Next I edited my portal to have a new folder with a page that contains my app.
    The UI has to fields and a button. My goal is to use that button to start my process.
    Probably I am doing something wrong when creating the action and maybe someone can help me with the java part on the actual button action.
    Please help. Thank you.
    Regards,
    Stefy

    I've made a lot of research and of course found a lot of forums and help. But for the moment I had some issues with addapting them completely to my situation, since I have to prior experience with this.
    For example I think this is the best solution that I have found so far: /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-6
    but at the following step:
    / Bind the object
    wdContext.nodeRequest_Name().bind(objRequest);
    I can't figure out what is the nodeRequest_Name()...
    couldn't find this "asset" in my WDContext.
    Regards,
    Stefy

  • File-XI-File BPM Split Question

    Iam using BPM to split the 1 file into 2 files. I have to use BPM due to requirement.
    Iam sending file to BPM
    In BPM:
    receive step
    transform Step - Here message split is performed
    Fork Start
    Send Message 1
    Send Message 2
    Fork End ( end condition is 1=1 )
    Stop.
    Only 1 file is written and 2nd file no information
    When I looked at SXMB_MONI_BPE
    Send1 Workflow system logically deleted
    Send2  Workflow system completed
    I dont know whats happening for Send 1
    Where can I look for potential errors ?
    In the request message mapping of SXMB_MONI ( 2 payloads are as follows )
    1st Payload ( Maindocument ( Application/xml))
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_State xmlns:ns1="http://www.test.com">
    - <State>
      <State_rec>NYC</State_rec>
      <State_rec>FLA</State_rec>
      <State_rec>CAN</State_rec>
      <State_rec>CAS</State_rec>
      </State>
      </ns1:MT_State>
    2nd Payload (XI_Context(text/xml))
    <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <CONTEXT>
    - <RMS_CONTEXT>
      <NAMESPACE>http://sap.com/xi/XI/System</NAMESPACE>
      <NAME>ProcessStep</NAME>
      <VALUE />
      </RMS_CONTEXT>
      </CONTEXT>
      </asx:values>
      </asx:abap>
    Anyone have any suggestion for me how to fix this issue?
    Thanks a lot.

    Ram,
    Since Iam going to add more process steps ( such as synchronous calls) i really wanted to finsih the sending of both SEND steps in the FORK. If I dont give end condition, am I sure that those SENDS are processed before next process step following fork ?
    BPM will come out of FORK only when all steps in all branches are executed succesfully.
    If you give an END condition to the fork, then this is used when you are not sure for how long the steps in the fork should run, and so on.
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm
    +You use a fork () when you want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of the fork join in a union operator.
    You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches. Furthermore, you can define an end condition for the fork (see also: Condition Editor).
    As soon as a branch reaches the union operator at runtime, the system checks the following conditions in the specified order:
    · The process has run through the required number of branches
    · The specified end condition has returned true
    The step is complete as soon as one of the conditions returns true.+  
    Earlier when you gave condition as 1=1 one of the steps was executed and it came out of the fork. So, do no give any condition and it will execute all steps in the FORK and come out as you want.
    Regards,
    Bhavesh

  • BPM start scenario

    Hi there,
    I have a BPM for a Leave request process which is working fine.
    For triggering the BPM I would like to have the following scenario:
    1. User has a link "Leave request" on our Intranet page (no SAP portal) to trigger the BPM
    2. The user is directly forwarded to the first WebDynpro "Fill leave request" of the BPM (without navigating through UWL).
    How can I achieve that?
    I've successfully started the BPM from WebDynpro, but that doesn't really help.
    Thanks in advance!

    Hi John, so you mean, I should take out the first Web Dynpro of the BPM (Fill leave request) and trigger the remaining BPM when pushing the submit button?
    Sounds ok, but on the other hand I take out an important step of my BPM.
    I think it would be better that a BPM always reflects the whole process with all activities included.
    Is there any other solution for this.

  • BPM start event(start condition) doesn't support ejb function call?

    Hi all,
    An id is included in the ws call to trigger the bpm flow,
    I have developed a ejb function, which is doing a simple check whether the process for the specific id is called before or not.
    I have a simple table in bpm java server which records the id used before.
    the ejb is called in the start condition, my desired behavior is: if the ejb returns true, no process should be triggered.
    but the thing is, my flow is not getting triggered once I put the ejb call in the start condition.(ejb is called, as i can see new id record inserted into my db table)
    I cannot even debug the process.
    I can debug the process if that ejb call is removed from the start condition.
    my server is 7.31 sp8
    Best regards,
    Jun

    Thanks for confirming Jun Wu.... always comforting to see even the experts can stuff it up from time to time... and very glad you were able to fix it!

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • BPM design question

    Hello folks,
    I have this requirement  and I have designed a BPM for the same, I would appreciate if you could give me any improvements/suggestions:
    Req: Receive a message from Sender A the message has a transaction ID associated to it, Send the message to Receiver B and from then on wait an Hour to receive an acknowledge from Receiver B for that transaction. if no ack is received then shoot a mail to the users saying that the transaction didn't make it through. If success don't do anything, Just end the process.
    Design:
    1. Recv step (to receive the message/ start the BPM)
    2. Send Step (to reciever B to send the message )
    3. Block  ---  Block has the following    a. Receive step (to receive the ACK from Receiver B)     b.   Deadline Branch  (with a wait time of 1 hour) Inside the Deadline branch there is a Send Step to send Email followed by a Control step to end the process.
    Thank you! I would appreciate a betterment in design

    In my opinion, this is not a very good design. Keeping open a BPM instance for 1 hour is not recommended. In case you have hundreds or thousands of such messages coming in, it would badly hit the performance.
    You haven't mentioned which kind of system is your receiver system. You may think about the following parameters:
    1.  What is taking so much time to send the ack?
    2. Could this ack be sent later as an async interface?
    Regards,
    Prateek

  • File Adapter Acknowledgement in BPM - NEW Question

    This is in cntinuation of my earlier question:
    File Adapter Acknowledgement in BPM
    Now I understand that the send step should wait to get the acknowledgement from file adapter.
    As I understand This ack may be +ve or -ve.
    <b>So my question is how do we test for + ve acknowledgement in the next step / switch?</b>
    Thanks,
    HImadri

    hi,
    in condition editor of this switch step you need to choose technical objects
    and check it they = true
    for sender apps
    you can also use Main/MessageClass field 
    have a look at the bottom of this page to
    check their values:
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
    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

  • We cannot type Polish (non-latin) characters in WebDynpro applications

    We cannot type Polish (non-latin) characters in WebDynpro application (in runtime) because 'Browser Help Shortcuts' are fired. To type a polish character in polish keyboard you need to press AltGr + letter (ie. AltGr + a/c/e/s/o/l/z/x/n). To type an

  • Login problem: Oracle 10g EM

    Hi, I installed Oracle 10g (version 10.2.0.3.0) on my system which has Windows Vista Home Basic as its operating system. After successful installation em was started automatically and i tried to login with sys account with below details uname: sys pa

  • Aperature and iPhoto Library does not share properly

    I have the latest version of Aperture, iPhoto and also have Maverick installed. After sorting trrough 30,000 photos and getting it down to half of that and put all the photos into events. But when I open Aperture, it still has photos all spread over

  • GitPull Clean repository not working with long paths

    Hi!  I'm, yet again, fighting against the path length limitation on Windows. For our C# TFS VC projects we were adding a custom CoreCleanAll target on the Microsoft.TeamFoundation.Build.targets to use robocopy to remove the solution folder, which wor

  • My image blacks out when usi

    I am unable o use the healing brush, patch tool, etc.  The image keeps blacking out.  This repeats.  It's as if it is "unstable."  The image does not stay on  screen.  I experienced the same problem while using the crop tool, but was able to crop in