How to handle Queue blockage due to application error in BPM

Hi
In the integration process that i have created, there is a SyncSend(calling a webservice using SOAP adapter) Step.
Sometimes the response message from the receiver application may be a Fault message.
Whenever a fault message is sent back to integration process in XI, the message fails and the queue is blocked.
Bacause of this queue blockage , the next messages to be processed are getting blocked.
How to handle this?
Thanks
Ram

do you have configured the fault message mapping in the Operation Mapping? what error does the sxi_monitor display?

Similar Messages

  • How to catch SAP application errors in BPM.

    Hi,
    I have a IDOC to Soap Sync Scenario where I send the message to a Webservice. I have used a BPM since we need to catch the resposne of this message and map it to a RFC. For ex if I get a success resposne I need to map success if not than I need to catch the error and map it to the RFC. Now here in some cases like if the target system (webservice) is down than XI raises a sap application error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused (errno:239)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Normally XI stops the process in these cases and does not proceed to the next step but I need to catch this message and map the content in the AdditionalText to the target RFC. Can anyone let me know how to catch this SAP Application Error in BPM and map it to the RFC.
    Thanks,
    Bhargav

    Hi Gaurav,
    As I have mentioned I need to catch the application error in the BPM. If you see the discussion that is mentioned after the blog you have mentioned it is stated that the fault messages or the application error cannot be caught in BPM.
    In the blog that you stated we can catch the fault message and map it to a message structure but only to that extent after that it would stop the BPM process at that step but would not proceed further as shown in the screenshot given in the blog it would fail as "application error restart not possible".
    I need to proceed further and capture this error to an RFC Structure and call a proxy.
    Here after the error it does not proceed to the next step.
    Thanks,
    Bhargav

  • "How do I fix the Firefox.exe application error?"

    How do I fix this Firefox.exe - Application Error, "The instruction at "0x00000000" referenced memory at "0x00000000", The memory could not be "written" - that appears when I open Firefox?
    == This happened ==
    Every time Firefox opened
    == Opening Firefox

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can initially skip the step to create a new profile, that may not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How to handle missing NIDAQ in built application?

    Hello everybody. I wrote an application for measurement. It is distributes as an installer with included LV Runtime and Visa Runtime. It also needs NIDAQmx but because its size I do not include it to the installer but inform the user to install it if it isn't yet. Because I put a lot of effort to have nice and smart error handling I also tried what happens if I run my application without having NIDAQmx installed. And what happens is not really nice as you can see from the pictures. And it's not even all the errors. 
    What I would like to achieve is to have just one error being displayed that nidaq is missing - similar to when runtime is missing. Is it possible to set this in the config file? Otherwise I don't know how I could handle this from within my application because those errors appears before it starts.
    Thanks a lot
    LV 2011, Win7
    Attachments:
    01.png ‏37 KB
    02.PNG ‏28 KB
    03.png ‏51 KB

    Hello everybody. Here is my result. To be honest one of the best features I learned! Comparable to mastering Event Structure years ago and understanding Queue State Machine concept.
    Run Splash_SplashScreen.vi. If you have some comments let me know. Thx
    Message Edited by ceties on 09-07-2008 03:06 AM
    Message Edited by ceties on 09-07-2008 03:13 AM
    LV 2011, Win7
    Attachments:
    SplashScreen.PNG ‏12 KB
    SplashScreenLoad_02.zip ‏89 KB

  • How to duplicate return of RFC.Exception Application error to test fix

    I am calling a RFC using a sync step in an BPM process. I am checking for system error and have an exception branch. However we got the below error (probably due to the ECC system not being available at that precise moment or something) which was not trapped by the exception alert handling because this comes in as an Application error and not a System error. My questions are :
    1) How to handle this return of .Exception message so that the BPM raises the alert in the exception branch? I have read in other threads that we need to assign the below message structure as the Fault Message and set this under the Exceptions property of the Synchronous send step. If this is true, I am mostly interested in the below question so I can test this.
    2) How to duplicate this issue? I am not sure when exactly the .Exception message is returned on a RFC call, this is not configured anywhere on the ABAP side.
    <rfc:ZRFC_GET_DATA.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
            <Name>RFC_ERROR_COMMUNICATION</Name>
            <Text>CPIC-CALL: CMRCV on convId: 01667803
                   LOCATION    CPIC (TCP/IP) on local host with Unicode
                   ERROR       connection to partner broken
                   TIME        Mon Mar 16 11:21:51 2009
                   RELEASE     640
                   COMPONENT   NI (network interface)
                   VERSION     37
                   RC          -6
                   MODULE      niuxi_mt.c
                   LINE        905
                   DETAIL      NiPRead (xx.xx.xx.xx/yyyy, hdl 64)
                   SYSTEM CALL recv
                   COUNTER     2
            </Text>
            <Message>
                   <ID>RFC_ERROR_COMMUNICATION</ID>
                   <Number>null</Number>
            </Message>
    </rfc:ZRFC_GET_DATA.Exception>

    Is the error resolved means that the RFC is working fine?
    I think this error due to the RFC destination set to Non-unicode which is expecting unicode option
    Check the R/3 machine whether it is unicode or not try to set the RFC destination option of unicode  in other way and check the error getting replicated or not
    Rajesh

  • How to cancel automatically messages stated 17 (Application error - manual restart possible) in SAP ECC

    Hi people. I need to create a job to cancel automatically the messages with the status 17 (Application error - manual restart possible) in SAP ECC.
    In SXI_MONITOR I can retrieve these messages filtering just for "Application Error". I can cancel them here, however I need for a Job to do it.
    I appreciate your help.
    Regards
    Arturo Santos

    Hi,
    >Is there any way we can make this automatic
    In RWB-Component Montoring-Adapter Engine-Communication Channel Montoring- Select the Adapter- Go to Settings  and  change as per your Business Requirement.
    Regards
    Agasthuri Doss

  • How to Handle Queue Message with NO expiration

    I come across a situation where i need to dequeue same message multiple times and upon reaching valid condition only i can discard the message. For this situation i can create a queue that has message expiration set to NEVER. But i didn't find the way to delete the message that has expiration NEVER.
    Can anybody help me what will be the best approach to delete messages that has no expiration. My business case allow me to delete that message only after reaching a particular condition.
    Regards

    In what version?
    SELECT * FROM v$version;

  • How to handle data between 2 bsp applications

    Hello Experts,
    i´ve got 2 BSP applications, users enter in application 1, do serveral actions there, and then jump into application no 2.
    But, they need some data from application one for getting startet in application 2.
    Whats the best bay to pass the data?
    I don´t want to write them into a db table, also i don´t want to pass it via url (?field1=value).
    Are there other possibilities?

    Please search this forum, you will find many threads on the same...
    Raja

  • How to handle Asynch Synch (IDoc - SOAP) interfce without using BPM

    Hi Experts,
    I have a Idoc to SOAP scenario and where I need to hadle SOAP response but for this how it can be handle without BPM I am unable to figure out. Specificaly it is a interfacce with SFDC (sales force.com) CRM and need to handle IDoc - SOAP interface and response needs to be captured with another idoc which can be sent back to SAP.
    Any suggestion will be helpful.
    Regards,
    Nitin Patil

    Hi,
    you cannot do it with IDOC adapter unless you have PI 7.3 without a BPM
    you need to use a different adapter like ABAP proxy (on java) or RFC
    hope it's clear,
    Regards,
    Michal Krawczyk

  • How can I fix "unable to download application" error on ipad 2?

    When I go to update apps a popup states "unable to download application". Anyone know how to fix this?

    I had the same issue. I think it happens when you are synchronising and stop it half way while apps are still being synchronised with iTunes on your computer. Rather than try downloading apps wirelessly just complete the synchronising with the computer by connecting it up with the USB cable and starting the synchronise on iTunes.

  • Handle transaction in web dynpro applications

    Hello,
    can you please tell me How to handle transaction in web dynpro applications which is using Adaptive RFC model ?
    Thanks,
    Teja

    Hi,
    please see this [thread|Link to SAP Transaction using WebDynpro for Java;
    regards,

  • How to handle Webservice

    Hi Experts,
    I want to know how to handle webservice in web Dynpro Application.
    I need some documentation regarding this.
    can any one help me.
    Advance Thanks,
    P.J.Balaji

    Hi Balaji,
    Check These links..
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq-Models-AdaptiveWebService&">Adaptive Webservices</a>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/6bfb2c4e-0a01-0010-8eb4-f21a42d8f6ec [original link is broken] [original link is broken]
    <a href="http://www.systinet.com/resources/tutorials">Webservice tutorials</a>
    <a href="http://www.onjava.com/pub/a/onjava/2001/08/07/webservices.html">Java Webservices and Primer</a>
    <a href="http://www.learningtree.com/courses/577.htm">Building XML webservices with Java</a>
    [url=http://www.accelebrate.com/java_webservices_training/web_services.htm]Introduction[/url]
    Urs GS

  • Restrict alerts - ABAP application error

    Hi,
       I need to restrict alerts getting generated for ABAP application error faults. Is there a way to specify exclude these errors in the alert rules or how can i acheive this.
       We are having a fault message form ECC, due to application error in ABAP. We do not want an alert raised for this error.
    Thanks for the help,
    Vinay.

    Hello Vinay,
    the alert rules defintion is somewhat limited.
    You can only specify "include" rules but no "exclude" rules.
    It is not possible to specify: "Sent all Alerts, except ECC Application error"
    I already have raised this as development request.
    The only alternative is to specify a rule for every alert which you do want to receive and leave out the application error (I know, this is not satisfying)
    Hope this was helpful.
    best regards,
    Markus

  • How to handle file on application server without coading?

    HI all,
    can anybody tell me How to handle file on application server without coading? Is there any solution?
    Thanks in advance.

    > can anybody tell me How to handle file on application server without coading? Is there any solution?
    what is that you want to handle. what you do if you don't code ...

  • How to handle multiple datasources in a web application?

    I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
    There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
    Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.

    Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
    Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
    Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
    I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources.

Maybe you are looking for

  • I've doubled my RAM but still can't save big files in photoshop...

    I have just upgraded my Ram from the shipped 4GB to 8GB but I still can't save big images in photoshop. It seems to have made no difference to the speed of general tasks and saving and I can't save big files in photoshop at all. I already moved massi

  • Price Condition Depending of Material Master Record

    Helllo Experts, I have an issue with a price condition on a price procedure  the user wants to be able to mantain the price condition manually only if the material used at item level of sales order is equal to one of 3 sku´s. This Price condition can

  • Album song order is out of whack...

    I have an album that is a public mixtape that I have organized exactly the way it should be, but if I click to sort by Album it throws a few songs out of order -and all the songs are named: "01 xxx.mp3, 02 xxx.mp3" and so on. How can I reorder the wa

  • 2010 iMac (Intel).

    On power up - it chimes but does nothing else, it just stays at a white screen with no Apple logo. I have tried a PRAM reset and SMC reset. I can not boot to any other media in any way. Holding option, C, D, or any other key combonation (besides Cmd

  • Change in Report Design in Bex Designer

    Dear All, I have a requirement as such:- I have 5 rows and 4 colums. I need to display 4 rows and 4 colums first and then the 5 row in the last. Is it possible??? I have seen a standard report which has this implementation but i am able to find out h