Accessing fault message data in cc BPM

In a BPM process, when a step throws an exception, is there a means to read the data on that exception for further processing?
For example, a synchronous send step (RFC call) throws a SOAP fault, or a transformation step throws an exception (custom Java mapping).
Is it possible to map data from that exception/SOAP fault to a response message?  I don't see a way for exception branches to persist the exception or SOAP fault data that triggered the exception.
--Dan King

Hello,
Perhaps this weblog can help you :
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
Chris

Similar Messages

  • Fault Message data

    Hi,
    We are sending data from HTTP to PI  and than to SAP via Proxy. In SAP, proxy receives it and calls the BAPI to post the data.
    If there is an error , it invokes the Fault Message data. Somehow i am not getting the fault message back to PI. In some case i am seeing another window of acknowledgement in PI MONI whcih has this error.
    <?xml version="1.0"; encoding="UTF-8" standalone="yes" ?>
    - <!--  Technical Routing of Response  -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">NO_BACK_SYSTEM_IN_HOPLIST</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Legacy system to which acknowledgment message is to be sent is missing in hoplist (with wasread=false)</SAP:Stack>   <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    How to configure the Fault message type in async scenario. I read the blog but looks like still some config is missing from my end
    Also If SAP send the error message & PI receives it, how can we send this error info back to HTTP while remaining in Async mode .
    Regards,
    Edited by: XI_Fan on Sep 11, 2008 11:22 PM

    Thanks all for reply. My scenario is slightly bit different. We are not using BPM and nether synchronous call.
    The scenario is 3rd party sends Purchase REQ to PI and PI via Server proxy pushes that to ECC. Once ECC receiver,
    it tries to post via BAPI If the BAPI fails aim is to send the data back to 3rd party with error and key so that they should
    not do further processing of PR ( like creating PO etc) We have fault message that is being called in SAP ECC when the BAPI is in error. Now I have 3 points here
    (1) What configuration are needed to send the information ( fault message data) from SAP to PI ?
    (2) What is the best way to send this information back to 3rd party, considering that we are in using ASYNC Proxy
    and Async HTTP adapter?
    (3) Do we have to create another interface ( Client proxy) to send the data to ECC -> PI ->HTTP.
    How this would be done online ( without time gap and without BPM)
    I think one way is to call the client proxy code where BAPI BAPI error out( server proxy code)  
    Do a mapping between this fault message of SAP and fault message of HTTP and than push the data back to HTTP.
    Any comments on this appreciated.
    Regards,

  • Fault message in sender SOAP scenario

    Hi mates,
    I've a o/b synch MI which is exposed as a web service. I've specified the fault message with faultcode, faultstring, faultactor and detail. I've a BPM as the receiver for this synch infterface. This BPM implements synch-asynch bridge.
    Now the question is...How can I specify that a particular fault message needs to be returned to the SOAP caller. I can send the response for the SOAP caller using the send step with mode 'Closes S/A bridge'.
    I appreciate you inputs.
    thx in adv
    praveen

    Moorthy,
    I've the FM in my BPM. But...how can I append this to Response message as these have two different MTs?
    Do you mean to say my response message should have a node for fault message data?
    I'm trying to implement sth like in this blog <a href="/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client">Propagation of meaningful error information to SOAP Client</a>
    To achieve FM in SOAP scenario, should I be using <b>only</b> a non-BPM receiver like a R/3 system using FM with exception as the receiver? Can this be not possible if I use BPM as receiver?
    thx in adv
    praveen

  • Fault message mapping

    Hello,
    I have following scenario.
    Synch, RFC Sender -
    > XI----
    >JDBC receiver.
    Also I have defined Fault message data type, message type and also createed Message Interface in which I specified Fault Message type. Now my question is.
    When an error occurs I want to get error message to be captured in fault message and map the fault message elements to RFC ---> Rerutn item elements. I was wondering how would I accomplish this?
    Thank you,
    Balaji

    For sender RFC:
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/frameset.htm
    You must to create a in sm59 in R/3 and XI an R3 conection.
    You can see this very interesting blog: /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Regards.

  • BPM:  System_Error" SOAP fault message received

    Hi,
    We upgraded SAP system from 4.7 to ERP2004 on 09/17/05.
    We have XI-3.0 version from last 9 months and this BPM was working good so far. We have not changed anything in it except we upgraded the SAP system.
    We are using ABAP proxy from SAP to send "userid"
    message to XI-BPM and then it would make a Synchonous call to SAP system to get roles of those "usrid".
    In the first step when it is sending data to XI an exception is raised and in the second step when it tries to make synchronous call to SAP we are getting error:
    <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="System_Error">SOAP fault message received</Trac
      <Trace level="3" type="System_Error">SOAP fault code: Client</Trace>
      <Trace level="3" type="System_Error">SOAP fault string: Error during c
    I noticed that the XML name tag looks different now
    Before upgrade when message was successful.
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_ECA_USRID xmlns:ns1="http://bcm.edu/common"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <USRID>CLARKSON</USRID>
      <USRID>2_MA140016</USRID>
       </ns1:MT_ECA_USRID>
    After upgrade when message is failed
    <?xml version="1.0" encoding="utf-8" ?>
    - <nr1:MT_ECA_USRID xmlns:nr1="http://bcm.edu/common">
      <USRID>AABULIMI</USRID>
      <USRID>AB147899</USRID>
      <USRID>ACHALL</USRID>
       </nr1:MT_ECA_USRID>
    You would notice that
    " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    missing after upgrade.
    I would appreciate if anyone could help me.
    Mrudula

    Hi,
    Can you paste the full error message. Also take a look at the default trace log in Visual Admin. Set the logging for soap to debug.
    Naveen

  • Fault message in BPM process

    I have a bpm process with a sync send step. i have a default fault message strcuture and my sync interface ( a proxy) is using this as fault message format. In case of an fault in the proxy i get the fault message returned. In my bpm i have an exception handler installed for the exception. What i would like to do in my process is send the fault message to another step like a send step.
    i m not looking to understand sync/async bridges or how to setup a bpm process. I am looking for help in how i can work with the fault message in my bpm process other then only let it trigger the exception routine

    Hi Frank,
    in the view of your BP an exception at proxy side is no reason to stop processing. The message will be put to your interface and it is your decision to put data into a container and to send it. For using a "global" container for every kind of message have a look to my weblog <a href="/people/udo.martens/blog/2006/04/28/bpm-container-for-any-message-type Container for any Message Type</a>. If your send step is not successful and you want to catch that: Define an exception branch for your block, where you send a senseful message to notice the error. You can refer in the original send step the exception, during runtime the process jumps into the exception branch and is doing that what you defined there.
    Regards,
    Udo

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

  • BPM + PROXY + Fault Message

    Hello
    My scenario is JDBC -> BPM <-> Proxy
    I developed a BPM has a step-type <SENDER> that is synchronous.
    Information on the above step:
      . The message interface used an output, an input message and also a Fault Message.
    . I'm calling a proxy in the ECC and runs an exception if an error occurs in the application (inside the proxy).
      . This exception is returned to the BPM and I run a <block> to handle the exception.
    My need is to capture the contents of the exception in the BPM and send this text to another application.
    How do I recover the contents of the exception returned by Proxy in BPM?
    Thank you,
      Aroldo

    Hi, it is not supported in the meaning that the payload of the fault message is not returned to the integration process, so that's right Baskar. The only thing possible is to trigger exceptions for fault messages, see [Sending Messages from Integration Processes Synchronously -> Procedure -> Specify Exceptions|http://help.sap.com/saphelp_nw73/helpdata/en/43/6211331c895f6ce10000000a1553f6/content.htm].
    Possible solutions:
    If it is a custom proxy you could change the behavior so that no fault messages are triggered. Instead you return the error message in the payload structure of the response.
    If it isn't a custom proxy you could create a custom proxy wrapper with a separate structure for exceptions in the response. Call the implementation of your desired proxy in the wrapper implementation, handle the exception and return the exception contents in the separate structure of the response.
    Or you could try to create a data type enhancement for exception contents for the response message, create a proxy from the enhancement, and implement the OUTBOUND_PROCESSING method where you copy the exception messages to the structure of the data type enhancement.
    Regards, Martin

  • After trying to restore from time capsule, I get the following message when I try to access the folder "data." The folder "Data" can't be opened because you don't have permission to see its contents.  Any ideas?

    after trying to restore from time capsule, I get the following message when I try to access the folder "data": "The folder “Data” can’t be opened because you don’t have permission to see its contents."  Any ideas?

    Are you restoring from a TM backup??
    Check the methods Pondini outlines to do restore.
    Q14-17
    http://pondini.org/TM/FAQ.html

  • Handling SOAP Fault messages in BPM

    Hi,
    My scenario is Sync-Async Bridge involving File to SOAP transformation. I have used BPM as 1 file has many records and each record is required to call the web service synchronously.
    In the BPM I have
    Receive ---> Transform (1:n multimapping ) -
    > Block (Par for Each)
    In Block  I have Send Sync step to call Web service . I have an exception branch for the send step for catching Fault message that is sent back from webservice for Application Fault.
    Problem:
    Though the Fault message is sent from web service ,in the BPM  the block goes in error saying : "No exception defined for fault message ".  The Exception brach is not executed.
    Please suggest if anyone has come across such a scenario and solution to this.

    hi satesh
    using "exception handler" in BPM we can handle the error messages
    regards
    kummari

  • Handling fault messages in an Integration Process (bpm)

    I have a bpm in PI 7.11 which performs a synch call to an external webservice. In addition to the request/response, that webservice can also generate two faults: ObjectNotFoundFault and generalfault.  I am having trouble handling these faults - when a fault occurs my handler is not being invoked and thus the bpm process stops/errors. When I look at the underlying process (via txn swi1), I see the exact error text:
    "No exception defined for fault message ObjectNotFoundFault http://www.companyb.com/services/olsa_v1_0/"
    From what I understand within the bpm synch call step to the webservice I need to do the following to handle the exception/fault:
    - put the synch call (to the webservice) into a block
    - add an exception branch to that block named let's say A & set the exception handler of that block to be A
    - in the exception setting of that synch step, select A
    In my case, I don't care about the fault details other than to ensure it does not stop the whole Integration Process, so in my exception branch I don't do anything. I did try adding a control step within it too (as per SAP Press text book).
    Is there anything else I need to do here?  I am not mapping the returned fault - does the fault need to be mapped (not sure how I would do this given that the synch step uses an abstract interface and therefore to my knowledge no fault mapping can be done)? 
    There are 2 Notes that describe my issue exactly:
    https://service.sap.com/sap/support/notes/1484903
    https://service.sap.com/sap/support/notes/1158699 <-- this one refers more to me, but we already have in 7.11
    Can anyone let me know exactly the steps I would perform to handle these faults - does the exception name / handler A above need to be named the actual exception / fault ObjectNotFoundFault?
    Any help appreciated.
    Thanks,
    Keith)?
    Any help appreciated.
    Thanks,
    Keith

    Thanks - my scenario I guess is #2 of that blog. But is your take that even if I don't care what is in the fault message, i.e. I don't care about the contents of it but rather I just want to continue on from it, that I still need to perform this java coding?  It's not clear to me from what he says - it seems to me he does the java coding to actually capture the contents of the message.  I am in fact using the soap axis adapter too, as he is. The screen shot showing the exception branch is basically what I have.
    Regards,
    Keith

  • Handling fault messages in BPM

    Hi,
    I am using BPM for a RFC to SOAP scenario to handle Fault messages. (Please have a look at my previous post also SOAP Fault message )
    I have created an exception block in BPM to catch the fault message from SOAP service. Inside the exception block i need to map the fault message to RFC response. But fault message is not accessible in Exception block.
    Let me know if you have any idea to solve this.
    Thanks,
    Uma

    Uma:
    Let me make clear the requiremt. You have RFC Import(aka Request message) and Export(aka Response + Exception) and you have Web Service with Request, Response, Fault messages. And you want to send the fault messages back to the RFC in addition to the response. I was wondering, If we do the following mapping without BPM, does that fulfill your requirement.
    RFC-Import <----
    > SOAP Request
    RFC-Export <----
    > SOAP Response
    RFC-Export <----
    > SOAP Fault
    Can you let me know if you face any problems with this one. I have seen your other thread and was wondering, whats the problem is. May be I didn't understand the requirement properly. Please clarify me

  • Fault message handling in BPM

    Hi again xi fighters
    I created a business process with a synchronous sending step. I defined all interfaces and implemented also an own fault message type within the synchronous abstract interface. If the used RFC got the correct data the sync. sending step worked proper and also the business process worked fine. If I providing wrong data to the RFC to force him to throw an exception the Business process received the fault message. Then I just want to send the received fault message asynchronously to a file adapter within the defined exception branch. And now the question no-one answered in several discussion threads ;-<
    How can I send the message? I am not able to implement a new variable in the container for the fault message type. Any advises here?????
    Please help me, before I got inshane of SAP ;->>
    Regards Oliver
    Message was edited by: Oliver Bluhm
    Hi everybody
    any ideas, or is the question not clear. Please have a look and let me know you exlperience!
    Regards Oliver

    Hi Oliver,
    how do you know, that is impossible to read the content of the fault message in the exception branch? Did someone from SAP say that? For days I read all the notes, blogs, help,.. and didn't find an answer.
    It should work.
    1. I have an integration process in XI sending a sync message to R3.                                    
    - OK
    2. In the generated proxy class I raise an exception of the generated exception proxy class.              
    - OK
    3. The exception message is shown in the message monitoring, containing also all our customer-data.
    - OK
    4. The integration process in XI activates the correct exception branch.
    - OK
    Missing: How do I get a grip on the data in the error message? 
    Kind regards Philipp
    Message was edited by:
            Philipp Jakob

  • BPM Fault Message Exception error !

    Hi here is what I am doing
    Sync webservice-->Sync webservice call using ccBPM.
    This is what I defined in the BPM
    1.)Sync rec
    2.)Block with Exception handler.
    3.) Sync send inside the Block with Fault exception defined.
    I defined fault messages for the interface. The Interface works fine when there is no exception but when there is a Fault exception I get the following error in SXMB_MONI_BPE "No exception defined for fault message Faultmessage urn:XXXXX:XXXXXXX ". Exception 8999, Error type 2, Area SWF_XI_ADAPTER Message 81. Variable1 Faultmessage and Variable2 the namespace".
    I rechecked my BPM and could see the Fault Exception defined for the Sync send step and it has an exception defined for it too.
    I checked SXI_CACHE and the return code is 00.
    We are running on PI7 SP13. Did any one face this kind of problem .

    Hi there,
    I have the exact issue in PI 7.1. Have any of you guys could resolve it? Can you please share your responses.
    Thanks.
    Anshul

  • BPM synchronous send step - Fault message extraction

    Hello Experts,
    I am developing a BPM with Asynch RFC -> synch Webservice -> Asynch RFC scenario.
    I have defined fault message in the synchronous interface used in the send step for web service, and also defined
    exception branch where an alert is thrown.
    In the alert, i want to send the fault text from the fault message. How can i do that??
    Thanks

    Hi Mona,
    SOAP adapter doesnt support fault messages.
    check stephan's reply @ How catch the SOAP Fault Message ?
    > SOAP adapter does not support fault message.
    > Any fault is treated as error.
    > fault messages are only supported for XI messages (ABAP or Java proxies) and RFCs.
    Fault message handling is not possible inside BPM.

Maybe you are looking for

  • Free LabVIEW Basics and Introduction Courses Removed, Moved or Missing?

    There use to be some very nice FREE Labview tutorials under:  http://sine.ni.com/nips/cds/view/p/lang/en/nid/10647  Use to be a area called, NI Training / Tutorials Free training materials: Online LabVIEW Basics LabVIEW Introduction Course - Three Ho

  • How to Ignore the errors while exporting

    Hi , i am trying to import a dump using imp command. Out of 10000 user objects, 5000 objects has got imported successfully. Meanwhile because of a LAN failure, import was not able to continue. And again i tried with import the same. System is trying

  • In wich table are stored  the last purchase price of items?

    Hi all, My question is in wich table are stored the last purchase price of items and what is the best way to import items price directly to the last purchase price list. In ITM1 appears the prices of the list prices but no the last purchase price lis

  • MooV video file format

    I have a number of .MooV video files from an older interactive application. The interactive plays these videos fine, however I'm unable to open them in any video players including Quicktime. I'm also having trouble converting these to another format

  • Does Oracle R12 support Parallel Operations functionality

    The example is more like the following: I have a job J1 with qty 5 made up of pieces x,y,z and operations 10,20,30,40,50. Piece X must be marked at operation 10, this cycle time is 1 shift Piece Y must be cut at operation 20, cycle time is 1/2 shift