WS_SDK XI 3.1 Query Scheduler Queue

We've a single XI 3.1 server running a single scheduler which processes one scheduled report at a time. Is it possible using the WS-SDK to query the scheduler queue to see how many reports are currently in the queue for process (i.e. those that should have been run, but are queued due at a report running at the moment)?
Cheers,
Jack

it is not possible to access the scheduler queue using WS or any SDK that's exposed. When a schedule is to be run CMS informs Job Server with the scheduling details, the schedule job goes from : pending - in process\running - complete ( success or failed). What you can possibly do is query all schedule instances that are in "pending state". Typically a report would be pending if: is is waiting on one of the events or it is a recurring schedule event and the next schedule time is not yet reached. Also it is possible that a report changes it status from pending -  in process\running even before your query finishes running and you retrieve all its results, so ity would be tough to track it.
In short it wont be possible to retrieve the scheduler queue details using a query.

Similar Messages

  • UCCX: Position in queue and real position in scheduler queue

    Hi
    When using UCCX stats is posible to get position in queue BUT since agents can share skill from different queues, real time scheduler queue can be much longer.
    It is posible to get the real position of that call on the scheduler queue?
    For example:
    Queue A, Skill A, 20 calls
    Queue B, Skill B, 20 Calls
    Agent 1 have Skills A and Skill B
    Next Call on Queue A:
    Position in queue acording to UCCX step is 21  but REAL position in scheduler is 41 since UCCX uses FIFO among queues.
    Thanks

    HI Jonathan
    Yes, on this example adding both queues would do it, i put it only to ilustrate the useless of the get position in queue  and the need of something more general.
    In my project, skill are not evenly distribute between agents and agents logins and logout all the time. Because of that it is not as simple as adding severals queues together. A function should be provided that gives the real time position of the call at anytime in the scheduler and not the simple position in one queue.
    Thanks

  • SAP Query - scheduled and emailed?

    SAP Query - is there anything on the SAP ECC side similar to BW that allows you to schedule a query and have it broadcast to an email or ftp sight for it to be displayed?
    Thank you,
    Lynda

    Hi,
    as described above you can schedule a query. To distribute the result to various receivers use SBWP t-code and create a distribution list containing the receivers (e-mail adresses,...).
    Assign this distribution list to the job scheduled in SM37 (button "spool list recipients").
    best regards, Christian

  • Message Status "Scheduled", Queue Status "Queue Stopped"

    Hi friends,
    My scenario is from Peoplesoft -> XI -> BI
    Message has reached BI, but in SXMB_MONI, its showing Message Status as "Scheduled" and Queue Status "Queue Stopped".
    How to proceed further ? How can I start that queue ?
    Thanks ain advance,
    Neena John

    Hi Neena,
    Go to SXMB_ADM -> Manage Queues -> Register Queues
    More on queues
    XI :  How to Re-Process failed XI Messages Automatically
    Run the report RSXMB_REGISTER_QUEUES and register the queues
    Run the report RSXMB_RESTART_MESSAGES for restarting ur messages
    Refer this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    Regards,
    Vinod.

  • SQ01 query schedule in Background

    Hi,
    I created Query using SQ01 and I would like to schedule daily in background and outpu file will be stored in SAP BW server.
    1. Using SM36 schedule the job and output format as File store and file name : /data/xfer/test1  , Data format = DAT , Encoding = ' '
        system is giving error message please choose new name /path then I gave the file name first and path this time no error but file
        was not transfered to specified path.
    Do we need to follow any specific guide lines when we transfer file to BW server path.
    Thanks

    Hi
    I think you can download output in Excel to Presentation server. The presentation/GUI layer doesn't exist in background job, the system will not be able to connect to presentation server.
    There are many threads available on the same topic.
    Please have a look into the same
    Shiva

  • ABAP Query - Scheduling

    Hi,
    Need to know, how to schedule an ABAP Query for Background Processing.
    Regards,

    Hi sheldon,
    try the following:
    1. enter transaction SQ01 and select your query
    2. then go to the menu Query > More functions > Display report name
    3. with this you'll get the ABAP report name
    4. now just enter transaction SM36 to schedule the job based on this report name
    I hope this helps. Best regards,
    Alvaro

  • Query Scheduling

    Hi Experts
    Please give me navigational steps to Schedule (automatic run & execution) the query in monthly basis.
    Your valuable response will be highly appreciated.
    Regards,

    Hi,
    If you are on ver 3.5 or above, you can use the Information Broadcasting feature of  BW to schedule your queries.
    If you are on an earlier version, then use the Reporting Agent feature to schedule your reports. If you search the forum then you'll find a lot of posts and links on how to go about doing report scheduling using both methods.
    Cheers,
    Kedar

  • Query Schedule Report

    Hello.
    I got the error below in the scheduled report.
    When I create text with no HTML programming the system sends the email without attachments, when I create programming with HTML body it reports me the following error and does not send the email.
    *** SAP Business One Client Log ***
    SAP Business One Client return code:0
    Distributing results
    Unable to extract HTML report output to file C:\Windows\TEMP\Report.html Error code:-2028
    Unable to extract PDF report output to file C:\Windows\TEMP\Report.pdf Error code:-2028
    Unable to extract XML report output to file C:\Windows\TEMP\Report.xml Error code:-2028
    SMTP Server: smtp.zethos.com.br:587
    Sender Email: SAP_B1:<[email protected]>
    No HTML body found nor attachments - there is nothing to send
    An error occured while distributing results
    An error occured while creating report by SAP B1 Client
    Schedule processed
    version sap: 9.0 PL8
                       9.0 PL10

    Hi,
    It is an application error. Please check SAP note:
    1798434 - Report Scheduler Prerequisites
    Thanks & Regards,
    Nagarajan

  • Query regarding Queue block

    Hi Experts,
    The BASIS team has configured the CCMS alert for XBTI* and XBTO* queues in development system.
    Hence we need to test the same.
    Possibilities tried:
    1. Huge payload
    2. Stop and start of BPE this blocks the XBQ which is not needed as of now
    3. Deregistering the specific queues. The queus is set to ready state until we register the same. Once registered the queue block is cleared. Hence this option is not helpful.
    Kindly let us know the various ways to block the queues in PI.
    Thanks
    Suganya.

    Hi,
    If you have any interfaces using EOIO queues then try failing the same at mapping level and check...
    Another option is try failing the interface at mapping level by sending some invalid data for normal interfaces (EO) only and check...but in this case runtime may not block the queues all the times only few times and few circumstances it will block the queues...
    HTH
    Rajesh

  • SMQS scheduler: Queues stuck / block situation

    Hi All
    we have a Q stuck situation in ECC6.0 (ISU) with the Q name R3AUBUPA*, destination CRM, has status RUNNING. The implication of this is all other Q's get blocked and the this impacts the business operation. Currently we unregister and register the Q's and this clears the blocked Q and the backlogs.
    1) The question is anybody aware of a know issue on SMQS or is there a setting / parameter that needs to be set/unset or parameter values that needs tweaking.
    2) Also currently we have a dedicated resource to minitor this and address the issue, wonder if anyone has setup an alert in this context ?
    Note -
    a) All Q's are registered
    b) Except for the workflow Q's all are type 3 connections.
    c) the Q's are not confined to a server as that is not an option the client desires.
    Regards
    Srikanth

    Hello Srikanth,
    Txn:SMQS is used to de-rgister or register the destination.If you dereister/register a destination  then  data will not/will to that
    destination.
    You can go through the below set of notes for more details on queue hanlding and SMQS.
    685366          Welche Queues sollen in einem CRM System registriert werden?
    764081          CRM or R3 Backend is temporarily shut down
    356228          qRFC occupies all work processes on the R/3 backend or the C
    574774          Outbound queues hang in status STOP
    564435          Additional information on CRM System copy
    515579                          Customer message in the area: CRM-MW-COM
    480543          CRM MW R&R queues in status STARTING (no processing)
    580487          Guidelines for deactivating the mass queues CSA_MASS_BUPA
    777965          Flow Debugging information through queues
    Hope thils helps.
    Best Regards,
    Shanthala Kudva

  • Project Server 2010 - Update Scheduled Queue job failed with error message" Error no 131- AssignmentAlreadyExists"

    Hello,
    When I tried to update the schedule of the project , the job failed with the error message " AssignmentAlreadyExists". I further looked into the ULS logs but it wasn't that helpful.
    This is the message I found in ULS logs "type = UpdateScheduledProject failed at Message 5 and is blocking the correlation Errors: AssignmentAlreadyExists,Leaving Monitored Scope (FillTypedDataSet -- MSP_WEB_SP_QRY_ReadTimeSheetAssignmentsAndCustomFieldData).
    Execution Time=398.730006187937"
    Pplease help me to understand the root cause of this problem.
    I have verified all the assignments in the plan and I did not find any duplicates.
    Thanks in advance.
    Sesha

    This issue might need detailed troubleshooting, I would suggest you raise a support case with Microsoft.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Queue to Queue Propagation through DB link

    Hi,
    I need to propagate msgs from queue at one DB to another queue at another DB using DB link. What is step-by-step workflow to acheive this. I need to propagate automaticly. Could you help me? I've tried it, but every my atempt failed. THX.
    J.

    Sorry for uncomplete first post.
    1. Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    2. CREATE PUBLIC DATABASE LINK link.test CONNECT TO user IDENTIFIED BY passwd
         USING '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = service_name)))';
    3. I've tried it this way:
    BEGIN
      DBMS_AQADM.CREATE_QUEUE_TABLE( Queue_table => 'schema.testout_T', Queue_payload_type => 'schema.type', COMMENT => 'comment');
    END;
    show errors
    BEGIN
      DBMS_AQADM.CREATE_QUEUE( Queue_name => 'schema.testout_Q', Queue_table => 'schema.testout_T', Queue_type => 0, Max_retries => 5, Retry_delay => 0, dependency_tracking => FALSE);
    END;
    show errors
    BEGIN
      DBMS_AQADM.start_queue (
           queue_name         => 'schema.testout_Q',
           enqueue            => TRUE,
           dequeue            => TRUE);
    END;
    show errors
    BEGIN
    DBMS_AQADM.grant_queue_privilege (
       privilege     =>     'ALL',
       queue_name    =>     'schema.testout_Q',
       grantee       =>     'userpropag',
       grant_option  =>      FALSE);
    END;
    show errors
    -- 1st atempt
    BEGIN
        DBMS_PROPAGATION_ADM.CREATE_PROPAGATION(
        propagation_name => 'testout_p'
        ,source_queue => 'schema.testout_Q'
        ,destination_queue => 'dest.testIN_Q'
        ,destination_dblink => 'link.test'
        ,queue_to_queue => false);
    END;
    --2nd atempt
    BEGIN
        DBMS_PROPAGATION_ADM.CREATE_PROPAGATION(
        propagation_name => 'testout_p'
        ,source_queue => 'schema.testout_Q'
        ,destination_queue => 'dest.testIN_Q'
        ,destination_dblink => 'test.link'
        ,queue_to_queue => TRUE);
    END;
    BEGIN
       DBMS_AQADM.SCHEDULE_PROPAGATION(
          queue_name    =>    'schema.testout_Q',
          destination   =>    'test.link');
    END;
    BEGIN
      DBMS_PROPAGATION_ADM.START_PROPAGATION(
        propagation_name => 'testout_p');
    END;
    /Return of query:
    SCHEDULER$_JOBQ     SCHEDULER_COORDINATOR          0     PERSISTENT     FALSE
    SCHEDULER$_JOBQ     SCHEDULER_PICKUP          0     PERSISTENT     FALSE
    SRVQUEUE     TAFTSM          0     PERSISTENT     FALSE
    ALERT_QUE     HAE_SUB          0     PERSISTENT     FALSE
    ALERT_QUE     xxx          0     PERSISTENT     FALSE
    SYS$SERVICE_METRICS     SYS$RLB_GEN_SUB          0     PERSISTENT     FALSE

  • Ordered queue?

    Hello, could somebody please advice - I need to build some kind of scheduled queue, where records have a time to execute defined in milliseconds. So a key will be a number, which defines a time stamp, and I would like to open cursor and first record will be a record where the key value is minimal, then next record will have value next to minimal and so on. I saw it is possible to do similar things with Sequence, but in my case I can insert one record with key 17, and another record with key 5, and when I open cursor and query for next record - cursor should return record with key 5 - not 7.

    Hi,
    The short answer is you can use a sequence or a timestamp in a format that you decide works best based on your queries. The keys will be stored in sorted order so that should give you what you want. JE automatically determines the record's proper placement in the database's internal B-Tree using whatever key and data comparison functions that are available to it.
    When you create a cursor and traverse it, you can go in sorted order. For more information:
    http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/Cursors.html
    To see more information about cursor methods such as get(), previous(), please see:
    http://www.oracle.com/technology/documentation/berkeley-db/je/java/com/sleepycat/je/Cursor.html
    What logical design do you have in mind? If you describe in more detail your logical design, the type queries you have, I will try to help you further.
    Ron

  • Powershell get scheduled task jobs on remote computer

    Hello guys!
    I couldn't find any answer or question about this, I need to query scheduled jobs on server (2008R2) with name which contains variables.
    I can get list of jobs, but I don't know how to display only that I need.  For example, there is job $something.$RandomText.$RandomNumbers, So I'm trying to filter jobs by name ($something).
    Script which I found is:
    $sched = New-Object -Com "Schedule.Service"
    $sched.Connect('remote server')
    $out = @()
    $sched.GetFolder("\").GetTasks(0) | % {
    $xml = [xml]$_.xml
    $out += New-Object psobject -Property @{
    "Name" = $_.Name
    "Status" = switch($_.State) {0 {"Unknown"} 1 {"Disabled"} 2 {"Queued"} 3 {"Ready"} 4 {"Running"}}
    "NextRunTime" = $_.NextRunTime
    "LastRunTime" = $_.LastRunTime
    "LastRunResult" = $_.LastTaskResult
    "Author" = $xml.Task.Principals.Principal.UserId
    "Created" = $xml.Task.RegistrationInfo.Date
    And one more thing, I'm using windows 7, so I can't use get-SceduledTasks function. 
    Maybe there is some simpler way to do this?
    Best regards,
    Ronald

    Just see the values in $out and check the Name. The name may differ.No results will be produced if it;s not eq to your $something
    $sched = New-Object -Com "Schedule.Service"
    $sched.Connect($env:ComputerName)
    $something = 'GoogleUpdateTaskMachineCore'
    $out = @()
    $sched.GetFolder("\").GetTasks(0) | % {
    $xml = [xml]$_.xml
    $out += New-Object psobject -Property @{
    "Name" = $_.Name
    "Status" = switch($_.State) {0 {"Unknown"} 1 {"Disabled"} 2 {"Queued"} 3 {"Ready"} 4 {"Running"}}
    "NextRunTime" = $_.NextRunTime
    "LastRunTime" = $_.LastRunTime
    "LastRunResult" = $_.LastTaskResult
    "Author" = $xml.Task.Principals.Principal.UserId
    "Created" = $xml.Task.RegistrationInfo.Date
    $out | ? {$_.Name -eq "$something"}
    Regards Chen V [MCTS SharePoint 2010]

  • Scheduled report never leaves 'scheduled' status

    I have a BIP report that is supposed to burst to three pdf files. I schedule it to run, it hits the scheduler queue, and it never leaves the queue. The Status column shows 'Scheduled' and it just sits there - never completes, never fails. I can click the Refresh icon for hours before I kill it. So there's no error thrown at all. It just sits there and stares at me.
    Any thoughts of where to look first?

    Nevermind. I stopped and restarted every single OBIEE service and the problem went away.

Maybe you are looking for

  • Essbase Excel Addin on 64 Bit Windows 7 and 64 bit Office 2010

    Hi Everyone, I have installed 11.1.2.2 on server with Essbase and Shared Services. Now, on the client I have 64 bit Windows 7 and 64 bit office 2010. I tried installing Excel Addin client only (without Essbase client) and restarted machine after inst

  • Broadcasting settings not transported at all

    Hi Community, I transported object BRSE (broadcasting object) with the Transport Connection (RSA1 transaction) from development system to the test one. I also transported previously the object TMPL (the Web Template in which I customized the broadcas

  • Barcode scanner connection to sap bo

    hi all, i am currently working on a project where a pdf-barcode is scanned on goods issue. this process has to be implemented in sap bo. i would like the barcode data, namely the serial numbers, when scanned, to be displayed on a form. since there is

  • Limiting the results in a Repeat Region

    Hi,     I've created a repeat region that lists all the cities from a selected county search.  the problem is the database has multiple city listings. nyone know how to  limit the results to just one city where there are more than one listing???  Mus

  • Crash when uploading video to Mobileme from iPhoto '09

    I get this when I try to upload. It used to work...well, I won't say great...but pretty well. But now it crashes every time when I try to upload a video. I've tried it with just one video and it still crashes. I'll happilly answer questions about det