Messages stuck in QRFC inbound and outbound queues by system error

Hi Experts,
We faced a big problem in our PI server which stopped all the traffic in the iDoc to File interface. Both the QRFC queues (inbound - SMQ1 as outbound - SMQ2) where stuck by a system error.
In IDX5 of PI we saw two inbound iDocs on exact the same date/time of creation. Both iDocs are displayed in SXMB_MONI with the status "Canceled - Since Already Processed". The output files of both iDocs are generetad on the outbound side.
The output files are genereted with a date/time stamp in filename exactly as: "pi_20101106-221812-437.dat" and "pi_20101106-221812-438.dat". So it seems that both processes where running on exact the same time.
When looking into the system error we see the following details:
com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 00505697-181b-1ddf-babd-68f1ac208528(INBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: [200]: Duplicate key
This caused that the QRFC queues where both stuck in inbound as outbound with a SYSERROR, so PI stopped and the queues should be reactivated manually.
Does anybody have some idea of the real cause of this error. We really want to prevent such situation in the future.
Thanks in advance!
Best regards,
Joost

Hi Joost,
Are you using an adpater module to avoid the same file name processed by the receiver channel ???
If this is the case change the filename and retest flow otherwise remove the module (ex: localejbs/AF_Modules/MessageTransformBean - Local Enterprise Bean) from the channel check it whether the file getting processed or not...
OR...you have an incorrect module configuration in the receiver channel.
Do not remove the standard SAP module and make sure that you add additional modules before it.
cheers,
Ram.

Similar Messages

  • Impact of inbound and outbound queue

    Hi,
    I have created the service request in CRM and replicated to r/3, what is the impact on inbound and outbound queue of R/3 and CRM server.
    Thanks in advance

    Hi
    if the mb doc is passed to R3 ok if  not you can come to know in smw01 if it gets bounced to crm you need to check for error analysis why bounced, if it get posted R3 inbound queue to r3 is succefull if get bounced back to crm the out bound of crm is failed then depending up on error analysis you should proceed in order to proceed further how to push the transaction to r3 by clearing the middlle ware struck up
    CRM Impact is : succefully sent to r3 using mb docs by out bound quue
    R3 : if gets bounced in bound quueue is failed to receive the CRM's out bound so you need to rectify in CRM only.
    Reward for useful
    Venkat

  • Automate monitoring of inbound and outbound queues

    Hi,
    I think It would be better to go for standard CCMS monitoring, if you dont have very specific requirements.
    Yes, we can easily sent out emails for CCMS alerts. You can either use the auto-reaction method
    CCMS_Send_Alert_to_ALM  (Note 617547 - RZ20: Sending alerts as mail and SMS) or the one
    CCMS_OnAlert_Email_V2 (Note 939616 - CCMS auto-reactions: Help with troubleshooting)
    Regards,
    Francis

    Vamsee,
    Go for CCMS - if you want to send the alerts to your technical support team. This provides active monitoring for SYSFAIL status and also for long running queues in SMQ2.

  • Diff. between using inbound queue and outbound queue.

    Hello All,
    Can somebody please explain me the diff. between using inbound and outbound queue?Thanks.
    Best Regards,
    Tushar

    Hi Tushar,
    I hope you will find the answers here:
    /people/somnath.manna/blog/2006/12/21/demystifying-cif
    /people/somnath.manna/blog/2006/12/31/demystifying-cif--part-ii
    Regards
    Alper

  • To Monitor inbound and outbound messages for ECC 6.0 business system

    Hi Guys,
    I am working on ABAP proxy. I want to monitor the flow of Inbound and Outbound messages for my Business system (ECC 6.0).
    XI server is on a different system.
    I understand that SXMB_MONI is used for tracking XML messages. What kind of tracking can we do by this transaction in our Business system and the XI system?
    And how do I know whether the outbound XML message sent is lying in the Sending Business system or in the XI system?
    When I am testing my interface, there is a fault message generated. How do I know whether the fault message is being sent to XI?
    Thanks,
    James.

    James,
    Go to SXMB_MONI in your sending system.
    Here you will find a message ID fro your Message.
    Go to XI, --> SXMB_MONI -->Monitor For Processed XML messages --> Advanced Selection Crieteria and use the Message ID here to see if the Message has hit XI or not.
    Likeiwse it can be traced in the target system as well.
    The basic point,  The messages will have same Message Id on your R3 and on XI.
    Regards
    Bhavesh

  • Monitoring of inbound and outbound messages for business system ECC 6.0

    Hi Guys,
    I am working on ABAP proxy. I want to monitor the flow of Inbound and Outbound messages for my Business system (ECC 6.0).
    XI server is on a different system.
    I understand that SXMB_MONI is used for tracking XML messages. What kind of tracking can we do by this transaction in our Business system and the XI system?
    And how do I know whether the outbound XML message sent is lying in the Sending Business system or in the XI system?
    When I am testing my interface, there is a fault message generated. How do I know whether the fault message is being sent to XI?
    Thanks,
    James.

    James,
    Go to SXMB_MONI in your sending system.
    Here you will find a message ID fro your Message.
    Go to XI, --> SXMB_MONI -->Monitor For Processed XML messages --> Advanced Selection Crieteria and use the Message ID here to see if the Message has hit XI or not.
    Likeiwse it can be traced in the target system as well.
    The basic point,  The messages will have same Message Id on your R3 and on XI.
    Regards
    Bhavesh

  • Global inbound and outbound message size

    Is there anyway from exchange shell to list the global maximum size restrictions for inbound and outbound emails? What is the syntax?

    Get-TransportConfig | Select Max*Size
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Seeking recommendations for handling large binary documents with security(preferable) for inbound and outbound scenarios from OSB- SOA and SOA- OSB

    Hi,
    I am currently working on a project with the following requirements
    1. Client transfers binary document (between 1-20MB in size) from OSB proxy to SOA composite to Content Management system
    2. Client retrieves binary document (between 1-20MB in size) from Content Management system to SOA composite to OSB proxy
    In otherwords, a inbound and outbound integration.
    What I have tried so far and my results:
    Scenario A
    1. Enabled MTOM on SOA composite by attaching wsmtom policy
    2. Created an OSB business service and consumed the SOA composite application
    3. Enabled MTOM on OSB proxy and business service and configured it to pass by reference
    Scenario B
    1. Enabled MTOM and security on SOA composite by attaching wsmtom policy and SAML policy
    2. Created an OSB business service and consumed the SOA composite application
    3. Enabled MTOM on OSB proxy and business service and configured it to pass by reference
    I have a demo integration setup that writes a binary document to a file using the above steps. My SOA composite has a file adapter that writes the binary data to an external file and it is exposed as a web service with a simple WSDL definition that has an inline XSD schema with an single element of base64binary type. I have added a mediator that maps this base64binary element node to the file adapter's input node.
    Result for Scenario A with file size less than 1 MB:
    Flawless execution with sub-second response times
    Result for Scenario A with file size of 8MB
    First attempt: SOA composite faults with database transaction related error, solved by increasing JTA timeout
    Second attempt: Flawless execution, but file transfer took over 100 seconds to complete. This is very poor performance and my suspicions are that this cannot be the expected behaviour, but I dont know the internal workings of the SOA composite and why its taking this long.
    Result for Scenario B:
    The OSB business service does not accept/recognize the SAML policy in the WSDL and suggests to configure OWSM policies manually, but OWSM policy in OSB does not have the wsmtom policy. Regardless of this, any permutation of MTOM + WSS security in this integration scenario either did not work outright or MTOM optimization was not happening ie binary data was materalizing in the message body.
    I have only about 3 weeks left to implement a viable solution and the closest ive come to a solution is Scenario A but that +100 second response time for an 8MB file is really worrying.
    I would appreciate any level of guidance, recommendations or suggestions as to how I go about tackling this problem.
    Thanks
    regards,
    Johnny

    I think this is due to the underlying mechanism of weblogic classloading..
    You can contact oracle support @ https://support.oracle.com to report issues. Roughly this is the process .
    1- get the Oracle Customer Support Identifier (CSI) for the client you are working for.
    2- Create a user profile quoting the CSI. This will send an approval request to oracle support admins at your client.
    3- Get the oracle support admins at your client site to approve your request for support access.
    4-Once they approve , you can access the support site and raise service requests.

  • Degugging Inbound and Outbound idocs

    Hi friends,
    Can any one help me in debugging Inbound and outbound IDocs?
    1.I found the inbound FM using Tcode we19,clicked the inbound FM button and called it in the debugging mode.
      While debugging the Inbound FM iam nt able to figure out the actual problem.Is there any way to reach out the exact problem?
    2.How to find out the outbound Idoc FM and debug it?
    Your help is appreciated.
    Thanks in Advance.

    Hi,
    Inbound or Outbound IDoc processing FM can be found iin partner profiles(WE20).
    for Outbound: WE20 --> choose partner type --> Outbound parameters --> choose message type --> Message control Tab --> Double click on Process code to get the FM assigned.
    for inbound: WE20 --> choose partner type --> Inbound parameters --> choose message type --> inbound options --> Double click on Process code to get the FM assigned.
    For debugging, use Tcode WE15 for outbound, But before that u need to set the output type dispatch time as 1 (Send with periodically scheduled Job). Go to Output type assignment screen --> assign the output type --> choose further processing --> Set Dispatch time as 1 --> Save.
    Note: U need to keep the break point in the Outbound FM or exit if any before going to WE15 to debug from that point.
    Hope it helps,
    SG.

  • INBOUND AND OUTBOUND DETAILS SAME: Problem

    Hi Guys
    I am facing problem regarding the inbound and outbound details. My scenario is bypass scenario, sender is JMS and receiver is R/3 system. Both the sender structure and the receiver structure are same. It has two SWC one for sender n one for the receiver. we r importing the idoc and using taht as External Defination. In the document , i am seeing the OUTBOUNd and Inbound details are same, such as the SWC which is being used for the receiver is being used for the outbound details, also the namespace and name of service  interafce and the message type are being given the same here(all these are the IDOC name i.e IDOCMSGtype.IDOCname). 
    i have been asked to follow the document for my refrence.
    please help me out. is it the correct process or any changes have to be made???
    thanx in advance
    Edited by: VArjun86 on Mar 4, 2010 7:37 AM

    answered

  • Significance of Inboun and Outbound queue in sales order replication

    Hi CRM Leads,
    What is the significance of Inbound Queue and Outbound queue in saleas order replication from CRM to ECC.
    What exactly happens in Outbound Queue and Inbound Queue.
    Thanks,
    Sandeep
    What

    Inbound - Tcode: SMQ2 :  Inbound in the context of CRM and this queue shows the business transaction, master data and configuration data that are coming from ECC into CRM .
    Naming Convention for Queues
    The names of queues for data transfers from an ERP back end to the CRM server are made up as follows:
      R3A (from ERP back end to CRM)
        I for the initial data transfer / for Data Synchronization
        D for the delta data transfer
        U for loading to the ERP back end
        R for Defining Requests
        <Object> Name or part of object name, or the name of the higher-level independent object
        <Key> Only delta queues are subdivided by keys
    Outbound - Tcode SMQ1 - Outbound in the context of CRM and this queue shows the transactions and data that are going from CRM to ECC
    See more on [Using CRM Queues|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2d9d9707361903e10000000a42189c/content.htm] following the link.
    Read the [CRM Adapter Framework|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2e33a2a6c51d24e10000000a421937/content.htm] for advanced learning.

  • Defining INBOUND and OUTBOUND

    Hi Every One,
    I have a very small question.
    How do we define INBOUND and OUTBOUND?
    I got this doubt, when I read some material, sometimes the directions (INBOUND and OUTBOUND) are told as per application systems which participate in message exchange? Sometimes the directions are told as per the XI integratin server.
    Which of the 2 methods stated above is correct?
    I hope I am clear in what I wanted to convey.
    Bye, tschüs, adeu
    -Naveen.

    Hi NaveenKumar,
    You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure. Depending on the communication parameters defined for a message interface, it can either have the task of sending a request (outbound) or receiving a request (inbound).
    An outbound interface sends a request message that is only used to make a communication party aware of data sent, without waiting for a response message. In the case of the latter, we also refer to publishing interfaces.
    An inbound interface receives a request message that you reply to with a direct response message or whose data you can process in the system without a response.
    I guess i have helped you solve your confusion.
    Regards,
    abhy

  • When To Use Inbound and Outbound Interfaces?

    I use an Inbound message type when i am receiving some data and outbound message type when i push data out of the XI box??Is this correct..
    And how to decide when to use a Inbound and Outbound Interface?

    Hi Barik,
    <b>I use an Inbound message type when i am receiving some data and outbound message type when i push data out of the XI box??Is this correct..</b>
    WRONG!!!
    outbound message->XI->Inbound message...
    (sender system)->XI->(reciever system)
    remeber: when u r sending some data to XI u send it using outbound interface.
    and when u r sending some data from Xi to other system u use inbound interface...
    Hope ur doubt is clear!!
    regards
    BILL
    Use a Good Subject Line, One Question Per Posting - Award Points

  • Logging inbound and outbound connections through my Linksys router

    Hi There,
    I have a  Linksys wireless router (WRT54G series) that I use to connect to the internet with my cable modem. I would like to be able to configure my home network to log inbound and outbound connections through my router. 
    My router, which I bought brand new a couple of years ago, provides some very basic logging through its administration interface.  I can view a current log of very recent (within the past couple of minutes) inbound and outbound connections/traffic.  However, I would like to be able to configure my network to log all inbound and outbound traffic for at least 1 or 2 days and have this log saved somewhere so I can retrieve and review it at a more convenient time.  I haven't been able to figure out how to do this with my current Linksys router and would like some help in configuring my system.
    Is it possible for me to configure (perhaps with a firmware upgrade or even by replacing my older Linksys router with a newer one) my router to continuously log a day or more's worth of inbound and outbound connections?  If this is possible, what changes do I need to implement?  Does Linksys offer a wireless router that has more sophisticated logging capabilities?  What is the longest log period that I can create with a Linksys router?
    If it's not possible to create such a log with my router, then what other components would I need to log this information?  I've thought about setting up a Linux server with two network cards installed to act as a gateway between my router and cable modem which will log traffic.  Would this be a good strategy to implement logging?
    Thanks in advance.
    Tom
    Message Edited by   on 07-28-2007 07:44 AM
    Message Edited by   on 07-28-2007 07:50 AM

    well...the router's in-built log will only provide basic information about the incoming/outgoing log . So, it will be a good idea to install a separate log viewer .....

  • How to add Total Quantity in Inbound and Outbound Delivery screen

    Hi,
    I want to add Total quantity field in Inbound and Outbound Delivery screens.
    In document flow i can see the line item quantities in ALV Format, but if i select Display the totals above the entry check box
    in Change Layout--> Display, i didn't see any totals displayed.
    Please help me on this?
    Regards
    Bhuvana

    Hi
    If the field is a customer field, see BADI 'LE_SHP_TAB_CUST_HEAD'
    Regards
    Eduardo

Maybe you are looking for

  • IPhone 3GS apps don't work after 4.3 upgrade

    Some apps like mail, safari, app store, ipod don't work after upgrading to iOS 4.3. itues is up to date and have never had issues before. tried to downgrade to 4.2 but was unable to. Help!

  • How do i get itunes back after new hard drive installed?

    I have had a hard drive fail and a new one has been installed. Not I cannot open itunes. I get a message saying " itunes cannot be read because it was created by a newer version of itunes"??? Anyone know how to fix?

  • QUERY EXECUTION PROBLEM

    One query is executing very fast in database1 and the same query takes time to execute in database2. in database1 optimizer_mode=rule and in database2 optimizer_mode=all_rows How i can make the execution of the query very fast in database2. DATABASE1

  • User exit or FM or BAPI to update bseg-augbl field

    hello, i'm looking for a solution to update bseg-augbl field. is there a user exit or fm to do it ? please help.

  • How to make ITD balance Zero

    Hi All, My client require in one of the leave report to make ITD balance zero, while i think ITD balance is read only and can not update, is there is any why ? Regards, Sajid