How to handle messages correlated to a terminated process

In WLI 8.5, I have a process sending messages to a request queue (thanks to a WLI JMS control), and receiving message in a response queue (thanks to the same WLI JMS control).
The external process performing the work, reads messages from the request queue and publishes correlated responses. Those correlated responses can trigger the right process. This part works fine.
But if the response doesn’t arrive in due time, there is a timeout path, the process continues and terminates gracefully.
If a correlated message arrives on a terminated process, I have ConversationNotFoundException in the console. I’d like to handle them in order to send a too late message to the sender.
How should I proceed?
I cannot catch the ConversationNotFoundException(s) in the terminated process.
How can I catch them ?
If I put an error queue to my response queue, I won’t be able to discriminate between ConversationNotFoundException and other delivery errors. What is the best practise to handle this case?

We had a similar issue encountered and there were a few observations by BEA support on this exception that are generic I think, so this may help you:
(Are you using a JMS Control as the explanation involves them and more importantly, a cluster!)
There are some architectural implications of using a jms control in a cluster, where the message flow is bidirectional.
The ConversationNotFoundException would in this case be a consequence of the fact that our automatic jms control machinery has lost track of the exact jpd instance that it is receiving a mesage from. This automatic machinery is that the jms correlation-id = the conversation-id= the jpd instanceid
see http://e-docs.bea.com/workshop/docs81/doc/en/workshop/javadoc-tag/jc/jms.html, but in a cluster environment, it could be mix up and not work like that.
So regarding your question if you can program a specific message to send when this error occurs, it looks difficult as it seems your JPD is now out of the picture and hence no logic would handle this scenario.
Nevertheless, I will watch this space for other suggestions as a workaround.

Similar Messages

  • How to handle message prioritization in interface determination

    Hi Experts,
    How to handle the prioritization of messages if we say that for single source message it will be forwarded to 2 types of target messages.
    Here's the scenario:
    InterfaceDetermination object
    SourceMessageA => TargetMessageTypeA
    SourceMessageA => TargetMessageTypeB
    Since both of the target messages will receive the source message, i want to prioritize that TargetMessageTypeB will be receive it first before TargetMessageTypeA.
    Should I structure it in the Interface Determination as this:
    SourceMessageA => TargetMessageTypeB
    SourceMessageA => TargetMessageTypeA
    or this should be handled by BPM? Let say BPM is the last option how could this be configured in ID?
    Cheers,
    R-jay

    Hello Folk,
    you have once option in the interface determination check the maintanence order at runtime , it will solve your problem.
    regards,
    Ravi.

  • How to do message correlation without using BPEL?

    Can message correlation be accomplished in a JCD? I know how to do this in BPEL.
    Regards.

    Not unless you write your own correlation processor (which eInsight gives you as part of the deal).
    Think about what it is you need to accomplish and work out what Java code would be necessary to accomplish it.
    Do share. I, for one, am curious :-)

  • How to handle message "Exception condition "CNHT_ERROR_PARAMETER" raised"?

    Hi,
        Whenever I try to open Web Dynpro Comp./Intf->Views using transaction SE80, I am getting a short dump showing message "Exception condition 'CNHT_ERROR_PARAMETER' raised'. In the analysis, I have found that A RAISE statement in the program "CL_GUI_HTML_VIEWER============CP" raised the exception condition "CNHT_ERROR_PARAMETER". Since the exception was not intercepted by a superior program, processing was terminated. Can anyone help to get rid of this problem?
    Thanks & Regards.
    Deepjyoti

    hi,
    Looks like, ITS services are not fully active or not compeltely published.
    Check whether webgui services are active in SICF.(test service).
    Also, check all the ICM parameters.
    Regards
    Srinivas

  • How to handle Messages ?

    Hi,
    I like to handle the messages like
    "Error: Insufficient privileges. (WWV-10600)".
    Here, I want to give my custom message.
    Is it possible to handle the messages ?
    Please give the steps.
    Thanks in Advance
    Sudheer

    Hi,
    You cannot handle the errors raised in the renderers. You can handle the errors in the generated packages by changing the generated package and recompiling it.
    Hope this helps.
    Thanks,
    Sharmila

  • How to handle the cost in third party process

    Hi experts,
    As the request, my client has some trading goods. the customer buy them from my client. but there is no stock in my client. for this transaction, my client send PO to the vendor and the vendor delivers the products to the customer directly. After my client recieve the shipping notification, they create the invoice to end customer. So i want to use the Third-Party Function.
    But i have a confuse. How dose sap process the cost of trading goods(HAWA) in standard? you know, there is no stock for the trading goods, how to get the condition value of cost(VPRS)? Is there any special setting for the trading goods master data or some parameters in other place?
    can anyone give some supports? Thank you very much.

    Hi Dave,
    You can capture vendor price in billing document as a cost.
    Check the following settings.
    1) select the determine cost field in third party item category.
    2)  Billing relevance F
    3) check the VPRS condition type in pricing procedure. It will come after total amount.
    VPRS   statistical
    Subtotal = B
    Requirement = 4
    Now create a sales order with third party material and maintain price E.g  500 USD
    system will take VPRS value from material master in sales order level. E.g 300 USD. ( In billing level only system copies vendor price as a cost )
    Do the following transactions after sales order.
    Create a purchase order ME21N  with reference to PR( take the PR number from Sales order)
    In purchase order maintain price in item conditions tab E.g 320 USD.
    Goods receipt   MIGO
    Vendor invoice  MIRO
    Now create a Billing document with reference to sales order number.
    Here system takes VPRS cost 320 USD(PO price) instead of 300 USD which we maintained in Material master.
    Regards,
    Chandra

  • How to handle error when in middle of processing of data, target DB goes down

    I have large amounts of data ( for e.g.- 1000 records). It is writing to a DB target table. At the middle of processing of 500 th record, target DB goes down.
    What will happen to the data after 500??
    In which table will the data after 500 th record be stored?
    After target DB comes up how will the data( from 501 th record) be fetched so that no data loss takes place..
    Thanks,
    Anindya

    Anindya,
    ODI's performance is pretty good, because in fact there is no "ODI Performance". The performance will be as good as your enviroment performance + a good load strategy. I've been working in several ODI projects with gigantic volumes, with no performance issues.
    There is no such thing as "remaining un-inserted data". All data being inserted remains in the I$ table until the end of the process. ODI does not automatically control inserted/uniserted data, so, be carefull if you will implement a commit in your process. You will have to implement your process in order to flag the data that has been comitted, and where clauses to ignore them when the load is aborted/restarted.
    Also you will have to use a row-by-row processing which will dramatically decrease your performance.
    Please let me know if that helps!
    []'s

  • Block or handle message alert in WebBroswer container

    Hi,
    I am trying to make an application for collecting data from the Web by using WebBrowser container and .NET technique.
    In a cases, the web page had no data and showed a popup message (message warning dialog) from the server (not the dialog due to script error).
    In this case, I have to click the OK button manually and cannot be manipulated automatically.
    This dialog was provided by the server so the option of ScriptErrorsSuppressed is useless.
    I tried to get some events like NewWindow by using event Callback but cannot detect the event.
    I search this kind of popup in script programming but the solution candidated cannot be applied in my code.
    For example, http://stackoverflow.com/questions/9770522/how-to-handle-message-boxes-while-using-webbrowser-in-c
    Can I use user32.dll and related API functions like FindWindow with the embedded container of WebBrowser?
    Or, is there any other way to remove forcely (without clicking) the Dialog box as well as all SubVIs when I unload the application?
    My purpose is to remove (rather than handling) the dialog box automatically not to have a trouble in a long process.
    labmaster

    Hi
    Theoretically you can write as many lines as you like in a static alert message using tr. ALRTCATDEF.
    But if you use dynamic text to add error messages or other information coming from XI messages, that information can have a maximum length of 70 characters.
    The reason is the ABAP types used for the "variables" that you add to your static text to make it dynamic are CHAR70 thus you will get your adapter error messages truncated to 70 characters for example.
    Hope this answers your question.
    -Sam.

  • How to handle rebate returns

    hi,
    sap gurus,
    how to handle rebate returns in the normal process
    for eg:
    my given target to the customer is 1 lac and there is rebate agreement for him
    so by the end of the year he has reached the target and then
    we have settled the agreement thru automatic settlement and then
    after one month he has returned the goods and services back which are in rebate agreement and
    then how to handle that process.
    plz help me on this
    regards,
    balaji.t
    09990019711

    Hi Balaji,
      Raise appropriate debit memo  for that customer based on the client decision.
    Regards,
    kishore.

  • How to handle rpc/encoded style messages using BizTalk?

    I am integrating with a lot of services and one of our customers has a service with rpc/encoded style
    I could consume and generate schema from their wsdl file via BizTalk consume WCF wizard.
    Once I am trying to call the service with request message that generated from the schema, it is giving an error that can not desterilize the first element of the message. 
    No Deserializer found to deserialize a 'FieldName' using encoding style 'null'
    I compared the stub xml request message from SaopUI and I noticed that the xml expecting the data type with the element like this .
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsb="WSBanka">
    <soapenv:Header/>
    <soapenv:Body>
    <wsb:bnkBorcsorgulama soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <sozlesmeNo xsi:type="xsd:string">?</sozlesmeNo>
    <bankaKodu xsi:type="xsd:string">?</bankaKodu>
    <anahtar xsi:type="xsd:string">?</anahtar>
    </wsb:bnkBorcsorgulama>
    </soapenv:Body>
    </soapenv:Envelope>
    On the other hand, I got the request of the message from Fiddler using the BizTalk , and the generate xml of the BizTalk schema without the data type.
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsb="WSBanka">
    <soapenv:Header/>
    <soapenv:Body>
    <wsb:bnkBorcsorgulama>
    <sozlesmeNo>?</sozlesmeNo>
    <bankaKodu>?</bankaKodu>
    <anahtar>?</anahtar>
    </wsb:bnkBorcsorgulama>
    </soapenv:Body>
    </soapenv:Envelope>
    In SoapUi, if I remove a datatype from the message, I will get same error from the BizTalk request.
    I read some articles that rpc/encoded style are not supported but I am not sure and these articles are not clear.
    I also read that it was supported with Soap adapter but now it is deprecated.
    So, Is there any one has an experience in rpc/encoded style messages and how to handle these message in BizTalk or is there any work around to handle these messages?
    Your inputs really appreciate it.
    Thanks in advance,
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Hi,
    Please refer to the document which might help you:
    #RPC/Encoded Style
    http://www.c-sharpcorner.com/UploadFile/martinkropp/DesigningInteroperableWebService11232005044847AM/DesigningInteroperableWebService.aspx

  • How To Handle Error Message In TCD Recording?

    Hi All,
      I tried recording a transaction (my own transaction) by not enterring value in an obligatory field. the error message came. but when i executed the script, it showed an error. but actualy, the error message was expected right? how to handle this situation? i tried with tcd and sapgui recording. both gave almot the same result.
      i am including the script which i have written.
    MESSAGE ( MSG_1 ).
    *TCD ( ZCUST , ZCUST_1 , ECC ).
    SAPGUI ( SAP_1 , ECC ).
    ENDMESSAGE ( E_MSG_1 ).
    v_mno = &tfill.
    v_msg = E_MSG_1[v_mno]-msgtext.
    v_mtp = E_MSG_1[v_mno]-msgtyp.
    If Msg Type is E *** **** It Has To Be E ****
    IF ( v_mtp = 'E' and v_msg = 'Account no AC02 does not exist EXIT = X').
    logtext(0,'Passed').
    ELSE.
    log(v_mtp).
    log(v_msg).
    logtext(1,'Failed').
    ENDIF.
    End Of The Condition For Message Type E ******

    I have recording messages using the TCD command.
    My script (very simple):
    MESSAGE ( MSG_2 ).
    TCD ( ME21 , ME21_1 , R3 ).
    ENDMESSAGE ( E_MSG_2 ).
    In the MESSAGE command interface, I defined rules to allow several kind of messages.
    Execution: 3 mesages found:
          * transform PR into PO
           MESSAGE     MSG_2 [1,009 sec]
             RULES  MSG_2 = XML-DATA-01
            Message  MODE  EXIT  TYPE  ID    NR
            [1]      'A'         'I'   06    456
            [2]      'A'         'W'   'ME'  080
            [3]      'A'         'E'   'ZE'  029
             TCD    ME21                 [0,545 sec N] Target sys R3 -> ZDA010A219
            S06017 Standard PO created under the number 8201075606
               Tgt System Z_A219->R3->ZDA010A219 (ZDA 010 ... HP-UX ORACLE)
               CALL TRANSACTION ME21 ME21_1 XML-DATA-01
               03 MESSAGES FROM ME21 ME21_1 XML-DATA-01
               I  06 456 Release effected with release code 00001
               W  ME  080 Delivery date: next workday is 02.05.2007
               S  06 017 Standard PO created under the number 8201075606
           ENDMESSAGE  E_MSG_2 (&TFILL = 0)
    As you can see, 3 messages are found but the &TFILL variable is still 0.
    I guess (but cannot test yet) I would manage to record those messages using SAPGUI command.
    Is there anything wrong with my script?
    My SAP_BASIS component is in version 620. I'm not using the ultimate version of eCATT (no WEBDYNPRO command, etc.). Could it be an explanation?
    Thank you in advance,
    Olivier

  • How to handle error message during PAI?

    Hi Experts,
    Need help here.
    In my dialog screen, I have a field which is typed 'QUAN'.
    In entering different format , e.g. with non numeric value or a negative value, an error message appear and it does not process the MODULES inside the chain or FIELD MODULE ON REQUEST.
    Does anyone knows how to handle this kind of error. I need to display into a separate screen the errors I encountered coz I'm creating a new RF transaction.
    Points will be rewarded.
    Thanks in advance.

    Hai
    in your case(RF case) it is other way...
    yes you can use
    field x_currency module check_currency.
    in module check_currency.
    you have to display errors in another screen say 200.
    in that there will be 4 fields, all are display only fields.
    X_MESSAGE-MSGV1  of type sy-msgv1
    X_MESSAGE-MSGV2  of type sy-msgv2
    X_MESSAGE-MSGV3 of type sy-msgv3
    X_MESSAGE-MSGV4 of type sy-msgv4
    you populate the messages with these fields and then display it in the screen.
      method check_currency.
    *--do all your checks here....
           if error
             clear x_message.
            x_message-msgv1 = 'Enter Valid Employee Number'(004).
            leave to screen 0200.
          endif.
        endif.
    ENDMODULE.                 " VALIDATE_Currency
    in screen 200 PBO you need to format the message
    using the below logic.
           Method for formatting the message
      method message_format.
        data : lt_text type table of tline,         "text table
               lx_text type tline.                  "work area
        refresh lt_text.
        clear lx_text.
        concatenate x_message-msgv1 x_message-msgv2 into lx_text-tdline
          separated by space.
        append lx_text to lt_text.
        clear lx_text.
        concatenate x_message-msgv3 x_message-msgv4 into lx_text-tdline
          separated by space.
        append lx_text to lt_text.
    *- formatting the message
        call function 'FORMAT_TEXTLINES'
          exporting
            formatwidth = 20
          tables
            lines       = lt_text
          exceptions
            bound_error = 1
            others      = 2.
        clear: x_message.
    *- transfer the message data to screen fields
        loop at lt_text into lx_text.
          if sy-tabix = 1.
            x_message-msgv1 = lx_text-tdline.
          elseif sy-tabix = 2.
            x_message-msgv2 = lx_text-tdline.
          elseif sy-tabix = 3.
            x_message-msgv3 = lx_text-tdline.
          elseif sy-tabix = 4.
            x_message-msgv4 = lx_text-tdline.
          else.
            exit.
          endif.
        endloop.
      endmethod.                    "message_format
    Regards
    Vijay

  • How to handle parked message in BPM?

    Hi,
    I have a scenario that buyer as R3 send PO(same PO number) change idoc multiple times into bpm without receiving PO change confirmation(from seller, non R3) yet, I have a loop in bpm to handle this case, the loop checks the condition whether confirmation matches change request, if not, potential loop repeats.  However, if I have multiple change request(same PO number) sent from R3 to BPM, my BPM waiting for my order confirmation, then if the first order confirmation comes into BPM matches with the first change request, then I exit the loop, but I still have several change requests parked at processXXXXX yet to be processed, does anybody came into similar situations? Any good suggestions or examples?
    Thanks,
    Maggie

    Hi there,
    I need to correlate ChangeConfirmation to ChangeRequest with PO number, this is for the purpose of ChangeRequest waiting for Confirmation for the same PO number.  However, I don't know how to handle multiple changes come into BPM without confirmation yet, my current design is that I immediately enter a loop in BPM, with condition confirmation Info doese not match change info, thus the change request is bundled with bpm process, once the porcess is finished(response match change request), the queue of my other change requests(the parked ones) now got deleted, does anybody have any good suggestions in handling multiple change request(for same PO number) in bpm? Is there a way I can force bpm to handle one request one response, throw some error message if multiple changes comes together without response yet? Anybody had encountered similar issues?
    Thanks,
    Magge

  • How to handle error messages in BDC background mode

    Hi experts,
      I got one problem in BDC, We are uploading data throgh BDC program,that program is calling Standard Batch Input programs,
    Now we got one requirement, i.e., In some special cases we have to send one message as a error message.I handled this in foreground but, how to handle this in background.

    Hi,
    if session is being used
    automatically the log will begenereated in the sm35 transaction
    but if call transaction is used
    put all the error messages in the applicationserver using
    open data set
    and after the exectionof the program in the background
    you have to run another progam which reads the data stroed inthe application server
    that also with open data set only...
    thanks & regards,
    Venkatesh

  • How to handle xml message in proxy inbound processing?

    Hi Experts,
    I have a scenario that is SOAP Client====>XI===>ECC.
    But i don't need to use the XI mapping,i skip mapping
    in XI and use the generated proxy inbound processing.
    Here is a message structure as below.
    <commodityList>
    &#9632;<commodity>
    &#9632;&#9632;<detailNo>303303</detailNo>
    &#9632;&#9632;<makerName>sony</makerName>
    &#9632;&#9632;<ChargeInfoList>
    &#9632;&#9632;&#9632;<productId>aaaa</productId>
    &#9632;&#9632;&#9632;<name>bbb</name>
    &#9632;&#9632;</ChargeInfoList>
    &#9632;</commodity>
    </commodityList>
    When i sent the message without field entry of <productId>
    and <name> i got the response in soap client as below.
    <commodityList>
    &#9632;<commodity>
    &#9632;&#9632;<detailNo>303303</detailNo>
    &#9632;&#9632;<makerName>sony</makerName>
    &#9632;</commodity>
    </commodityList>
    The field tag <ChargeInfoList> doesn't display.
    But i want it to display as below.
    <commodityList>
    &#9632;<commodity>
    &#9632;&#9632;<detailNo>303303</detailNo>
    &#9632;&#9632;<makerName>sony</makerName>
    &#9632;&#9632;<ChargeInfoList>
    &#9632;</commodity>
    </commodityList>
    In case of field entry is empty,how to  let the response
    contains tag?
    As i know ,there is a CONTROLLER in proxy .
    But i don't know if it is relevant to this
    case and i don't know how to handle it.
    Brand

    Hi Mrudula,
    As far as i know there are no content conversion methodology for HTTPS as the recevier adapter.
    Also you can read through these links to confirm the same:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst30.htm
    SAP NetWeaver - XML Communication Interface (CA-XML) [original link is broken]
    Regards,
    abhy
    note: reward the helpful.

Maybe you are looking for

  • Can two family members share downloads on different accounts in different states?

    My daughter and I have shared the same itunes account for years.  Now she has her own itunes account and has moved to Ohio.  Can't we still share songs that she buys from her account and that I buy from my account?

  • Save As....PDF does not open in Acrobat Reader

    I'm using a mac with all the lastest updates. I have version 11.0.03 of Adobe Reader When I use Safari to view a .PDF file, I can view it with no problems. The problem comes after I SAVE that file.  So when I'm viewing a site such as http://www.light

  • When Ipod touch plugged into computer

    most of my purchased songs have gotten deleted! what should i do.... and how should i get my songs back?

  • Why u  use logical databases

    how u used logical database?how is data transferrd to program?corresponding statement in LDB?

  • Steps to create an error DTP

    Hello, What are the precise steps to create an error DTP? I tried this by going to my DTP > Update tab > click on button "Creating Error DTPs" > provide package and transport number BUT, I get error: "Invalid call sequence for interfaces when recordi