Check current job status

HI,
I am not able to check which job is currently running in our database, could anybody suggest me what is the command for that?
Regards
Gagan

Hi,
in this table "Total_time is" increasing means query is running in database?
another question.
how I will check which query is running I have 8 query in my package?
Rgds
Gagan

Similar Messages

  • Check The Job Status

    Hi SAPsimhas,
    My requirement is as below.
    I will loop through an internal table and create some files with background processing method.(JOB_OPEN,SUBMIT & JOB_CLOSE)
    Now once this job is triggered I need to check the status for that job after maximum 10 mins. Its not neccessary that each job will take 10 mins. only,It can be finished in 2 mins also.
    Once the job is finished then I will XCOM that file.
    So my question is how to code such timer which will check the job status for that job? I have a FM BP_JOB_READ which returns the job status.
    Reply is highly appriciated.

    Try this way
      do.
        call function 'SHOW_JOBSTATE'
          exporting
            jobcount         = p_jobc
            jobname          = p_jobn
          importing
            aborted          = v_aborted
            finished         = v_finished
            ready            = v_ready
            running          = v_running
            scheduled        = v_scheduled
          exceptions
            jobcount_missing = 1
            jobname_missing  = 2
            job_notex        = 3
            others           = 4.
        if v_aborted eq 'X'.
          exit.
        endif.
        if v_finished eq 'X'.
          select single * from tbtcp into wa_tbtcp1
                     where jobname eq p_jobn
                       and jobcount eq p_jobc.
          if sy-subrc eq 0.
            move wa_tbtcp1-listident to p_spono.
          endif.
          exit.
        endif.
        if v_count le 10.
          call function 'ENQUE_SLEEP'
            exporting
              seconds = 60.
          v_count = v_count + 1.
        endif.
      enddo.

  • URGENT : Error 5 when checking the job status

    Hello Forum,
    While monitoring the Process Chains in BW 3.1, I got the following message in the <b>Information </b>Pop-up:
    <b>Error 5 when checking the job status</b>
    Could you please tell me what it means?
    Thank you,
    its my duty to assign points,
    raj

    Hi,
    Are you able to view the log after refreshing and clicking the tick mark button on this message or is it not letting you go into the log itself.
    Can you directly go to Log view thru Tcode RSPCM and see. Once you are inside try to find where exactly the process failed.
    Thanks,
    JituK

  • Checking print job status

    Hi,
    In Leopard, when I print to any of my printers, an application with the name of the printer I'm printing to appears. If I want to check on the status of the current print job, I can't figure out a straightforward way to look at the jobs in that printer's queue. The only way I can accomplish this is to select "Show Printer List" from the "Printer" menu, which then opens the System Preferences dialog listing all of my printers, from which I can select the current printer from the list on the left and then click on the "Open Print Queue..." button. But this seems sort of a roundabout way to check my print job, considering that the current printer's "app" is already open. In the printer "app"'s "Jobs" menu, I have only "Delete Job", "Hold Job", "Resume Job" and "Hide Completed Jobs" as options. It would be great if there were a "View Jobs" option as well. I don't recall that checking print jobs was as convoluted in Tiger. Is there some trick here that I'm missing, or did the monitoring of print jobs become a bit more difficult to do in Panther.
    Thanks,
    Ken

    If you want to see the current queued jobs then click on the option to "Hide Completed Jobs" This makes the current jobs easier to see.
    If the completed jobs view is on, then the current jobs will be at the end of the list.
    Also see the CUPS jobs page here:
    http://localhost:631/jobs/

  • Steps for checking current order status

    hi, gurus
    plz help me how to Check the current order status and back flush indicator activated for components.
    step by step..thanking u..
    thank & regard
    Rahul

    Go to display/change production order CO02/CO03 or coois. In order header only you will see order status if you click onthe icon 'I" it will show you the status details. For process order you use COR2/COR3/COOISPI.
    Back flush indicator is either maintained at  material master level ( MM03- MRP2 view) or in order component over view.
    Regards
    Shakti

  • Unable to get job status via BIP web service

    Hi,
    I'm scheduling a report job using the method scheduleReport of the ScheduleService web service. The method returns the jobId correctly, then I check the job status using getScheduledReportStatus.
    Every time the method returns jobstatus = "Scheduled", but the report is finished. I noticed that BIP schedule a child job with different jobId (why?) and If I use it, the getScheduledReportStatus return a null status.
    Using the method getScheduledJobInfo I have all the information, but how can I get the child jodId ?
    Best regards,
    Alessio

    Hi Alessio
    I know this was a long time ago but i was just taking a chance:
    Quick question: did you get this to work? I can schedule a report using the ScheduleReport sevice, but when i query the status using getScheduledReportStatus, the status remains 'Scheduled', even after the job has run. The job also does not appear in the Job History of the report. The report is set to burst, which it does correctly.
    Do you have any ideas?
    Thanks very much.

  • All timer jobs don't start (paused in check job status)

    Hello,
    Some bad things have happend to our SharePoint Server 2010. All timer jobs suddenly stopped running. The last time they ran successfully was 09/26/11. Since that time all jobs have been scheduled to run according to their schedule but don't actually run.
    In the Check Job Status view there is a list of jobs scheduled to run 09/26/11 which are currently paused for some reasons, other jobs don't run at all. 
    Is it possible to unpause these jobs and let other jobs to run? Any ideas would be very much apprecaited. Thank you in advance.

    Hi,
    Thanks for your post.
    Pausable Timer Jobs
    You can now create pausable timer jobs. This is done by inheriting from the
    SPPausableJobDefinition and overriding Execute(SPJobState) instead of
    Execute(Guid). You can then use the current job state (SPJobState) to store values which are retrieved when the job is resumed.
    Running jobs on all content databases
    Another new timer job derivative type is the SPContentDatabaseJobDefinition.This is a timer job specifically made to perform actions on content databases. The timer job is distributed on the WFE servers and each content database is only
    processed by one job. Override the Execute(SPContentDatabase, SPJobState) to add your own processing. The job supports pausing.
    Running jobs on all Site Collections
    A really interesting new timer job type is the SPAllSitesJobDefinition. This one is derived from the SPContentDatabaseJobDefinition and has a method called
    ProcessSite(SPSite, SPJobState) which you override to process the SPSite object. This could be very useful to build site inventories/directories.
    Running job on a specific server
    The SPServerJobDefinition is a pausable timer job that is designed to be targeted to a specific server (SPServer).
    Running jobs for specific services
    The SPServiceJobDefinition is another pausable timer job that runs a job on all servers where a specific
    SPService has been provisioned. A very similar job is the
    SPFirstAvailableServiceJobDefinition which runs the job on the first available server which has a specific SPService installed. If you would like to run a job an all servers you can easily use SPServiceJobDefinition. Then use the timer job service
    (which is installed on all servers, except dedicated database servers) and pass
    SPFarm.Local.TimerService as the SPService parameter in the constructor.
    All of the new specific timer jobs are essentially smart derivatives of the SPJobDefinition but using these new abstract classes will certainly save you some time when you need to target your timer jobs.
    I hope that helps.

  • T code to check the job run status

    Hi Gurus,
    I am filling the setup tables for inventory, but i didn't run in background. I clicked on execute button, but suddenly i got disconnected from net and my server also.
    Now i have to check the job run status whether it is running or not.
    Request you to provide the suggessions.
    Thanks & Regards,
    Saketh

    Hi,
    if you ran job in background you can see at SM37.use proper time ,date and use id to get your job.
    if you ran on frond end then you won't see job.if your job was completed then you can see data at SE11 by using setup table name or you can see at t code NPRT by using name of the run.
    if you won't find your job then just delete your setup tables again and fill it.
    No issues.
    Thanks

  • 5 error while checking job status

    Hi,
    We are getting the following error when we are trying to check the status of the process chain through FM 'RSPC_API_CHAIN_GET_STATUS':
    5 error while checking job status.
    The real scenario is we are using an abap screen with a button on it. when the user clicks on the button we call the FM 'BP_EVENT_RAISE' to trigger the process chain. once the chain is triggered we are having an endless loop to monitor the status of the chain with FM 'RSPC_API_CHAIN_GET_STATUS' untill the chain status turns green ie G.
    Now while monitoring the status it randomly throws me the above error. it seems to work sometimes and other times it gives the popup with the said error.
    Can anybody help why we get the error.
    Regards,
    Shashank

    Hi Shanshank,
    Try to Debug the FM.
    Rgds,
    Ravi

  • Page Count Missing From Print Job Status Window

    When I print a multi-page document from TextEdit or AppleWorks, the Print Status window does not show the page count. Instead it always shows "Sheet 1 of 1".
    Both TextEdit and AppleWorks show the document as having four pages. A print preview from AppleWorks confirms the document does have four pages. Yet when the document is printed the Print Status window continues to show only "Sheet 1 of 1" with no indication that the document actually has a total of four pages. Nor does it show which pages is currently printing.
    I am running Mac OS X 10.5.8. If I recall correctly, previous versions of Mac OS X showed both the total page count and the currently printing page number, which incremented as the job printed. As it is, there is no way to know the progress of a large print job.
    Any idea what is wrong?
    Thanks.

    Could some check their print status window while a job is printing? Does it always show "Sheet 1 of 1" or does it show the page count that increments as the job prints?
    Thanks.

  • Job status of Business Rules not reflecting correctly in Hyperion Planning

    Hi,
    In our Planning Web Application version 11.1.2.1 (Classic application), we have issue with the Business Rules not changing the job status from Processing to Complete.
    Essentially giving an indication to users that the job is taking longer than expected.
    Having noticed that behavior, when we cross check with Admin credentials (Application Logs ) HBR Launch.log. The End Time of the job is updated promptly.
    We have couple of SRs Open with Oracle but they concluded it’s a bug and need to upgrade to 11.1.2.2. But currently we do not have any plans to upgrade to the latest version.
    In order to force the Status change to mark it as Complete at the SQL Server backend.
    We have to update the status table HYP_JOB_STATUS manually via database update.
    But this is laborious process.
    Did anyone encounter such issue? Please suggest a feasible option here ?
    Thanks,
    Venkat
    Edited by: 947686 on Dec 18, 2012 6:21 AM

    Hello Shiva,
    We do not have any issue with calc rules; we are facing this issue with Business rules.
    We have looked into the logs in both Applcation logs and Essbase logs nothing found strange except couple of .xcp files were generated in Essbase server. We have sent those .xcp files to Oracle for investigation. We have also noticed that Web Logic server was not hand shaking properly with Hyperion Server. Oracle responded with few application settings which we are already sycn with recommended settings.
    We had the same issue in 8 months back and the same repeated now.
    Thanks,
    Venkat

  • Use of dynpro services is not possible in the current system status

    Hi,
    I am new to all of this and new to SAP. I will bew self learing my way into CRM SOA,  working with the web service creaiton i keep getting the following errlr when rtying to Activate a new created web service:
    "Use of dynpro services is not possible in the current system status"
    not knowing the system that well i wonderin if there is missing configuration. This is CRM 7.0
    Exception Class CX_SY_SEND_DYNPRO_NO_RECEIVER
    Error Name DYNPRO_SEND_IN_BACKGROUND
    Program SAPLSKEY
    Include LSKEYU03
    Line 33

    Hi Keith,
    Welcome to the SCN forums!
    SAPLSKEY
    You should first check your Abap dumps using tranaction code ST22, this usually provides more detail on the problem.
    In this case I think it's trying to return a screen (or pop-up message) that can't be handled while activating the web service. The "SAPLSKEY" tells me that it might be licence related, do you have a valid developer's licence for Abap development work? If not apply for one (find out the procedure from other Abap developer's that you may work with) & check if that makes a difference while activating.
    Regards, Trevor

  • Why data has not been copied from staging DB to Reporting DB even timer job status is success ?

    Hello,
    I am facing following issue regarding web analytic service for specific date 2014-08-18:
    Verified following services which are running and status was success on that specific date 2014-08-18 :
    Web Analytics Service
    Microsoft Usage Data Import
    Microsoft SharePoint Foundation Usage Data Processing
    Observed latest Web Analytics Setting as below :
    LastAggregationDateId 
    20140817 -   The date id of the last successfully completed data aggregation
    LastAggregationTime
    2014-08-18T00:00:13.210 - The time of the last successfully completed data aggregation
    LastBestBetSuggestionAggregationDateId
    20140818 - The date id of the last successfully completed best bet suggestion data aggregation. This date id should not be reset to an earlier date manually.
    LastDataCopyTime
    2014-08-17T23:59:09.693 - The last time the data were copied from the staging databases to this reporting database for aggregation
    Above settings says that Data has not copied from Staging DB to Reporting DB on Date 2014-08-18
    In order to verify the same I have checked as follow:
    SELECT COUNT (*) FROM [dbo].[WATrafficAggregationByDate] WITH (NOLOCK)
    WHERE  [DateId] = 20140818
    Above SQL Query has returned ZERO value.
    Can anyone please let me know Why data has not been copied from staging DB to Reporting DB even timer job status is success ?
    Your help will be much appreciated.
    Thanks and Regards,
    Dipti Chhatrapati

    The image itself has the answer
    The user requests a page, and the action gets picked up by the Web Analytics service that runs on SharePoint.
    The Web Analytics service logs this in the “.usage” files.
    A Timer job called “Microsoft SharePoint Foundation Usage Data Import” by default runs every 30 minutes. It imports the logs into the staging database.
    Each night the “Microsoft SharePoint Foundation Usage Data Processing” Timer job runs and transforms the data into the reporting database.
    The last run time of the import from staging and the aggregation is logged in the Settings table in the Reporting database.
    Usage and Health Data Collection Service Application collects Data about Usage and Health of your farm.
    This information is used for Health Monitoring and this is also required for running the Web Analytics Service. If you do not have a Usage and Health Data Collection Service Application or your
    Usage and Health Data Collection Proxy is stopped, you will not see any data in the Web Analytics Report
    Regards Chen V [MCTS SharePoint 2010]

  • Is there exist report to check the job start date restriction calendar ID?

    Hi There,
    In SM37, there are many jobs list there. If we choose one job of them, and click Jobchange, then we access in the screen for change the job status. Then click button Start condition, and there is a dialog which name is Stat time will pup up. And click button Date/Time, there will be a new button appears in the bottom. Click Restrictions, You will see a new dialog box which name is Star Date Restrictions. There is a field which name is Calendar ID in selection portion Factory calendar.
    Is there exist one report to check all the jobs calendar ID instead of to check one by one?
    Thanks!

    Hi,
    please have a look into table TBTCO, restricting by field CALENDARID.
    I hope this helps. Kind regards,
    Alvaro

  • Displaying Jobs Status and Logs without using SM37

    Hello All,
    First of all, thanks a lot for your time.
    We're being asked by the Audit Team to remove tcode SM37 from our Job Roles. Although I agree with them that users should not have "change" or broad display access for the tcode, some of them need to check other user's Jobs status, as well as their Job Logs (which I have managed to restrict using auth. object S_BTCH_JOB).
    My question is: do you know if there's any alternative way or a transaction different than SM37 to display other user's Jobs status and Job Logs?
    We're providing SMX for user's own jobs, but I have not been able to find an alternative way than using a restricted version of SM37 for displaying other people's Jobs status and Job Logs.
    Best regards,
    CMPT

    You can either create your own monitor locally ( see transaction RZ20) or develop it on your own (see FM BP_JOB_STATUS_GET).
    If you want to use SM37 then you can add SHOW to S_BTCH_JOB but this might be problematic in combination with RELE (of their own jobs).
    [SAP Note 568963|https://service.sap.com/sap/support/notes/568963] will be able to help you further.
    Cheers,
    Julius

Maybe you are looking for