Send Synchronous step in BPM - showing application error in sxmb_moni

Hi
   We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
How do we make the cc BPM not stop after getting the fault response and the application error ?

Insert an Exception Branch by rightclicking on the block and choose insert.
In the send step under Exceptions you can point to the created exception branch.
In the exception branch you can now handle what to do when it fails.
Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

Similar Messages

  • Send(synchronous) step in a loop of A BPM

    Hi
    I am using a send(synchronous) step in a BPM ,  i set it at the beginnig  of a loop but it stops .
    When it is out of loop it is working fine. The result of the response is not a value that ends the loop.
    Do you have any idea what is the problem?
    Thanks
    Antonis

    Insert the send step at the required position in the process definition.
    Do not insert the send step in a loop, block, or fork.
    Defining Sync/Async Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm

  • Configuring Fault Message For the Send Synchronous step

    Hi,
    PI receives a file and sends a soap request to Third pary system. If the data sent to third party system is correct, PI receives a empty soap envelopre. If the data is not approriate, PI receives an fault message(Application Error).PI has to trigger an email in either case.
    I have configured a send synchronous step to initiate Request/Response with a validation fault, followed with send step for triggering an email.once the interface is executed, The process is not moving further from Send synchronous step.In short the steps after send synchronous are not being executed.
    Regards,
    Kiran.

    Hi,
           I have created exception branch if PI receives a validation fault. PI will trigger success email, if the PI receives blank response from third system.PI will trigger failure email, if PI receives a fault message.
    Regards,
    Kiran.

  • Correlation used with synchronous steps in BPM

    Hello,
    we have a problem with a correlation.
    A receiver step synchronous activates a correlation.
    The step is completed by receiving a response.
    The receiver step connects via sRFC to an R/3 system to trigger there an IDOC.
    Next step of the BPM is to receive the IDOC from the R/3 system (async).
    This system uses the correlation (time stamp field from RFC).
    But: This doesn not work.
    We only had success when using an asynchronous RFC.
    Does anybody have experience with such issues?
    What is possibly wrong with our correlation ?
    (Corr. is local within a block where both steps are included, RFC and IDOC step)
    regards
    Dirk

    Here is a little twist to the correlation issue...
    I had the following problem. I have a very simple Sync/Async bridge, including a sync. reveiver (sr) at the beginning, as closing S/A bridge sender (ss) at the end, and a async. sender (as) and an async. receiver (ar) in the middle. My messages have an orderId that I use for my correlation.
    The first receiver (sr) activates the correclation (using the orderId in the request message).
    I then attempted to "use correlation" in my async. receiver (ar) step. The correlation shows up in the drop down options in the properties window of the step, but my selection would not "stick" (it would show it and revert to the red question mark).
    After checking my correlation and unsuccessfully trying a few permutations of where to "activate" the correlation, I tried this:
    I temporarily turned my synchronous steps into asynchronous steps (sr and ss). Then I selected my correlation in the async. receive step and it "stuck". After my selection was accepted in the "use correlation" property of the async. receiver step, I turned my first and last step (sr and ss) back in to synchronous steps and had the desired result.
    ... and it worked! I guess it is just a little bug in the tool (which may not be an issue in later releases?!)
    Marc
    (FYI, I am using XI 3.0 SP 16)

  • How to disable the option of Resart for application error in SXMB_moni

    Hi Experts,
    I have a scenario of JDBC to Proxy.In this we have created Fault message type to capture any error.The requirement is to disable the option of Restart in SXMB_MONI for application error generated with Fault message.We have made coding for generating application error in inbound proxy code.Looking for a quick reply.
    Thanks
    Deepak

    Hi Mayank,
    I am looking for disabling the "Application Error" generated from Fault message of inbound proxy to "Resart" using Resart button in SXMB_moni of Application system ECC.what I am referring to is how to disable u201Crestartu201D (not resend) of the messages in SXMB_MONI if they have errors.
    For example, the interface to load some entries calls a proxy which may load some messages successfully and some may result in errors. This would appear in the SXMB_MONI with application errors with restart capability. If the user restarts the message it will post the entries again which were successfully posted earlier. We would like to prevent this from happening.
    Thanks
    Deepak
    Edited by: deepak jaiswal on Mar 2, 2010 5:19 PM

  • I have purchased a PhotoSmart eprinter, but when I try to send emails to it, it show a error message

    When I try to sen an email messsage to my printer, an error message appears that states, that the message was rejected by the recipient domain. The error that the other server returned was. 550 5505.7.1 Command rejected (state 18).
    I have carried out all the instuctions, that the printer intructons stated that I should do, but to no avail. Pease help.
    Thank you
    Yours Simcererly     Mr M W  Owens

    Hello Mel_Owens,
    Could you tell me what device you are using to send the print job? Here are some generic steps to resolve the issue.
    1. First you need to cancel your email account on the mobile device.
    2. Then you can recreate the same email account.
    3. Try sending a job again and see if this works.
    Other things that may help resovle the issue is to remove delivery confirmation and read reciepts, and make sure that only one email account is on the phone.
     If these steps don't fix the issue, let me know about the device that is being used and I will try to help you further.
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • Application error in SXMB_MONI in Proxy to webservice

    Hi all
    I've constructed an proxy -> XI -> External web service scenario.
    In the sxmb_moni transaction i got two response message, I got two different error message. One is
    "com.sap.security.core.server.ws.service.WSSecurityException". Another is "Unable to determine name of mapping
    program".I think I made no mistake during the design and configuration process.All this makes me confused. I still
    and soap response payload is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
      <ns1:com.sap.security.core.server.ws.service.WSSecurityException xmlns:ns1="http://sap-j2ee-engine/error">000D60A85C830071000000330000391C0004400D9EC1282E : Found 0 operation definitions using keys: Key name:'first-body-element-ns' key value:'urn:TestServiceBeanWsd/TestServiceBeanVi/rpc'; Key name:'first-body-element-name' key value:'sayHelloIn';</ns1:com.sap.security.core.server.ws.service.WSSecurityException>
    haven't found a way to resolve this.
    Thanks!

    Hi all,
    <b>what is soap action must i give in this wsdl</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:TestServiceBeanWsd/TestServiceBeanVi/rpc">
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:za.co.lonmin.webservicebean" targetNamespace="urn:za.co.lonmin.webservicebean" elementFormDefault="qualified">
                   <xsd:complexType name="ReturnType">
                        <xsd:sequence>
                             <xsd:element name="resultCode" type="xsd:int" />
                             <xsd:element name="transactionOK" type="xsd:string" minOccurs="0" nillable="true" />
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="EmployeeData">
                        <xsd:sequence>
                             <xsd:element name="dateOfEngagement" type="xsd:dateTime" minOccurs="0" nillable="true" />
                             <xsd:element name="dateOfTermination" type="xsd:dateTime" minOccurs="0" nillable="true" />
                             <xsd:element name="employeeNumber" type="xsd:string" minOccurs="0" nillable="true" />
                             <xsd:element name="firstname" type="xsd:string" minOccurs="0" nillable="true" />
                             <xsd:element name="lastname" type="xsd:string" minOccurs="0" nillable="true" />
                             <xsd:element name="occupationCategoryCode" type="xsd:int" />
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="ArrayOfEmployeeData">
                        <xsd:sequence>
                             <xsd:element name="EmployeeData" type="EmployeeData" minOccurs="0" maxOccurs="unbounded" nillable="true" />
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                   <xsd:complexType xmlns:ns1="urn:za.co.lonmin.webservicebean" name="sayHelloIn">
                        <xsd:sequence>
                             <xsd:element name="action" type="xsd:string" />
                             <xsd:element name="message" type="ns1:ArrayOfEmployeeData" />
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
         </wsdl:types>
         <wsdl:message name="sayHelloIn">
              <wsdl:part name="sayHelloIn" type="sayHelloIn" />
         </wsdl:message>
         <wsdl:message name="sayHelloOut">
              <wsdl:part xmlns:generateduniqueprefix0="urn:za.co.lonmin.webservicebean" name="Response" type="generateduniqueprefix0:ReturnType" />
         </wsdl:message>
    </wsdl:definitions>
    Thanks
    kiran

  • How to add a Wait Step in BPM for the synchronous send step

    Hi,
    we have a scenario where in one of the step in BPM is a synchronous step which sends data to ECC system and gets the Respose .
    The Requirement is that we need to add a wait for the Synchronous step in BPM as the data sent to RFC(ECC) need to get comitted before sendng the response which requires some wait time.
    Currently we are getting the Response to PI from ECC where it was reported as the response is not correct.
    Is this possible to add wait

    > Is this possible to add wait
    No, this does not make any sense.
    The BPM waits for the response anyway.
    You could change the scenario to an asynchonous pair of messages.
    But in my opinion the error is inside the ECC, because the response from ECC is not correct.

  • Custom JCA Adapter / Application Error - Message.setErrorInfo() ??

    Hi All,
    I was looking for how to create a sensible Application Error in a custom JCA adapter and was excited to find the following page in the PCK info on Adapter Development:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/53d6409ff68631e10000000a1550b0/frameset.htm
    The part of interest being:
    <i>
    The following methods are available to enable you to read error information in the form of an ErrorInfo object from the message, or to set the error information in a message.
    Message.getErrorInfo()
    Message.setErrorInfo()
    If the synchronous response message is an application-error message instead of an application response, it must call setErrorInfo(myErrorInfo) for receiver adapters.</i>
    However, I can't find these methods, or indeed the "ErrorInfo" object anywhere in the AF classes - does anyone know it's whereabouts? Or is the above page just out of date? If so, what is the new approach for creating Application Level Errors in a custom JCA Resource adapter (not Exceptions - I can do that)
    Many thanks,
    Chris

    Well, you can get the latest jars from the SMP (Service Marketplace) directly.  These jars are in the <i>XI ADAPTER FRAMEWORK CORE 3.0</i> component.  Basically, http://service.sap.com/swdc  then Support Packages and Patches->SAP NetWeaver->SAP NETWEAVER->SAP NETWEAVER 04->Entry by Component->J2EE Adapter Engine (PI/XI).   There you'll see the XI ADAPTER FRAMEWORK CORE 3.0 link.
    OR here is the direct link for the SP19 (latest) of <a href="https://smpdl.sap-ag.de/~swdc/012002523100009492712006D/SAPXIAFC19P_4-20000272.sca?_ACTION=DL_DIRECT">SAPXIAFC19P_4-20000272.sca</a>
    Within this is <i>aii_af_lib.sda</i> which has the jars.  You can use winzip or winrar to open .sca, .sda files.
    Regards,
    Jin

  • Application error for nokia 5300 snake3

    hello,guys
    it(my phone)shows application error after starting a new game.
    and also shows null pointer(java/lang/nullpointer)
    i got the phone in USA.
    i downloaded the game from nokia europe site,,is there a language
    problem between the phone and the game?
    any help will be grateful!!!

    I don't use Windows myself but from what I've seen on these boards, this kind of thing can be caused by an antivirus getting in the way.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Using TextField.C_ANY and get application error

    Hey all !
    I'm working with com.jmobilecore in my projrct. My platform is Nokia S40 DP 2.0 SDK 1.0 and IDE is Netbeans.
    I'm using C_ANY as TextField constraint.But while I press as many key at a time as input it shows application error and then exit from the application.
    I'm using emulator for testing.
    code snippet as:
    public CustomTextFieldUI(int maxTextLen,int constr,boolean checkValidate){
    super(maxTextLen, constr);
    this.validityLength=maxTextLen;
    this.checkValidate=checkValidate;
    ----------------------calling above method-------------
    this.txtDepotCode = new CustomTextFieldUI(Localization.TXTFIELD_DEPOT_CODE_DIGIT, TextField.C_ANY,true);
    Can anybody pls help me " How this problem can fix ??"

    uhr
    I have already asked you not to post the same question repeatedly.
    [http://forums.sun.com/thread.jspa?threadID=5343423]
    As you have ignored the advice, your user account is being blocked for 3 days.
    db

  • Xpress browser showing application when accessing ...

    The xpress browser on my nokia 303 is showing application error when trying 2 access google search, facebook and ymail. Pls help us nokia team.

    why i can connect to any pf my applicatio when i connect he view the comflicting application pls help me as soon as posible plsssss

  • Opera mini 6 says application error after some bro...

    hello, i am using a nokia x2-01 device. I have downloaded opera mini 6.5 from m.opera.com , when i run the app, it runs well. After e while (after browing some pages) , it shows "application error: reason : out of memory error" . Can you tell me, what should i do now ?

    please anybody reply me. Please

  • Fault message in synchronous send step in BPM

    Hi,
    When executing a synchronous send step in BPM it is possible to handle application errors (fault messages) with an exception branch. But how do you get hold of the actual data in the Fault message(faultText, faultURL, faultDetail etc) for further processing (mapping)?
    Kind regards Johan

    Johan,
    u have to define another container element in integration process.
    For that container element an Async Abstract interface has to created with falult message as the message.
    Do u have the fault message defined already...
    Also go through this thread.
    Fault message handling in BPM
    -Naveen.

  • 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

Maybe you are looking for