View All Background Jobs with Class A

Hi All,
We have around 500 Background jobs scheduled on PRD system (CI and on the  rest DI's),
Our requirement is how to generate  a list with All the backround jobs w.r.t their Job class (Any method /T-code navigation, function etc) so that I can get all the 500 jobs segregated w.r.t their job class( sm37 wont give selection condition using job class)
Thanks a lot  for  your  respoonses.

Just pull the list from table TBTCO
Regards
Juan

Similar Messages

  • Running background job with class type "A"

    Hi All,
    Can anyone let me know is it possible to run an background job in R/3 with class type "A" with respect to a specific info package. Thanks.
    Regards,
    Ashok

    I do not think this is possible (ie unless you think of modifying SAP code).

  • Background job with immediate start

    Hi,
    In my program, I have to create a background job with immediate start. I used function module 'BP_JOB_CREATE', but it does not start immediately.
    Can anybody provide sample code for immediate job start.
    Regards,
    Nitin

    Hi,
    Use these function modules.
    JOB_OPEN
    JOB_SUBMIT
    JOB_CLOSE
    in JOB_SUBMIT function module u can pass to start the job immediately in export parameters PRIPARAMS structure  field name PRIMM which has to be set to 'X' to start immediately.
    regards,
    Santosh Thorat

  • Which are the required roles/privs for viewing all scheduler jobs in OEM?

    Platform: Oracle 11.1.0.6 Enterprise Edition (64) Windows 2008 R2 Server
    - I've created a new Admin user in "OEM>Setup>Adminstrators>Create"
    - I checked the user in "OEM>Server>Users":
    CREATE USER "SA_ADMIN"
    PROFILE "DEFAULT"
    INDENTIFIED BY "saadminsa"
    DEFAULT TABLESPACE "SYSAUX"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
    GRANT SELECT ANY DICTIONARY TO "SA_ADMIN";
    GRANT "MGMT_USER" TO "SA_ADMIN"
    - "SA_ADMIN" was granted only the permissions above.
    - I can log in OEM as "SA_ADMIN"
    - I can see OEM backup jobs and the history
    - But I cannot see any "scheduler" jobs in "OEM>Server>Jobs"
    - I get a lists of the jobs in "OEM>Scheduler Central" but I cannot display any more information of "scheduler jobs"
    - I logged off from OEM
    - I granted SCHEDULER_ADMIN role to "SA_ADMIN"
    GRANT SCHEDULER_ADMIN TO "SA_ADMIN";
    - I logged back in OEM as "SA_ADMIN
    - I can now see some scheduler jobs, but not all of the jobs, I still cannot see any of the new jobs I created logged in OEM as SYS.
    Which are the required roles/privs for viewing all scheduler jobs in OEM?

    if you grant "SYSDBA" to the new Admin user then you can see the "scheduler" jobs.
    GRANT SYSDBA TO "SA_ADMIN";
    I wanted to grant "read" access in OEM for the new user.
    This behaviour is strange.
    Without the "SYSDBA" role the new user can see the OEM backup jobs that were create in as SYS, but it cannot see the "scheduler" jobs.

  • Required roles/privs for viewing all scheduler jobs in OEM 10g

    Hello,
    I would like to know wchich role/priv schould have user to view all scheduler jobs
    in OEM console 10g. My user can see only few jobs in Scheduler jobs part of OEM 10g. User sys see all scheduler jobs.
    Thank you for reply

    Hi,
    If this is a highly privileged user you can consider the CREATE ANY JOB privilege. But this privilege allows a user to run code as any other user so it should only be granted very carefully.
    A user can also view any job he is granted ALTER privileges on directly.
    Hope this helps,
    Ravi.

  • Triggering a background job of class 'A' from within the ABAP program

    Dear All,
    We are implementing SAP ECC 6.0 on IBM System i, i5/OS V5R4,  SAP kernel 7.00, kernel patch level 173.
    Is there a way to control that when a background job is triggered from within an ABAP program using the : CALL FUNCTION 'JOB_OPEN' statement, the background job is of class A ?
    I know that through transaction SM37, the job class for a background job can be changed manually, but the situation is an outsource company did for us some changes in the native SAP ABAP programs related to some SAP native transactions, and those programs trigger at their end some background jobs, each job running with the name of user running the transaction.
    Through SM37, I can't find a template background job, to be changed to have class 'A'
    The following is an excerpt from the ABAP code, bearing the CALL FUNCTION 'JOB_OPEN' statement :
    FUNCTION z_cs_technical_completion.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(AUFNR) TYPE  VBRP-AUFNR
      DATA jobcount TYPE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname                = 'CS_TECH_COMPLETE'
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
       IMPORTING
         jobcount               = jobcount
    CHANGING
      RET                    =
       EXCEPTIONS
         cant_create_job        = 1
         invalid_job_data       = 2
         jobname_missing        = 3
         OTHERS                 = 4
      SUBMIT zcs_technical_completion
              WITH p_aufnr EQ aufnr
                AND RETURN
              VIA JOB 'CS_TECH_COMPLETE'
              NUMBER jobcount.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = jobcount
          jobname              = 'CS_TECH_COMPLETE'
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
    ENDFUNCTION.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Dear Darren,
    Thank you very much for your cooperation and for your prompt reply.
    Could you please explain to me how to find out the template background job that was first used, or in other words, how things were set up in the first place, i.e. when first the ABAP program was written and executed, there had to be at least one background job created through transaction SM36 ?
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

  • How to view ALL batch job details (SM37) at one glance ?

    Dear all,
    I am documenting all released batch job details, the information required includes the job name, client number, job frequency .. etc.
    In order to see that information, i go to SM37 and click on each job to see the details. I have about 60 jobs released, to get their details i have to click on them at least 60 times.
    Is there a report or table that i can refer to that provides me the information of all the jobs in one screen ?
    Thanks.
    Advice and comment will be appreciated.
    Regards,
    Kent

    Dear Prashanth,
    Thanks for the link, I managed to get the required information from table TBTCO or TBTCP with below selected fields.
    JOBNAME = Background job name
    SDLSTRTDT = Planned Start Date for Background Job
    SDLSTRTTM = Planned start time for background Job
    SDLUNAME = Initiator of job/step scheduling
    PRDMINS = Duration period (in minutes) for a batch job
    PRDHOURS = Duration period (in hours) for a batch job
    PRDDAYS = Duration (in days) of DBA action
    PRDWEEKS = Duration period (in weeks) for a batch job
    PRDMONTHS = Duration period (in months) for a batch job
    PERIODIC = Periodic jobs indicator ('X')
    STATUS = State of Background Job, S = Released, F = Finished
    AUTHCKMAN = Background client for authorization check
    EVENTID = Background Processing Event
    EVENTPARM = Background Event Parameters (Such as, Jobname/Jobcount)
    Dear Juan,
    Thanks for your reply.
    Regards,
    Kent

  • Table name for background job with report, variant and step user id list.

    Hello All,
    I need to generate the list of scheduled backgroung job with the list of Report Name, Variant, Step User Id called. Please any one tell the SAP Table name from which I can get these data.
    Thanks in Advance,
    Amit

    Hi Rohit,
    Thanks for your reply. But from TBTCO, i can't find program/report name and variant. Just the list of background job i can see.
    Regards,
    Amit

  • Monitoring multiple background jobs with CCMS

    Hi,
         Can multiple background job be monitored with the help of CCMS.If yes then    is it adviseable to go ahead with that or not?
         Say the number of jobs to be monitored are 1000 in SCM.....
         If yes plz suggest me how the same can be done ?
    Regards
    Siddharth

    Yes Multiple jobs can be monitored using CCMS .. You dont have to monitor all the jobs , you can restrict it by entering the job name in ALBTCMON . The following link will be helpful
    http://help.sap.com/saphelp_nw04s/helpdata/en/1c/48803d48de0610e10000000a114084/content.htm
    Thanks
    Prince Jose

  • How to view ALL batch job details at one glance using function module

    Hi Experts,
    i need to see all batch jobs details, the information required includes the job name, client number, job frequency .. etc.
    but i need to do it with only FUNCTION MODULE.....
    SINCE THE INFORMATION IS CAPTURED BY THIRD PARTY SYSTEM.......i am looking for any function module
    could you please suggest me any FM's where i can get this information.................
    thanks and regards
    SAM

    Hi,
    You can explore these functional module for SM37 desired details:
    With function module BP_JOB_MAINTENANCE (transaction SM37), you can call the full job maintenance system of the background processing system, starting with the job selection screen.
    Since many users are not familiar with job maintenance and have no desire to search for their jobs, you can use the function modules BP_JOB_SELECT and BP_JOBLIST_PROCESSOR to select and display a list of jobs for the users of your program.
    Use BP_JOB_SELECT to generate an internal table of jobs. Then, with BP_JOBLIST_PROCESSOR, you can display the selected jobs in the list format used by the job maintenance system.
    You can also use BP_FIND_JOBS_WITH_PROGRAM to select jobs that run a particular program. Use this function module with BP_JOBLIST_PROCESSOR to display a job list to your users. Like BP_JOBLIST_SELECT; BP_FIND_JOBS_WITH_PROGRAM offers interactive and silent modes.
    Regards,
    Ashutosh

  • Background Job with User Name

    I am trying to submit report program in background job. I want to submit it with specific user name so I am submitting with user name as 'ABC'  as below
    data: user type sy-uname.
    user = 'ABC'.
    SUBMIT z_program AND RETURN
                 WITH matnr = matnr
                 WITH werks = werks
                 USER user
                 VIA JOB jobname
                 NUMBER jobcount
    But it creates job with current user(sy-uname) running the program and  not 'ABC'. How I can change it for specified user?

    SUBMIT z_program AND RETURN
    WITH matnr = matnr
    WITH werks = werks
    USER user
    VIA JOB jobname
    NUMBER jobcount
    AND RETURN.    "you forgot to return back
    Of course the user should be the one existing in the system. I guess there is no such ABC. Find the one which exists (use i.e. su01).

  • Schedule background job with different user

    hi ,
    i want to schedule a background job under a different user
    i have used the parameter AUTHCKNAM of 'job_submit'
    it is giving sy-subrc = 0 .
    but it is not working
    i have also used the FM 'bp_job_create' in place of 'job_open'
    it is giving sy-subrc = 0 .
    but not working as needed
    kindly help
    regards...

    hi
    Try this
    We can do that via SUBMIT statement:
    Go through the documentation os SUBMIT statement with addition:
    ... USER user VIA JOB job NUMBER n
    Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
    OR
    go through this link , i hope this ll help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/ff2138faeb3807e10000009b38f889/content.htm
    Hope this helps.
    Thanks
    Tushar

  • How to run a background job with the cloud_scheduler package

    Hi,
    Is the cloud_scheduler package able to run background jobs as documented? When you try to run a job in another session using:
    cloud_scheduler.run_job(job_name=>'MYJOB', use_current_session=>false);
    The call fails with:
    ORA-20002: Cannot run job MYJOB. Adhoc background execution is disallowed. Please enable the job instead.
    If you try to use cloud_scheduler.enable to run the job then the job does not run when scheduled.
    Rod West

    Hi Rod,
    Yes, I believe so. Here's a test case that I just ran successfully from SQL Workshop in my database trial service:
    create table myjob_test (aa timestamp with time zone);
    begin
        cloud_scheduler.create_job (
            job_name        => 'MYJOB',
            job_type        => 'PLSQL_BLOCK',
            job_action      => 'begin insert into myjob_test values (systimestamp); commit; end;',
            repeat_interval => 'freq=minutely; interval=3' );
    end;
    begin
        cloud_scheduler.enable ( name => 'MYJOB' );
    end;
    select job_name, state, run_count, failure_count, last_start_date, next_run_date, systimestamp from sys.user_scheduler_jobs;
    select * from myjob_test order by aa;Is the next_run_date in the past for your job? If it is, try disabling/enabling the job to "reinitialize" the job's schedule.
    -- Vlad

  • Scheduling a background Job with gaps in dates

    Hi Experts,
    I am having a requirement : A background job has to be scheduled for running a program every 15 minutes and for every month.But this job should not run from date 10th to 15th of every month.For example,In july month Job should start run from 01.07.2014 to 31.07.2014 excluding 10.07.2014 to 15.07.2014.
    Can we achieve this without a custom program and using SM36?
    Regards,
    Arun.

    Hello Arun,
    is it possible to define a factory calendar to you in the system, if you can define one then you can define the 10-15 the of every month as holiday.
    We can select the factory calendar above defined in the job. This can be found by clicking on the restrictions button in the start condition screen.
    in that start date restrictions, you can find 5 options in those you can pick the do not execute the periodic job on sunday and holidays.
    but this will effect the sundays which are falling in 1-10 th & 15-31st of each month, will that be OK ?
    if you do not want to try out the above all steps, then you can simply create 2 job running for each month
    1st one for 1-10th of every month.
    2nd one for 16th to end date.
    Let us know in case of any concerns on the same.
    thanks,
    Bhaskar

  • Looking for a way to view all changes made with subversion [image]

    Hi guys,
    My upfront apologizes if this is not the right forum... I'm using a subversion with eclipse and wonder if there is a better way to VIEW all changes made to my code. Right now, if I wish to know of a change I need to "compare with" and choose a version - this gives me only one file and it's really hard to go through 10+ files.
    Question: is there a better way to do that? meaning a webpage I can refer to and see all code that was changed/added/deleted? (the idea is to look at it at the end of the day and see all changes)
    something that can provide a snapshot like this image.
    The picture above is from Trac but I found it SOO hard to install. Wonder if there's a way just to view changes.
    Thanks for any pointers

    You mean viewing all changes over a codebase, as opposed to a single file?
    I do that like this on the command line:
    svn diff -r1234:1244 path | vi -(where the numbers are whatever revision numbers I want to compare, and "path" is a path under source control)
    I'll bet you can configure Subversion to take a diff tool that you specify.
    If you want to do this under Eclipse specifically... then you probably want to check with an Eclipse forum somewhere. Eclipse is not a Sun/Oracle product, so it's not here. Try eclipse.org, probably.

Maybe you are looking for

  • System cache cleaning - when is it safe, and when is not?

    System cache cleaning is one of those so-called "maintenance" tasks that you may read about on the forums on Mac OS X guides that has mixed reviews, and typically is not necessary. In fact, when it is done at the wrong time, data corruption can lead

  • Why Doesn't Flash 9 Work in Safari?

    I am a Flash developer and I would like to know when (or if) Safari will ever be capable of playing Flash 9 content. I know there is a way for me to 'hack' Safari with a bug-fix but this is unhelpful because I'm not concerned about my Safari browser

  • How to process decimal field in extract

    Hi All I need to use a extract in TableMaintenace event. I understood using loop and indexing, we can access teh fileds. But when i checked in the Debugging mode, Decimal values in hte table are displayed as ####. How to get these decimal fields. Cou

  • Two persons on one Position

    Hi I am sorry I am reposting this question but my previous question was locked and could not reply on the same. Want to thank users for their replies. The system at present allows you to hire 2 persons on one position I want to disable that feature s

  • Obiee 10g chart label size

    Does anyone know how to change the size of the chart labels?? I'm trying to show some labels that are automatically trimmed (the label gets like this in the end ...), in the chart properties I can't find where I change this, probably this is a defaul