Debugging the outbound queue

Hi,
I have an outbound queue failed with the error 'SYSFAIL' and the error text ,"for object, number range interval doesnot exist" in CRM system. Please help me as i would like to debug the queue. As i am new to CRM middleware, i would like to know the process of debugging it.

Hi,
Can you please check the very helpful note 656823 for interface debugging.
Please see as  well link
http://wiki.sdn.sap.com/wiki/x/JovwDg
Please check as well in t-code SNRO if the number range is set properly in both system ECC and CRM.
Best regards
Christophe

Similar Messages

  • How to Debug the Outbound IDOC

    Dear SDN Members,
    How to debug the outbound idoc please.
    Thanks in advance
    Yerukala Setty

    Hi,
       IDocs are processed by a function module, which are mapped against in table EDIFCT. When you process an IDoc in transaction BD87 you can put a breakpoint in the function module and it will stop there.For outbound processing it depends on which program is sending the IDoc. For transactional data like purchase orders, the IDoc is created via RSNAST00 which in turn calls a function module assigned to the processing code (BD41).
    Thanks,
    Asit Purbey.

  • Need to know how to check the outbound queue in SAP for data flow into CRM

    Hi Specialist's,
    I have changed an entry in Customer Master Data in Sap r/3 and this change has come fine to CRM system.I checked the inbound BDOC in CRM ( Trn:SMW01) and it has come fine into CRM system.I am also able to see the affected field in CRM with new value.
    I need to know how to check this from SAP side i.e. I have checked the outbound IDOC list (WE02) but could not find the record.
    Is there any other way in SAP that i can check?
    Also please let me know if there is any other way except IDOC in SAP to send data from R/3 to CRM?
    Usefull answers will definitely be rewarded with points .
    Thanks,
    Abhinav.

    Hi Abhinav,
    There are no IDOCs generated in R/3 for replication. R/3 system calls BAPI and Function modules remotely on CRM system which are part of the Adaptors provided for middleware.
    Try to deregister the outbound queues in R/3 (Transaction SMQS) and see if you get an entry in the Outbound Queue (Transaction SMQ1). I have not tried this.
    If you don't get any entry in the outbound queue then definitely there would be some FM at R/3 end which would be calling CRM system remotely.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

  • District data missing in the Outbound Queue of CRM

    Hi,
    We have an issue with the information not flowing to the Outbound Queue of CRM.
    For eg . When we change the District information for a BP and synchroniye the system, the information is flowing in the Inbound queue to the CRM system and we are able to find the District data in the Bdoc. But when we check the Bdoc in the Outbound queue of CRM for this site, this District information is missing over there.
    Any pointers on this would be of great help.
    Regards,
    Rasmi.

    Hi Rashmi
    Which BDoc did you check -  the MBDoc or the SBDoc?
    I guess the first thing to do would be to see if the information is correctly updated in the CDB.
    If the district is missing in the CDB entry then the problem is with the synchronisation between BUT000 and SMOKNA1
    You may have already checked this but I just thought I would ask
    James

  • Suggestions for debugging the event queue

    Hello,
    I have an issue where an exception is thrown inside the AWT-EventQueue-0 and I can't quite figure out where it's coming from. I can replicate it relatively easily, but the action that I do to replicate it actually does all kinds of stuff behind the scenes so it's not so easy to sort out what's going on. I'm debugging with eclipse if it matters. The stack trace mentions none of my code and only mentions java library code. I tried overriding dispatchEventImpl in the components I wrote that are involved in the aforementioned action that causes it to happen, with hope of catching the exception in there and putting a breakpoint or something to give me a clue, but apparently dispatchEventImpl cannot be overridden (not sure why). Ofcourse, once the EventQueue dies from this exception so does the rest of the GUI so that's no help either. I tried adding a break on uncaught ClassCastExceptions and make the break suspend the whole VM instead of just the one thread, and then I look at the two processor threads involved with the action above and that wasn't too much help, they were sitting waiting to read something from the queue, meaning it whatever is happening in the EventQueue is delayed enough that I can't rely on catching it that way. Any and all suggestions/hints/etc are highly appreciated.
    The components in question have a panel that's a Box (vertical) that contains subpanels, each with a title and a table (and those subpanels can be expanded/contracted to show/not show the table), the tables are sorted by one of their columns, the panels are sorted by the title, and panels/table rows are added and/or removed by messages coming in from a remote server. The user can click a button to "accept" a table row (which may appear in several of the subpanel tables) at which point the server is alerted to this, and any place this row is shown is removed).
    Here is the stack trace (i hope there are no typos, I had to retype it since machine code is on can't be networked to internet):
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException
    at javax.swing.LayoutComparator.compare(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.mergeSort(Unknown Source)
    at java.util.Arrays.sort(Unknown Source)
    at java.util.Collections.sort(Unknown Source)
    at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown Source)
    at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(Unknown Source)
    at java.awt.FocusTraversalPolicy.getInitialComponent(Unknown Source)
    at java.awt.Window.getMostRecentFocusOwner(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.SequencedEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    I believe I maaaay have figured out what's going on, though I'm not sure how to go about fixing it, heh.
    Ok, so the Box that contains all the subpanels, I'm trying to keep sorted by title of the subpanels. For this reason (and other cross-referencing reasons) I keep a Vector of the object from which the title is constructed in the panel containing the box, as well as a Vector of the subpanels. When I wish to add a new panel I first add it to the Vector (and the title object to its Vector), then I sort those Vectors, then I do a removeAll() on the Box, then re-add the subpanels to the Box while stepping through the subpanel Vector, that way I'm guaranteed they are in order (actually it's probably unnecessary to keep the title vector in addition to the other one, I just haven't gotten around to trimming that kind of stuff out since I've been dealing with this issue). And it works fine.. seemingly.
    constructor()
      anEntry = new Vector<MySubpanel>();
      myTitlesVector = new Vector<TitleObject>();
      boxPanel = new Box(BoxLayout.Y_AXIS);
    //this function is called from a protected one that constructs the anEntry, makes sure it should be added, and does a synchronize on panelVector
    private void addEntry(MySubpanel anEntry)
      if(anEntry != null)
        try
          if(panelVector.add(anEntry))
            Collections.sort(panelVector);
            myTitlesVector.add(anEntry.title);
            Collections.sort(myTitlesVector);
            boxPanel.removeAll();
            for(int i = 0; i < panelVector.size(); i++)
              boxPanel.add(panelVector.get(i));
        catch (IllegalStateException isex)
          //couldn't add it
    }So what's the problem?
    Well, clicking the "accept" button I mentioned in the first post pops up a dialogue frame, which when the user OKs tells the server and other places in client that it was accepted. But when that dialogue box goes away the focus comes back to the main client frame. Well, that kicks off that sequence of calls in the event queue I put in the first post. If it just so happens that that topmost call is being performed on this panel containing the Box after the Box has gotten the removeAll() call, but before it's been filled back up to full, one or more of the MySubpanels will have a null for a parent, which causes the LayoutComparator to throw a ClassCastException.
    So, I guess my question would be, is there a better way to maintain order in the Box (one in which the components stay in there, but are just moved around)? I can't pass the Box itself to Collections. Is there a way to move components around what order they are in right on the Box?
    Thanks!

  • Debug the Outbound IDoc

    Hi,
    I have a outbound IDoc.
    I would like to reprocess the same and test the FM.
    I am going through the Tcode :WE19.
    put the IDOC : XXX in the exisiting IDoc field. Execute.
    I get to see the IDoc structure and the data.Then i click on the "standard outbound processing".
    I would like to get into the FM and debug it.
    But once i press "standard outbound processing".
    It is giving a pop up which says "start outbound processing of file immediately"
    No of IDoc's to be generated.
    Receiver port
    Port type
    output file
    etc.
    But i would like to get into the debug mode.
    Pls advise.

    Set ur Break point at your code
    now come to VA02 Transaction and use order number.
    click on enter
    GOTO->HEADER->OUTPUT
    Give the output type and print medium should be 6(EDI) or A( ALE)
    Click on Further data and select->select send with periodically scheduled job and save it.
    Now Come to SE38 and use RSNAST00
    Output Application : V1
    Object key - order Number ( 10 digit)
    Output type - BA00( SAP Standard)
    Transmission medium = 6(EDI) ,A(ALE)
    Now it will stop at your code.
    Reward Points if it is helpful
    Thanks
    Seshu
    Message was edited by:
            Seshu Maramreddy
    Message was edited by:
            Seshu Maramreddy

  • Cannot debug outbound queue

    Recreate the BDOC for the BP, by running the transaction CRMM_BUPA_SEND
    1. Display the BDOC in SMW01
    2. Enter /h in the transaction code field
    3. Press the 'retry to process message' button.
    4. In the debugger - select the Settings button and 'In background task
    do not process'
    5. Enter F8
    6. Create a new session for the outbound queue (/osmq1) there will be
    an entry R3AUBUPA*** or CSA_BUPA**
    7. Double-Click on this queue entry twice and choose Debug for the
    CRM_UPLOAD_TRIGGER
    8. In the debugger, set a breakpoint at statement 'CALL TRANSACTION' and then press F8.
    9. At this statement double-click on the statement CALL_TRANSACTION and
    change the variable CALL_TRANSACTION_MODE from N to A, press the
    'change field content' button and then press F8
    10. Now you will be in the R/3 System and you can see the batch input
    screen for this customer and you will then be prompted for the
    missing field in the BDOC.
    When the field has been identified, please maintain this field in CRM
    and then reprocess the error BDOC.

    Hi Stephen,
    The user is a dialog user. Moreover, I have manually put an external breakpoint where it calls the function module CRM_UPLOAD_TRIGGER and debug the application when I go click on save in transaction BP. Even when I change the value of lv_synchron in the program LSMOUTILU44 to X so that the function module does not process in the background, I still cannot enter the function module.
    The error I am getting is of type E02. Some of the mandatory fields are missing. Despite removing all mandatory fields, I am getting this error.
    Can anyone throw some light on this issue please.
    Regards,
    Abdullah Ismail.

  • Outbound queue locked due to incorrect password

    Hi Gurus,
    I'm having a problem to activate an Integration Model as I'm getting an error stating that the outbound queue is blocked due to incorrect password.
    I have set up the RFC destination of the SCM ECC logical systems wit a valid user (I tested it). I've changed between using a Dialog user and a Communications Data user. Between every change I made I've cleaned the queue using transaction CFQ1.
    Do you have an I idea of what I might be missing?
    Many thanks,
    Diego

    Diego,
    It is unclear to me which system you are experiencing the problem on.  Either way, the reasons are usually the same.  I will address establishing the ECC>SCM link.  Works the same way in the other direction.
    Every time I have had the problem you are experiencing, I usually find that the fault lies with me, not the system - I have made assumptions that were not correct.
    BD54 ensure that your logical system name is what you think it is.  Unless you are rigorous in your naming conventions, it is easy to become confused between logical names/hostnames/system names for SCM and ECC, ,
    NDV2  ensure that the SCM system is properly identified
    SM59  Make sure your IP address, or hostname is right. Make sure the system you are logging onto interactively is the one being accessed in SM59.  Make sure you have the right userid.  Password is casesensitive on some versions of R/3 and APO, but not casesensitive on others.   I always use UPPERCASE text only for PWs, at least until everything is totally debugged.
    From a technical standpoint, your RFC userid can be interactive or system, I always start with interactive until the intefaces are totally debugged.  You auditors may have an opinion the final settings in the production system in this area..
    Rgds,
    DB49
    I hear and I forget. I see and I remember. I do and I understand. 
    Confucius

  • Debug the problems in Middleware

    Hello experts,
    Can anybody please tell me how to learn debug the error in middleware..? is there any material available..?? if so how to get it..?? Please your help will be appreciated and thanks inn advanced..

    Hi Rohit,
    I am trying to debug a outbound queue in CRM, but when I am in SMQ1 transaction, and I click on Debug LuW button, the queue is processed without entering on debug mode.
    Do you know if there is any setting to update to make it possible to use this functionality?
    Thanks!

  • Middleware problem -Outbound queue is stuck in SAP R/3 system with message

    Hi Middleware gurus ,
    We are stuck with a serious issue . We are trying to download Business partners from SAP R/3 4.6c system to SAP CRM 5.2 system using CRM Middleware
    Previously we did a successful Initial download of 2 Business partners from SAP R/3 to CRM . Their BP numbers in CRM are 001 and 002 . The Delta load is working fine for the both the BPs which are already downloaded
    Now , the real problem is when we are trying to download a new Business partner . When we set the Filter ( BP no 003 ) in MW adaptor object CUSTOMER_MAIN and start the Initial load again , we see that the Outbound queue is getting stuck with message “STOP” .
    There are two queues generated in SAP R/3 system with names “MASS_CRM_CUSTOME” and “R3AD_CUSTOME” . The status for both the queues is “STOP” and when go for details it mentions “sapsuck ..SAPMSSY1 “ -Message no. SR 053.
    Even we checked the txn SMW01, the Bdocs message is "Recived ( Intermediate state) " for Bdoc type BUPA_MAIN.
    We really don’t as to why the Initial load worked fine with 2 BPs  and later when want to do more BP Initial Load the Outbound queue is getting stuck
    Also , by unlocking the 2nd queue “R3AD_CUSTOME” we are able to release it , but the first queue “MASS_CRM_CUSTOME*” is stuck
    Please help us urgently
    Regards
    Dinesh and Ritvij
    Email : [email protected]
    Mobile -+91=9704933315

    Hi Praveen and other Middleware gurus,
    We checked on this . Actually the RFC is used for connecting to SAP R/3 system.
    We also raised an OSS message on this and found a reply that in transaction CRMM_BUPA_MAP, we can map the required BP . But the SAP support guy recived an error received the error:
    An RFC link is not maintained in the Middleware
    Message no. CRM_BUPA_MAPPING051
    We have set the RFC link , but still the problem continues!!!
    Please help further..
    Regards
    Dinesh and Ritvij

  • CRM 5.0 outbound queues to Mobile sales

    Hi all,
    We have upgraded from CRM 3.0 to CRM 5.0.
    I am looking at the outbound queues in SMQ1 that are bound to Mobile sales Sites and am not finding any data bundles other than the name of the Replication Object name in the LUW's of these queues.
    But in CRM 3.0 I am able to see detailed data bundles for any of the queues.
    Does this mean no data is actually being passed from CRM to Mobile Sales.
    At this point of time  I dont have my commstation up and running to verify this. So I am curious to know how else can I check this?
    Thanks.

    Hi KP,
    This is the default behaviour in 5.0...the queues are fine and you can go ahead with the sync using Conntrans.
    Regards,
    Ankan

  • Gerneric Datasources and Outbound Queue

    Dear Experts,
    I've got some generic Datasources (Delta and Full Update) that work properly with productive BW-System.
    Now I'm starting to build up an developement system (wrong order I know) and want to load data using the mentioned Datasources from time to time to get relevant data for testing.
    Problem now is, that the generic delta Datasources fail accourding to doublicate keys (loading to dev-system) although in the basic tables for these datasources no doublicate keys are existing (or even are possible due to the table key).
    I realized in smq1, that every time when data is transfered to productive BW-System, the counter to the queue for dev-System is incremented. When I delete all the entries in smq1 all the updates for dev-System work fine.
    In one of the threads here I read, that generic Datasources do not have outbound queues. (Re: Generic Data Source issue).
    So is there any way to turn of the outbound queues for specific (generic) Datasources? I do not want to turn them of in general as we use standard delta Datasources for Controlling.
    Or how is the "normal" way to transfer data to a dev-System?
    (One more information: productive system is 3.5; dev-system is 7.1.)
    Thank you in advance
    Kind regards
    Philip
    Edited by: Philip Munz on Nov 17, 2009 8:50 AM

    ok,
    after some days of searching and reading I now understand my problem.
    For all, who face the same problems in understanding delta-updates, qrfc, rsa7 and so on, please have a look at
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417800)ID0216771750DB11245246034303112354End?rid=/library/uuid/40427814-376a-2c10-5589-bc1aaa6692c3&overridelayout=true
    again thanks for the help
    kind regards
    Philip

  • Outbound Queue stacking up for old destination

    Hi Gurus,
    I am implementing APO in a client and since the native integration (CIF) uses the same RFC structure as BW I need to keep an eye on BW processes as well.
    The problem here is that they´ve migrated to BW7, killing the old 3.5 but leaving the logical system registered.
    Now what is happening is that I found >4million queues in SMQ1 to this nowhere destination, which kills my CIF performance.
    We´ve started to clean this garbage but the stack keeps adding up from regular goods movement transactions. The BASIS and BW team is not helping much so:
    I need to find where I set the relationship between theses transactions and the destination so it does not go to the outbound queue.
    thanks for the help!

    Hi Anand,
    Please go to SMQ1 and in qname enter cf* and then execute.
    In the error screen press F8 and then select all PPM related queues and delete.
    After that run IM after correction and do run CCR report for the reconcilation by tcode :/SAPAPO/CCR .
    Manish

  • No Change Document in outbound queue for customer status in table VBUP

    Hello all,
    we face the following issue. A customer status (UVP04), changed by a customer program, is not written in the outbound queue (lbwq) to transfer it in the business warehouse.
    I checked several Function modules (VERKBELG_WRITE_DOCUMENT, MCEX_UPDATE_CALL_11.....) without success.
    Any help would be appreciated.
    jg

    Solution found: Dummy change with VA02, that generates a new record in the outbound queue.

  • Deleting Outbound Queues in SMQ1

    Dear Experts,
    System landscape: ECC 6.0, SRM 5.0
    I started intial load using DNL_CUST_PROD1 in R3AS and my outbound queue in SMQ1 (ECC) contained an SYSFAIL status. So I would like restart the initial load again from SRM.
    Can you please let me know if I need to delete this outbound queue or resetting the status to READY is enough.
    If I need to delete the queue, can you please let me know how to delete this outbound queue.
    Points will be rewarded.
    Thanks in advance,
    Bob.

    Hi Bob,
    I'm not sure if I completely understand your question.
    You can delete the outbound queue and start the initial load again. In order to do so, just select the queue (click on it once) and then select the trash can icon on the top left side. Or else you can just right click on the queue and select the "Delete" option.
    Hope this helps!
    Thanks,
    Aravind

Maybe you are looking for