Return message for timeout in BPM

Hey
I have a synchronous scenario using BPM. My question is: If the web service I'm calling is down and I receive a timeout, can I then create a return message from BPM to the sender system that can take attributes from the original message that did not reach it's target? I have read that I can do this in case of an error, but I read someone saying this is not possible when we have a timeout...
Thanks!
regards Ole
Edited by: Ole on Sep 23, 2008 1:16 PM

Hi Ole,
You can implement a Dedadline branch in your BPM that catches your time out.
You can follow theese links:
http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/frameset.htm
Carlos

Similar Messages

  • Returned message login timeout expired linked server

    OLE DB provider "SQLNCLI" for linked server "SERVER" returned message "Login timeout expired".
    OLE DB provider "SQLNCLI" for linked server "SERVER" returned message "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default
    settings SQL Server does not allow remote connections.".
    Msg 53, Level 16, State 1, Line 0
    Named Pipes Provider: Could not open a connection to SQL Server [53].

    Hi Lukesh,
    According to your description, you cannot connect to one of your linked servers with the error "Login timeout expired", right?
    If in this case, please follow the troubleshooting methods below on the linked server.
    Select "Using both TCP/IP and named pipes" in SQL Server 2005 Surface Area Configuration.
    In SQL Server Configuration Manager, make sure that TCP/IP is enabled for the Network protocol.
    If you turn on the Firewall, make sure the TCP port 1433 is in the Firewall exception list.
    Reference
    http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/
    If the issue persists, please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Return Messages for a BAPI run in Background

    Hi all,
    I am running a BAPI( BAPI_SALESORDER_CHANGE ) in Background task, It works fine and updates the Sales order but i dont get any return messages.But based on the return messages i need to show up on the report which orders got updated and which are not.....
    Can anyone help me how can i get the return messages when i run a BAPI in background task......

    Thanks for the quick response....I think you got me wrong...I am not running the program as a background job....I am running only the bapi in background task as below.....
                CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
                   IN BACKGROUND TASK AS SEPARATE UNIT
                     EXPORTING
                          salesdocument    = v_vbeln
                          order_header_in  = it_bapisdh1
                          order_header_inx = it_bapisdh1x
                     TABLES
                          return           = it_return
                          partnerchanges   = it_bapiparnrc.
    When the bapi runs as a background task i dont get any return messages in it_return but the sales order gets updated....
    But i will have to capture the return messages as well....How can i achieve that ?

  • Return message for workitem in closed container

    Dear all,
    I have a custom developed workflow for the leave approval processes and i am facing a recurring issue with the workflow. The issue is sometimes the workflow terminates abruptly in the middle with the return as "Return for workitem XXXXXXXXX in closed container".
    Can someone please let me know what might be the possible reason for the same and how to rectify the same.
    Regards,
    Saurabh Anand

    Hello,
    I can't find any reference to "in closed container" in SDN or OSS, are you sure that's exactly what the message says?
    What sort of steps does this happen at? Are there any other messages in the workflow log?
    How often does this happen, has it only started happening recently? If so, what's changed?
    Also, what version are you on?
    regards
    Rick Bakker
    Hanabi Technology

  • Want to display "no data Return" message for empty report

    HI all
    I have a requirement where i should show a message saying "No data Returned" under the empty table in the webI report.
    I know that we should use function
    =If(NumberOfRows([Data Provider Name])=0;"NO Data Available")
    I will create a empty cell and include this formula for that cell, but any one please tell me what exactly is the Data Provider Name? Is it the name of the univerese or something else? where can i get the Data provider name?

    Data Provider Name is the name of your query.  By default its name is Query 1.
    =NumberOfRows([Query 1])
    Or you may have changed its name when you edited the query in the query panel, so that's the name you have to use there
    For example:
    =NumberOfRows([My Query])
    If you have a lot of Queries in your report they may be Query 1, Query 2, Query 3 and so.
    Edited by: PadawanGirl on Feb 18, 2011 3:33 PM

  • Oracle Error Code and Message for Query Timeout

    Hi,
    I need to catch the oracle error code and message for query timeout.
    I am using Oracle 9i and could not find any relevant error code/message
    for query timeout in Oracle Error Messages.
    If anyone has encountered such error messages, please let me know the
    Oracle Code or Error message.
    Thanks & Regards,
    Kanjana

    Fly is correct in that Oracle will normally let a query run forever in the absense of a user profile or dbms_resource setting that limits a users (query) resouce usage.
    The errors returned for these condition would probably vary but errors ORA-02092 "exceeded session limit on CPU usage, you are being logged off" and ORA-02093 "exceeded call limit on CPU usage" might be of interest.
    But for distributed queries Oracle does impose a time limit. See Oracle error ORA-02049 "timeout: distributed transaction waiting for lock"
    HTH -- Mark D Powell --

  • Linked Server :: OLE DB provider "OraOLEDB.Oracle" for linked server "ABC" returned message "New transaction cannot enlist in the specified transaction coordinator. ".

    Hello All,
    As mentioned in title, i am stuck up with that articular error from last three days,
    i have following scenario, my SQL server 2008, my oracle 10g are on both same machine with OS Windows Server 2008.
    the following error generated on my management studio when i execute my procedure written in my SQL server. Following is original source code snippet after error massage.
    OLE DB provider "OraOLEDB.Oracle" for linked server "ORCL" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
    Msg 50000, Level 16, State 2, Procedure PROC_MIGRATE_MST_FRM_ORA_SQLSERVER, Line 43
    The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORCL" was unable to begin a distributed transaction.
    BEGIN TRY
    -- MIGRATION OF PR_COMPANY_MH START
    BEGIN TRANSACTION T1
    PRINT 'mILAN NNNNNNNNN 11'
    INSERT INTO PROD.PR_COMPANY_MH
    SELECT * FROM OPENQUERY(ORCL, 'SELECT * FROM PR_COMPANY_MH WHERE SQL_FLG = ''N'' ')
    PRINT 'mILAN NNNNNNNNN 12'
    UPDATE OPENQUERY(ORCL, 'SELECT SQL_FLG FROM PR_COMPANY_MH WHERE SQL_FLG = ''N''')
    SET SQL_FLG = 'Y'
    --EXECUTE ('UPDATE PROD.PR_COMPANY_MH SET SQL_FLG = ''Y'' ') AT [ORCL]
    PRINT 'mILAN NNNNNNNNN 13'
    COMMIT TRANSACTION T1
    -- MIGRATION OF PR_COMPANY_MH END
    END TRY
    BEGIN CATCH
    PRINT 'mILAN NNNNNNNNN 14'
    ROLLBACK TRANSACTION T1
    PRINT 'mILAN NNNNNNNNN 15'
    SELECT
    @ErrorNumber = ERROR_NUMBER(),
    @ErrorSeverity = ERROR_SEVERITY(),
    @ErrorState = ERROR_STATE(),
    @ErrorLine = ERROR_LINE(),
    @ErrorProcedure = ISNULL(ERROR_PROCEDURE(), '-');
    PRINT 'mILAN NNNNNNNNN 16'
    SELECT @ErrorMessage = ERROR_MESSAGE();
    RAISERROR (@ErrorMessage, @ErrorSeverity, @ErrorState, @ErrorNumber, @ErrorProcedure)
    PRINT 'mILAN NNNNNNNNN 17'
    END CATCH
    this perticular part is raising that error, and i had tried every configuartion on my local machine related to MS DTC.
    When i remove my transaction code, its work just fine no exception raise, but when i use then i.e. BEGIN TRAN, COMMITE TRAN, AND ROLLBACK TRAN. its giving me error, other wise its fine.
    Please Help or disscus or suggest why my transaction base code is not woking????
    thanks in advance.
    Regards,
    Milan

    Sorry again, I am new on any kind of forum, so i am learning now, following is the error massage generated by SQL Server. and its not
    an architecture problem, i had just included my complete architecture to be more informative while asking for the solution or suggestion. My real problem is T-SQL, i think and its related to Distributed queries raise in SQL Server in Oracle Link Server.
    OLE DB provider "OraOLEDB.Oracle"
    for linked server "ORCL" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
    Msg 50000, Level 16, State 2, Procedure PROC_MIGRATE_MST_FRM_ORA_SQLSERVER,
    Line 43
    The operation could not be performed because OLE
    DB provider "OraOLEDB.Oracle" for linked server "ORCL" was unable to begin a distributed transaction.

  • Getting returned mail messages for emails I did not send

    I've recently started getting returned mail messages for emails I did not send. Why is this happening and how can I stop it?

    cadillacjoe69 wrote:
    That might be tough to do. Is there a rule I can use to help. The mail messages are so varied.
    I'd look at the headers (View -> Message -> Long Headers) to see if there's anything in common, then try to create a rule based on that.
    By the way, welcome to Apple's discussion groups.

  • Error message: error timeout for content=20086

    Hi all,
    I encounter the following problem when trying to view a portlet which is a report
    that accesses data from a remote database:
    Error message: error timeout for content=20086
    The above mentioned problem is intermittant but is very annoying.Is there a
    parameter that i could tweak.
    Any suggestions would be welcome .
    Thanks and regards,
    Anila.

    Hi,
    Is this happening for other portlets. If not please make sure the table being accessed has proper indexes. Also there is a option to increase the time out for a provider. In the administer tab edit the provider (application name) and increase the timeout seconds there.
    Hope this helps.
    Thanks,
    Sharmila

  • A site I need for consulting purposes requires an add-on known as "Intranet for Firefox". When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site.

    A site I need for consulting purposes (http://www.aegtelecom.com.pt/) requires an add-on known as “Intranet for Firefox”. When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site. However, being a steadfast Firefox user, I would prefer to use Firefox for this purpose.

    http://www.aegtelecom.com.pt/contactos <br />
    Have you tried contacting that web site's support department for help with that issue? <br />
    If that web site can't find the add-on it says is needed, they need to fix that problem with their servers.
    Or you can try using IE Tab2 to run IE in a Firefox tab. <br />
    https://addons.mozilla.org/en-US/firefox/addon/92382

  • Message mapping when using BPM?

    We are doing a test to see if you can do a split of a string using standard functions, UDF or BPM.
    We discovered that standard function has some of the functionality but if you are going to solve the problem that way the solution will be very complex. You will get no flexi bility in how to design the string and all the feilds will have to have fix length. So Standard functions are not the solution for us.
    UDF works realy great. Write your java function and map it and everything are running.
    We wont to test BPM as well. and i just started to look at it and how to solve it. I'm a newbee on BPM and for start I'm wondering how the message mapping should look to use in the BPM?
    Sourcemessage looks as follow:
    <Header>
       <Line>  
          <SegmentA>   0 to unbounded
          <SegmentB>   0 to unbounded
          <SegmentC>   0 to unbounded
    SegmentA contains a value to be copied to a segment in the target.
    SegmentB contains a date to be copied to a targetelement.
    SegmentC contains a string that we want to split into several elements in the target structure.
    Targetmessage looks as follow:
    <Header>
       <LineA>   1 to 1   (Will get the value from SegmentA in the sourcemessage.)
       <LineB>   1 to 1   (Will get the value from SegmentB in the sourcemessage.)
       <LineC>   0 to unbounded
          <ElementA>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementB>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementC>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
    To able to get the messages into BPM I need a interfacemapping and to do the interfacemapping I need to do a messagemapping. How should that messagemapping be configured?

    > Now i want to try to replace that UDF with a BPM (Integration Process).
    An UDF is part of a mapping and an Integration Process is used if you want to realize a more complex scenario then sending a message from System A to System B. In BPM you can do things like collecting messages, use timeouts, ...
    But if you want to use a mapping in a BPM you define your mapping in your Integration Repository (like in a standard scenario without BPM) and then you can use the mapping in the Integration Process.
    That's why i say it's maybe possible to realize your mapping without UDF (for example only with standard functions), but it makes no difference if you use BPM.
    If you want to try finding a solution without UDF, i would suggest to open a new thread for this question.
    Hope this helps.
    Regards
    Patrick

  • BPM - PI/XI Integration to get success/failure message from PI into BPM?

    Hello Experts,
    I happen to run into following scenario:
    I have a BPM Process created in NWDS CE 7.2. This process allowes to create a record in SAP. When a user requests to create a record and fill out the required details, it goes to approver for approval. Upon approval, record gets checked-in to MDM and then from MDM it is syndicated to SAP R3 using an IDOC. Now, what I need is, if PI/XI is succesful to create that record in R3, then the success message should be sent to BPM for performing some further actions. And if it is a failure message returned from PI/XI then BPM will take a different lane.
    Can I do this? If yes how? I read about PI Integration Repository, Java Mapping APIs etc but to be frank I am not able to understand it at all. Please help.
    Ameya

    Thanks John,
    Before I close this thread, following are my understandings:
    1) I need an intermediate event who's trigger will be mapped to PI service
    2) That means, PI will use this webservice for sending the reply back to BPM event
    3) Accordingly BPM flow will be decided
    End-point URL is the WS URL and that is also available in WS Registry. Apart from this, whatever PI side configurations or development is required that is out of our purview. Is that correct?
    Ameya

  • LDAP search API doesn't always return NamingException when timeout

    I am from My Oracle Support (MOS) (http://support.oracle.com) team. 
    In MOS we connect to corporation OID (external) to search for user by email, and search for user's groups.
    But sometimes, the OID search API simply return without any results, and doesn't throw any exception, but we know the user exist,  or user has group memberships.
    Here is the code snippet:
    1. Create connection
        env.put("com.sun.jndi.ldap.read.timeout", "3000");
        env.put("com.sun.jndi.ldap.connect.timeout", "3000");
        Context ctx = NamingManager.getInitialContext(env);
    2. search for user by email address
    try {
        idCtx.search(OidServiceConstants.SEARCH_BASE, searchFilter,  searchControls);
    catch (Exception e) {
    // handle exception and retry, etc.
    3.   get user's group membership
    PropertySetCollection propSetColl =
    Util.getGroupMembership(idCtx, userDn, new String[0],
    false, "uniquemember");
    In step #1, the timeout is set to 3s for both connection and read operations. but the problem is that in step #2 and #3,
    the API sometimes throw NamingException to indicate there is timeout, such as
    javax.naming.NamingException: LDAP response read timed out, timeout used:3000ms.; remaining name 'dc=oracle,dc=com'
    Sometimes it doesn't, but we have confirmed the times with backend OID team and know that it took 8s.
    So how to make the API throw exception reliably ?

    Hi, Navneet Nair
    did you set up an OSS Message for the Portal-User Problem, if so, can u tell me the result and/or how you fixed your logon trouble...
    in fact i found out, when i change the user as you describe above, i have the same problem. when then i log off again, and come back withe the just before logged in user, i get the correct result on the webdynpros. <b>So I have to log off twice to actually change</b> the corresponding result on the webdynpro - strange thing is, taht in fact on the Portal screen in the upper left corner each time, i swap users the correct username is displayed...
    we are running ep 6 patch level 10...
    thanks for a hint,
    mattthias
    Message was edited by: matthias kasig
    Message was edited by: matthias kasig

  • XmlHttpRequest AJAX not returning message from COMET server

    I have the following COMET client javascript code:
    function getResponse() {
    document.getElementById("_receivedMsgLabel").innerHTML += "getResponse() called.<br/>";
    if (receiveReq.readyState == 4 || receiveReq.readyState == 0) {
    receiveReq.open("GET", "http://L45723:1802?callback=testcallback", true); //must use this URL at work.
    receiveReq.onreadystatechange = handleReceiveMessage;
    alert("handleReceiveMessage assigned to onreadystatechange event.");
    receiveReq.overrideMimeType("text/x-json");
    receiveReq.timeout = 100000;
    var currentDate = new Date();
    var sendMessage = JSON.stringify({
    SendTimestamp: currentDate,
    Message: "Message 1",
    Browser: navigator.appName,
    OriginUrl: document.URL
    var sendMessage = "SendTimestamp=" + currentDate + "&Message=Message1&Browser=" + navigator.userAgent;
    alert("JSON message created. About to send...");
    receiveReq.send(sendMessage);
    alert("Message sent.");
    //function for handling the return message from Comet
    function handleReceiveMessage() {
    document.getElementById("_receivedMsgLabel").innerHTML += "Status=" + receiveReq.status;
    document.getElementById("_receivedMsgLabel").innerHTML += "responseText=" + receiveReq.responseText;
    if (receiveReq.readyState == 4 && receiveReq.status == 200) {
    document.getElementById("_receivedMsgLabel").innerHTML += "Message received!<br/>";
    var status = receiveReq.status;
    var txt = receiveReq.responseText;
    document.getElementById("_receivedMsgLabel").innerHTML += txt + "<br/>";
    mTimer = setTimeout("getResponse();", 0);
    getResponse();
    The GET request is sent and received by the COMET server, which sends the response back when I choose to. The handleReceiveMessage() function is called, but the message the server sent is not in the xmlHttpRequest.responseText property.
    Why?

    I suggest continuing the discussion in your thread on mozillaZine, since this site focuses more on end-user support.
    [http://forums.mozillazine.org/viewtopic.php?f=25&t=2480435 xmlHttpRequest object - mozillaZine Forums]

  • Return Process for Depot Excise Billing.

    Hi,
    We are following Depot Excise Billing Process. Where we are using Stock Transport Purchase Order Process for transferring the goods from Mfg.Plant to Depot.
    Now, we require return process for returning the Goods from Depot to Mfg. Plant. Please also confirm Excise Register needs to be updated? If yes, please tell us the transaction for the same.
    For satisfactory answer ful points will be rewarded.
    Thanks and Regards,
    Dilip Shende

    Hi Murali,
    I have followed the procedure given. However, in J1IEX transaction system gives me error message "Excise Invoice 9001000027 28.05.2008 of plant 410027 does not exist"
    Where Excise Invoice 9001000027/28.05.2008 is the number generated in T.Code J1IJ. And 410027 is Vendor code.
    Please give your valuable suggession to solve the issue.
    Thanks and Regards 
    Dilip Shende

Maybe you are looking for

  • Negative sign display for CURR field in ALV grid report

    I have a field BETRG defined as CURR field of length 15, decimal places 2. The value may be negative or positive. In case of negative values I am using EDIT_MSK option in the field catalog to bring the negative sign to the left of the value as shown

  • Roles Not Getting assigned during trusted reconn in OIM 11gR2

    Hi Experts, I have created a Role, Access policy for ACF2 and a rule for automatically provision Users whose Company Code = 200 (company code is a UDF) The records are getting provisioned if I assign the role manually to the user and run Evaluate use

  • Adobe is not an option under "open in" on my iPad

    Adobe is not an option under "open in" on my iPad

  • MP in DMZ for Internet facing clients and MAC systems

    I am planning to install an MP, DP and SUP in our DMZ to be able to manage following  - Internet facing clients  - In house MAC system  - All Mobile device I was wondering what ports I would be needing to open in DMZ so communication in/out DMZ to co

  • Cisco CSS 11501 - High-Availabilty

    We have a single CSS 11501 and were thinking about just buying a new one and putting it online as the standby with statefull (hopefully) failover, but weren't sure that this would work. Does anyone know what is needed to create a high-availability Ci