Message in scheduled state

Hi Experts,
In our production system, messages are frequently going to 'scheduled for outbound processing" state. After the manual retry the messages are going through. We are planning to setup RSQIWKEX, RSARFCEX and RSXMB_RESTART_MESSAGES for automatic restart of the messages.
However, my question here is, why the message is going into scheduled status? When i compare a message which is in scheduled state, i find the below message in the trace.
<Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>
  <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
  <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
  <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
  <Trace level="1" type="T">----
</Trace>
  <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!--  ************************************
  -->
  <Trace level="3" type="T">Persisting message Status = 012</Trace>
  <Trace level="3" type="T">Message version 003</Trace>
  <Trace level="3" type="T">Pipeline CENTRAL</Trace>
  </Trace>
  <Trace level="2" type="T">Leave pipeline processing after LR because of receiver-wise queueing</Trace>
  </Trace>
After manual restart,
<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
  <Trace level="1" type="T">----
</Trace>
  <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!--  ************************************
  -->
  <Trace level="3" type="T">Persisting message Status = 012</Trace>
  <Trace level="3" type="T">Message version 003</Trace>
  <Trace level="3" type="T">Pipeline CENTRAL</Trace>
  <Trace level="1" type="B" name="CL_XMS_MAIN-RESTART_ERROR_MESSAGE" />
- <!--  ************************************
  -->
  <Trace level="3" type="T">Trace object available again now. OK.</Trace>
  <Trace level="3" type="T">manual Restart Flag X</Trace>
  <Trace level="3" type="T">Message Guid 64B3B5B0AA3211DFCEE100144F64B6EF</Trace>
  <Trace level="3" type="T">Version 000</Trace>
  <Trace level="3" type="T">Pipeline ID CENTRAL</Trace>
  <Trace level="3" type="T">EOIO Force I</Trace>
  <Trace level="3" type="T">Restart Trace</Trace>
  <Trace level="3" type="T">Message was read from persist layer. OK.</Trace>
  <Trace level="3" type="T">Message properties in XMB object were setup. OK.</Trace>
  <Trace level="3" type="T">Error of the prevous version:</Trace>
  <Trace level="3" type="T">Area</Trace>
  <Trace level="3" type="T">Error ID</Trace>
  <Trace level="3" type="T">Restart of Queue?</Trace>
  <Trace level="1" type="T">Persisting message with status ManualRestart, version: 003</Trace>
I can find this trace message for all the scheduled messages.
<Trace level="2" type="T">Leave pipeline processing after LR because of receiver-wise queueing</Trace>
Can you guys help to understand why this is happening and what could be the root cause?
thanks in advance.
Regards,
Ravi

Hi all,
Thank you very much for the feedbacks.
Please allow me to ask few more questions.
1. How does the RSQIWKEX work? The purpose of the report is to reset the queue. If the queue is reset what will happen to the messages which are struck?
2. What is the difference between resetting the queue and restarting the messages?
3. If the message in the queue is failed due to genuine reason, if the report reset or restart the message, will it again block the queue, since the message will fail again? How this scenario will be handled by report?
4. Probably a very basic question, if a queue is retrying for a message or closed saying SYSFAIL, Will not PI automatically use another queue to process the rest of the messages since the QoS is EO? Why the messages are getting pilled up in the same queue?
Thanks in advance for your effort.
Best regards,
Ravi

Similar Messages

  • Processing messages in Scheduled state

    hello all..
    my scenarios of FTP to RFC and FTP to IDOCS are all configured but when executing it, the file is "deleted"...(since i keep the status delete)...
    but in my sxmb_moni transaction it always shows me scheduled(green flag)...
    and the Q-status is stopped..
    any suggestions of how to deal with it..??
    regards.
    vishal

    well arpit/sudhir...
    i did try the solution provided by arpit..
    but still the same error...
    everthing was already activeted although i did it again..but the same problem..
    infact a colleague of mine in somw other state with similar scenario is getting successfullly processed OCCASSIONALLY and scheduled otherwise...
    vishal
    Message was edited by: vishal prabhakar

  • Messages getting scheduled in SAP ECC Box:Messages getting stuck in Inbound

    The scenario is -
    JDBC Sender-->> SAP PI-->> ECC Server(via ABAP proxy)
    The Interface is running properly in SAP PI & then the messages are getting posted to the Inbound queues in SAP ECC Box. Generally it takes few seconds for the messages to get processed, but now all are getting scheduled in the Inbound queues(in different channels as seen in SMQ2)
    We re-ran the interfaces again a few times, but all of them kept getting scheduled. Finally, after 2 hours one of the messages got processed. I suppose we won't face any problem now onwards.
    Though I can see several suggestions like registering the queues & assigning dedicated queues to the interface, none of the blog suggest the probable cause of the event?
    Can this be due to some issue in the server(heavy pressure of data in the server during the period/issue in the queues??)
    I found the following links regarding issues like these --
    XML file getting stucked in queue in ECC
    Message in scheduled state
    Thanks

    Is the printing issue with one specific printer or across system.
    What method you have configured for output device.
    There should be any issue if you add spool work process to Application server.
    Then you should be able to configure spool server load balancing. (Search on help.sap.com for spool load balancing)

  • Messages are in Scheduled State

    Hi
       some of my messages are in scheduled state. i  verified   SMQ1,SMQ2 . no queues are in block state. also  i  executed  register queues in sxmb-adm still they are  same state. how can i make them as successful state. only by restarting the messages or is there any other way? also tell me why these messages went to scheduled state

    Reddy,
    Can you please check this threads for possible solutions:
    Problem with scheduled message in SXMB_MONI
    SXMB_MONI - Message scheduled on outbound side (no queues)
    Regards,
    ---Satish

  • [VERY URGENT]Messages going in Scheduled State

    Hi Experts,
    PROD ISSUE
    All of sudden in PROD scenario all the messages start moving to Scheduled state in message monitoring and the channels have stopped polling . I have checked the dispatcher status in engine status (additional data tab) and find that the maximum thread count is 1.
    Is that the issue? also any idea y this issue is happening and what can be checked and done in this case ?
    URGENT HELP NEEDED !!!
    Thanks in Advance

    Hi,
    You should check your Inbound or Outbound queue in SMQ1 & SMQ2. The messages are stuck there.
    Double click on message & read the error details & resolve the same.
    Check SM58 also for problem.
    Also Register & Activate (re-asctivate) your queues in SXMB_ADM --> Manage Queue --> Register Queue & Activate Queue.
    If the messages are stuck in queue, First resolve the error in Queue & check the messages.
    Go through this Link
    http://www.****************/Tutorials/XI/XMLMessageQueues/Monitor.htm
    Hope this help
    Regards
    Praveen Reddy

  • Messages are in schedule state in adapter engine

    Hi PI Gurus,
    In Production system, I have a proxy to JDBC scenario (Using AAE).
    From ECC messages are flowing successfully, but when I check the WRB I found no message.
    When I checked the Message Monitoring I found, those messages were in schedule state. No logs are also maintained.
    Any idea, what is the reason.
    This scenerio is working fine in QA and Dev.
    Thanks,
    Krishna

    Hi krishna
    Monitor your JDBC communication channel in CC monitoring , if you found any error in CC , then take an action accordingly.
    if CC status was gree then check JDBC Adapter Service in NetWeaver Administrator and stop and start it
    otherwise can you please check the status of message in sxi_monitor and also check if it is stuck in smq2? Let us know what error you getting in sxmb_moni or the flag of message. As suggested above, check the status of communication channel of JDBC adapter and what errors you getting there if any. 
    check this link;/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Edited by: haribabu.karasala on Jul 13, 2011 8:03 AM
    Regards
    Hari
    Edited by: haribabu.karasala on Jul 13, 2011 8:04 AM

  • ABAP program to Cancel messages in Scheduled/Recorded status?

    Hi,
    Thanks for reading my post...
    Can anyone tell me whether there is an ABAP program available (or a variant) that will Cancel messages that are in Scheduled (or Recorded) status?
    Messages to be sent from ECC to PI were not sent and are left in Recorded status in ECC.  I cannot find the documentation to explain what this status is, but I'm presuming that it's similar to the Scheduled status in PI (though there's not much documentation about that either - for example, what's the difference between the 'green flag' Scheduled and the 'green flag' Released for Processing (WS)? ).  {Note to SAP: Could we have a state transition diagram please? Simple, concise and effective.}
    Anyway, the 'tick-pencil' button in SXMB_MONI (aka. CTRL-F8) can be used to cancel the messages in Scheduled/Recorded status.  But I'm looking for an ABAP program to do this.  The documentation seems to 'suggest' that this button might do the same thing as the ABAP program RSXMB_CANCEL_MESSAGES.  However, this ABAP program does not cancel messages in Scheduled status (only the messages in Error), whereas the SXMB_MONI CTRL-F8 'tick-pencil' will cancel messages in Scheduled status if they are selected.
    Is there another ABAP program available to cancel messages in Scheduled status - or is it possible to create a variant of RSXMB_CANCEL_MESSAGES that will do this?  (I'm not an ABAP programmer and I've never created a variant, but looking at the code, it seemed it might be possible to get the program to read messages in Scheduled status rather than Error status.)
    Many thanks for any help.
    Mark

    Messages are in scheduled status because they still in the queue in either 'READY' status or 'EXECUTING' status (see SMQ1/SMQ2). You don't want to automatically cancel messages that are in scheduled status because that means you are also going to cancel good messages. However, in some cases, you may want to cancel such messages especially when the message in the queue has been in 'Executing' status for long time (happens in case of long running mapping program or dropped connection etc). Such cases warrant manual intervention and hence the behavior as noted by you.
    If you can tell me why exactly you want to cancel messages that are in scheduled status, I can help you more.
    Thanks
    KK

  • XML Messages in "Scheduled" status

    Hi all,
    The case is at ERP side running transaction SXMB_MONI, some XML messages from XI to ERP are found in "Scheduled" status.  Around the same time, siimilar messages using same receiver interface are processed successfully.  When we manual restart the "Scheduled" message, there will be an entry in READY status at inbound queue and we have to unlock the queue.  After that, the message will be processed successfully.
    Here are my questions:
    (1)  Why some messages in "Scheduled" status but similar messages are processed successfully?
    (2)  Is there any alert or notification mechanism that we can setup instead of running transaction SXMB_MONI manually?
    (3)  Is manual restart XML message a proper way to handle those scheduled message?  Any way to automatically handle this message in ERP side?
    Thanks in advance.

    Donald,
    Here are the answers to ur questions.
    (1) Why some messages in "Scheduled" status but similar messages are processed successfully?
    Some times the queues get stuck for various reasons. one msg will cause bottleneck for all other msgs behind it. there is no proper reason why this happens, however if it happens regularly then u will have to give it a thought.
    (2) Is there any alert or notification mechanism that we can setup instead of running transaction SXMB_MONI manually?
    Well, if the msgs r in the scheduled state then NO.
    (3) Is manual restart XML message a proper way to handle those scheduled message? Any way to automatically handle this message in ERP side?
    Manual restart is not the best way to handle msgs bcause you might loose track/ some msgs might error out together causing issues. (that has happend to us). its tough to keep track if that is the case and if its critical from business point of view.
    If it is going out of R/3 then may be you can configure jobs to push the data periodically.
    Regards,
    Pavan

  • Messages in Scheduled Status

    Hi all,
    We have many messages in Sceduled category on the production system. The Status symbol is not as it is for a scheduled message. It reads as "Log version". Please let me know how to clear these kind of messages from SXMB_MONI.
    Thank you

    Hi Yashwanth,
    If the messages are in scheduled state then the messages might stuck or still in the queue. Check SMQ1 and SMQ2.
    Ref this thread:  Program to delete the messages from XI Queue ?
    Thanks,

  • Tables in scheduled state in HANA data provisioning

    Hi,
    Sorry for asking this question again since no one replied earlier in SLT community.
    We just now created a new connection and when i am trying to replicate my tables its going in scheduled state ( z as well as normal tables).
    I just trying replicating 2 ztables and MARA table and soon I click on replicate it goes into scheduled state.
    Kindly let me know what needs to be done from my side.
    P.S.: I tried checking status in LTRC, its showing as trigger status initial and also we have multiple SLT connections in HANA studio in data provisioning.
    BR
    Sumeet

    Hi,
    You should check your Inbound or Outbound queue in SMQ1 & SMQ2. The messages are stuck there.
    Double click on message & read the error details & resolve the same.
    Check SM58 also for problem.
    Also Register & Activate (re-asctivate) your queues in SXMB_ADM --> Manage Queue --> Register Queue & Activate Queue.
    If the messages are stuck in queue, First resolve the error in Queue & check the messages.
    Go through this Link
    http://www.****************/Tutorials/XI/XMLMessageQueues/Monitor.htm
    Hope this help
    Regards
    Praveen Reddy

  • Message in scheduled st

    Hi Friends,
       Its a support issue. A message is in scheduled status(green flag) and when i try to restart i am getting error something like 'the message is already in scheduled state'. I heard that if we unlock the queue the issue can be resolved, Is that true? If yes then how to unlock the queue?
    Thanks,
    Suresh.

    Hi,
    Generallly, message will be in schedulate state if any messages are struck up in the queue...
    from sxmb_moni, you can traverse to that queue and delete the erroe entry.
    Select you message which is in schedulate state,....go to right of your window...you will find the queue starting with XBQT00001...Click on this queue..you will get the queued messages...and manually delete the entry.
    Regards,
    Sreeni.

  • Message in Scheduled stage

    Hi Experts,
    My scenario is JDBC to Proxie . Some times the message is going into scheduled stage in ECC . Can experts know why its going into scheduled stage in Proxie.
    Regards
    Santosh

    Hi Santosh,
    It seems that your messages are getting stuck in the queue.
    Check transaction SMQ1 and SMQ2. If there is any message failed overthere then reprocess it or delete it from queue. Then other messages in the queue will get processed.
    Below are some link which may help you.
    Messages are in schedule state
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

  • When trying to download firefox 3.6.18 which is compatabile with my school I get a 403 message at that states mozilla is forbidden on this server, how do i correct e problem

    when trying to download firefox 3.6.18 which is compatabile with my school I get a 403 message at that states mozilla is forbidden on this server, how do i correct the problem

    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Job is in scheduled state for longer time.

    Hi All,
    I am running a load which involves extraction from source system. The load was taking longer than the usual time. I grew suspicious and checked the status of the job in the source system. But that was sitting in the scheduled state and when i try to change the job status , not able to do so. I checked the BGD processes availability and they were all in waiting status.
    What can be done for this? Suggest ....

    Hi..the issue you have is probably due to the fact that already a lot many jobs are running in background in your R/3 system and unless they finish you job will not get any background processes to get it to active state from the scheduled state.
    Now thats why usually BW loading are done at night or off hours of business when transactions or r/3 jobs are not running much.
    Schedule your job at a time when background processes are available then you won't face this issue.
    Contact the basis handling the R/3 system.
    Regards,
    RK

  • Scheduling is in scheduled state

    hi,
    I tried to burst the reports, so i wrote the bursting query for split by and deliver by and i go to schedule new job button.
    i scheduled the job with enable the burst report option.
    but the job is in scheduled state only, that is not reflect into history tab and that is not shown in history tab.
    so what is the problem, please help me to resolve the issue
    Regards

    Am also facing the same issue. Any resolution for the above issue.
    Regards,
    Vinoth.

Maybe you are looking for

  • Maintaince plan job was failed

    Hi Team, I have changed the backup path location local drive to other storage path. after that i have run the job but its failed below error: Message Executed as user: xxxxxx. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for

  • Illustrator CC trial not letting me use Image Trace?

    Hi! I recently downloaded the trial of Illustrator CC to my updated Macbook pro and have come to find that it won't let me use image trace or even pull up any tracing control panels.. I can pull up the tracing workspace but if I try to click "trace i

  • AirPort Utility 6.0 DHCP client table?

    Hey there, I just started using the 6.0 version of the AirPort utility.  It's fancy with pictures and all . . . but . . . How do I get to a list of the DHCP clients?  It eludes me.  In the last version (5.6 I believe), I would select my main AirPort

  • XSQL Question:

    I would like to know if I can use XSQL queries to retrieve XML ResultSet through a Java Swing program. Thanks

  • Is data analysis possible with Forms Central?

    Does FormsCentral have an internal feature that you turn on, wherein it gives you an average rating of specific collected data? For instance, if I am doing a survey, does Forms Central have the capacity to give me a statistics report of the collected