Question on Job Scheduling in SAP

Hi Experts,
I want to schedule a job to run every half hour from 7 am to 5 pm on Mondays to Fridays.  That is, the job should not run on Saturday or Sunday, or after 5 pm on the weekends.  Any information on how I can do this will be greatly appreciated!

Deborah,
Solution 1:
Does your company use an external job scheduling software such as Control-M, AutoSys, or Maestro? If so, have them schedule the job for you. They have much more flexibility than what SAP's job scheduling allows.
Solution 2:
This is a laborious process, but can be implemented without doing any additional development. You have to create 22 separate jobs. Each job will run at a specific time on every working day according to your factory calendar. First one will run only at 7 AM, second one at 7:30 AM, and so on.
Solution 3:
Develop a wrapper ABAP program as suggested by others.

Similar Messages

  • Questions about job scheduling

    i am a newbie in oracle, and i have several quesions about the scheduler.
    1 If I just have one job class, and there are many concurrent jobs inside. Then, how does oracle exactly schedule those jobs with the same priority?(Will they run for several time slices each time or be executed until completed one by one?)
    2 How does oracle exactly schedule those jobs with different priorities?
    3 If I have two job classes, how will oracle schedule those jobs in these two classes?(each of them is assigned some time slices based on the cpu allocation?)
    I have checked many turorials from oracle, but I have not got any detailed explanations or examples to show how oracle will exactly do it. I am currently doing some QoS management in an application based on oracle, so I am in great need of those information and details inside the scheduler.
    Thanks a lot.

    Hi,
    We have a situation here. We have a Info Warehouse, against which Batch Jobs are scheduled (around 200) using a 3rd party scheduling tool. The window for these jobs is 9pm-8am EST. All the batch jobs were completed withing the SLA window of 11 hours everyday until recently. The data has been growing in the database and the batch jobs have started taking longer time to complete and hence missing out on the SLA.
    We are thinking of using Database Resource Manager inorder to put the Batch Jobs in a Resource Group and bind it to Highest priotiy during the SLA window. Points to Ponder over are :
    Let's assume that we have put the Bacth Jobs in Hight Priority resource group with 80% CPU allocation and it comes into effect at 9pm everyday (that's when the jobs start executing). And, we have put all other users in a different resource group with Low priority (say 10%).
    The situation here is : - What if a user logs into the system at, say 8:45pm. and initiates execution of a huge reporting query against dataset. Assuming that the quesry takes about 60 minutes (during idle database condition), initially it would acquire all the CPU which it needs (as there is no load on the db at this time), and the jobs are scheduled to start at 9pm.
    Q: Will the priority for jobs set per the resource directives to the resource group for jobs take preceedence over the CPU already held by the low priority User?
    -- If Yes, what happens to the User session?
    -- If No, what are the possible scenarios?
    Q: Also, is it feasible to issue a KILL ALL SESSIONS just before the scheduled batch jobs, so that the jobs have a clear path for execution (taking into account that we have already prioritized the Jobs into High Priority Resouce group). So, that we are sure that there is no user connection right before the batch jobs start. and once they start, the resource allocation is going to be done based on the Resource Group priority and CPU assigned to respective group.?
    Q: Or, if it is more feasibile/beneficial to have all other user sessions switch to lower priority after a defined interval, so that it gives the CPU for the jobs.
    Q: Is there a difference between the Database Resource Manager in 9i/10g/11i.
    Any detailed explanation would be appreciated.
    Thanks
    Gaurav

  • Integration wth outide Job Scheduler.

    We are looking at integrating the Vinizant Global ECS Job scheduler with SAP.   We need to know how to start and monitor sap jobs and chains from unix level. Any suggestions would be appreciated.

    How do you on unix level without actually getting into the SAP GUI start and monitor SAP jobs?
    There is no standard SAP tool to schedule jobs from the command line. A control program called sapxpg is used to execute external commands(which is scheduled internally). You can monitor the execution of external commands by setting up a trace for sapxpg and the data is written to the files dev_xpg(output of external command) and dev_cp(control program).
    Nelis

  • SAP tables that underlie job scheduler

    Has anyone ever queried the tables that support the job scheduling system in SAP?  I need to list each scheduled job name and the email recipients, where applicable, that receive the given job's output.  Our company was recently sold, and our email address domain is changing, so numerous jobs need checked and changed.  Having this ability would accelerate this process greatly.
    Thanks,
    Eric

    Hi Eric,
    This may be a question for one of the ABAP forums.
    The table is TBTCO. And the field is RECOBJKEY. You may need to do some debugging to figure out how to convert it back to an email address.
    Cheers,
    Ramki Maley.

  • JSM : Job Management in SAP Solution Manager - Questions ?

    01. I want to use the job request process in SAP Solution Manager. Which
    technical prerequisites need to be fulfilled to use this functionality ?
    02. I am  using a service desk other than the SAP Solution Manager service
    desk. How can the job request information be forwarded to this service desk?
    03. I  want to create a job request via a link in your companyu2019s intranet. What
    authorizations does my user need to create the job request?.
    04. What is the consequence if i assign the job in your job documentation to a
    logical component instead of a business process?
    05 How can i configure the monitoring for a job scheduled with job
    documentation?
    Rgds

    Hello,
    you should have a look into SAP note 1054005 - "FAQ: Job Scheduling Management with SAP Solution Manager" for technical requirements. If the job doc is not assigned to a business process then BPMon cannot be used for the respective job.
    All other questions should have been answered at [http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement|http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement]
    Best Regards
    Volker

  • Best SAP Security Practices Print,file,job schedule, archiving

    Hello All, i would like to know in your experience which will be the best practices for Security  for this list below:
    - Printer security (especially check printing)
    - File path security for export/import
    - Best Practice for Job Schedule and Spool file
    - Archiving process (I can't think of any specific to security, other than Security Audit Logs)
    Are there any special transactions/system settings/parameters that must be on place in order to hard SAP Systems?
    Do you have any documentation related?
    I mean for example Job, spool i think user must just only run heir own jobs,and se their own works for printing, is there a paremeter to athenticate Prints/user, etc.
    Please let me know your comments about those related issues.
    I appreciate your help.
    Thanks a lot.
    Ahmed

    Hi,
    PFCG_TIME_DEPENDENCY
    This is best to run once a day mostly after 12.01 am as it removes the roles which are invalid for current date. As role assignment is on date basis there is no advantage of running it hourly.
    /VIRSA/ZVFATBAK
    This is for GRC 5.3, and this job is to collect FFID logs from backend to GRC repository, so if you have frequent FFID usage you can schedule it hourly or for every 30 min too, if you have enough bandwidth in your server to get the latest log report. or else you can have it scheduled for twice a day too, so it is purely based on your need.
    Hope this helps.
    BR,
    Mangesh

  • Configuration Guide Job Scheduling Management with SAP Solution Manager

    Dear Gurus
    Could you please help me with the configuration guide of the Job Scheduling Management with SAP Solution Manager
    Best Regards

    Hello Luis,
    the configuration activities can be accessed via the "Implementatiopn Guide" by calling transaction SPRO in your SAP Solution Manager system.
    In SPRO navigate to -> SAP Solution Manager -> Scenario-Specific Settings -> Job Scheduling Management -> Standard Configuration and execute the following two activities.
    1. Activate Solution Manager Services
    2. Set Up Work Center for Job Scheduling Management
    Make sure that your user has role SAP_SM_SCHEDULER_EXE (or_ADMIN) assigned.
    Afterwards you should be able to access the Job Management Work Center and to create Job Documentation or to import Jobs from a Managed System into new Job Documentations.
    The following SAP notes might be usefuly as well:
    1054005  - FAQ on Job Scheduling Management
    1117355  - Work Center roles
    Kind regards,
    Martin
    http://service.sap.com/jsm

  • Job Scheduling tool with SAP SolMan

    Hi Experts,
    Please advise on among Autosys, BMC or Redwood , which one is the best to work with Sol Man in job scheduling purpose.
    Thanks

    Hi Preema,
    I would strongly recommend Redwood since it integrates with all SAp components including Solman.
    - Bhushan

  • Job Scheduling Management vs SAP CPS

    Hi Guys
    I am trying to find out what are the differences between using the Job scheduling management tool in Solution manager and SAP CPS integrated into Solution manager. What are the benifits of using CPS as opposed to using the "standared" job scheduling tool.
    santosh

    Hello Santosh,
    the link that you already got is good. Perhaps you also want to check out [http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement|http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement] and [SAP is first vendor to provide a comprehensive Job Management Suite |SAP is first vendor to provide a comprehensive Job Management Suite] for further information.
    In short SAP CPS is an advanced scheduling tool like which competes against other like UC4, Control-M from BMC etc. But all these tools do not provide any real job documentation or job request functionality in order to get the process governance right. That's where the SolMan gets into the game.
    Best Regards
    Volker

  • Webview Job Scheduler Questions

    If you schedule a report to run in Webview - does the user have to be logged in to Webview for the report to run?
    Also - where do the reports actaully go?
    We are taking on a new business that wants some webview reports shceudled to run and dump to a location so they can grab them and import them into their own reporting database/dashboards.
    I know we have another customer that has something similar setup - but it was done by a 3rd party contractor before I was on the team.
    Thanks in advance.

    Hi Ronnie,
    Couple of things to note:
    Webview Job Scheduler uses Windows Task Scheduler to schedule reports
    As such, PC needs to remain on and the user who scheduled the job must be logged into WebView at the time the job is scheduled to be run (also needs to remain logged in if you are exporting to file and the drive you are exporting to is a mapped drive)
    User who is scheduling the reports needs to be an administrator of the machine they are scheduling from in order to create the Scheduled Tasks
    When you output locally to a drive letter. It automatically goes into a Drive:\Job_Scheduler\ directory
    Hope that helps. The requirement for local admin rights is a real pain as usually in most environments it's end business users who are trying to do this and IT departments don't like giving them local admin rights to their PCs...
    Cheers,
    Nathan

  • Job schedule question

    Hi:
    If I make a change to a job, will the scheduled job need to be re-activate for the new change to take effect? Or will BOBJ recognize the change without having to re-activate the scheduled job?
    Thanks in advance.

    You can change all the objects (like dataflows, workflows, ...) in the job, it will not affect the job schedule (so no need to re-activate).
    The job schedule uses the GUID to identify the job in the repo, this will not change when you modify objects in the job. So the next time the schedulesd job is executed it will get the new job definition automatically.
    - Ben.

  • Error in Backup job scheduling in DB13

    Hi All
    Backup job scheduled in DB13 kicks error ,I am using Oracle as database and ERP6.0
    database and application are on diffrent servers.Before it was working fine,I didn't changed any password
    I can run backupjob sucessfully directly from BRtools on database server.Please provide any hint
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000060, user )
    No application server found on database host - rsh/gateway will be used
    Execute logical command BRBACKUP On host DLcSapOraG08
    Parameters:-u / -jid INLOG20090120204230 -c force -t online -m incr -p initerd.sap -w use_dbv -a -c force -p in
    iterd.sap -cds -w use_rmv
    BR0051I BRBACKUP 7.00 (31)
    BR0128I Option 'use_dbv' ignored for 'incr'
    BR0055I Start of database backup: bdztcorv.ind 2009-01-20 20.42.31
    BR0484I BRBACKUP log file: D:\oracle\ERD\sapbackup\bdztcorv.ind
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0056I End of database backup: bdztcorv.ind 2009-01-20 20.42.32
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0291I BRARCHIVE will be started with options '-U -jid INLOG20090120204230 -d disk -c force -p initerd.sap -cds -w use_rmv'
    BR0002I BRARCHIVE 7.00 (31)
    BR0181E Option '-cds' not supported for 'disk'
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance ERD failed
    BR0007I End of offline redo log processing: adztcorw.log 2009-01-20 20.42.32
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0005I BRARCHIVE terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.33
    BR0292I Execution of BRARCHIVE finished with return code 3
    External program terminated with exit code 3
    BRBACKUP returned error status E
    Job finished

    Hi,
    not sure if the recommendations given will address this issue.
    You are getting this error:
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    the log file indicates:
    > No application server found on database host - rsh/gateway will be used
    This indicated that the user that is connecting from the AS to the DB server is not properly configured to perform the DB tasks on it.
    So, first question would be to know if you have configured a gateway on the DB server and how, or if you are using remote shell.
    Second question, you can do backups on the DB server.
    > I can run backupjob sucessfully directly from BRtools on database server
    How did you run exactly the backup job (what is the exact command line, what is the exact OS user that executed it)?
    What is the OS of the DB server?
    I have reread your post, your OS is windows therefore you fall in the "typical" error in Windows.
    You have executed your backup as <sid>ADM and it works. Unfortunatelly, in windows, SAP is exectuted by SAPSERVICE<sid>, and this is the user who should be connecting to your DB server, and this is the user who cannot execute the backup.
    The fact that you can run the backup with <sid>ADM in Windows does not means that you have SAPService<sid> properly configured.
    For the error (see before) I think your ops$ user for this user is not properly configured in the DB server. take a look at the note mentioned by KT and pay attention to the SAPSERVICE<sid> configuration
    Edited by: Fidel Vales on Jan 24, 2009 12:45 AM

  • Parallel processing in background using Job scheduling...

    (Note: Please understand my question completely before redirecting me to parallel processing links in sdn. I hve gone through most of them.)
    Hi ABAP Gurus,
    I have read a bit till now about parallel processing. But I have a doubt.
    I am working on data transfer of around 5 million accounting records from lagacy to R/3 using Batch input recording.
    Now if these all records reside in one flat file and if I then process that flat file in my batch input program, I guess it will take days to do it. So my boss suggested
    to use parallel processing in SAP.
    Now, from the SDN threads, it seems that we have to create a Remote enabled function module for it and stuf....
    But I have a different idea. I thought to dividE these 5 million records in 10 flat files instead of just one and then to run the Custom BDC program with 10 instances which will process 10 flat files in background using Job scheduling.
    Can this be also called parallel processing ?
    Please let me know if this sounds wise to you guys...
    Regards,
    Tushar.

    Thanks for your reply...
    So what do you suggest how can I use Parallel procesisng for transferring 5 million records which is present in one flat file using custom BDC.?
    I am posting my custom BDC code for million record transfer as follows (This code is for creation of material master using BDC.)
    report ZMMI_MATERIAL_MASTER_TEST
          no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case default
                                 '/tmp/testmatfile.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element: MATNR
           MATNR_001(018),
    data element: MBRSH
           MBRSH_002(001),
    data element: MTART
           MTART_003(004),
    data element: XFELD
           KZSEL_01_004(001),
    data element: MAKTX
           MAKTX_005(040),
    data element: MEINS
           MEINS_006(003),
    data element: MATKL
           MATKL_007(009),
    data element: BISMT
           BISMT_008(018),
    data element: EXTWG
           EXTWG_009(018),
    data element: SPART
           SPART_010(002),
    data element: PRODH_D
           PRDHA_011(018),
    data element: MTPOS_MARA
           MTPOS_MARA_012(004),
         end of record.
    data: lw_record(200).
    End generated data section ***
    data: begin of t_data occurs 0,
          matnr(18),
          mbrsh(1),
          mtart(4),
          maktx(40),
          meins(3),
          matkl(9),
          bismt(18),
          extwg(18),
          spart(2),
          prdha(18),
          MTPOS_MARA(4),
        end of t_data.
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    *read dataset dataset into record.
    read dataset dataset into lw_record.
    if sy-subrc eq 0.
    clear t_data.
    split lw_record
       at ','
    into t_data-matnr
          t_data-mbrsh
          t_data-mtart
          t_data-maktx
          t_data-meins
          t_data-matkl
          t_data-bismt
          t_data-extwg
          t_data-spart
          t_data-prdha
          t_data-MTPOS_MARA.
    append t_data.
    else.
    exit.
    endif.
    enddo.
    loop at t_data.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=AUSW'.
    perform bdc_field       using 'RMMG1-MATNR'
                                 t_data-MATNR.
    perform bdc_field       using 'RMMG1-MBRSH'
                                 t_data-MBRSH.
    perform bdc_field       using 'RMMG1-MTART'
                                 t_data-MTART.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                 'X'.
    perform bdc_dynpro      using 'SAPLMGMM' '4004'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    perform bdc_field       using 'MAKT-MAKTX'
                                 t_data-MAKTX.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MARA-PRDHA'.
    perform bdc_field       using 'MARA-MEINS'
                                 t_data-MEINS.
    perform bdc_field       using 'MARA-MATKL'
                                 t_data-MATKL.
    perform bdc_field       using 'MARA-BISMT'
                                 t_data-BISMT.
    perform bdc_field       using 'MARA-EXTWG'
                                 t_data-EXTWG.
    perform bdc_field       using 'MARA-SPART'
                                 t_data-SPART.
    perform bdc_field       using 'MARA-PRDHA'
                                 t_data-PRDHA.
    perform bdc_field       using 'MARA-MTPOS_MARA'
                                 t_data-MTPOS_MARA.
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=YES'.
    perform bdc_transaction using 'MM01'.
    endloop.
    *enddo.
    perform close_group.
    perform close_dataset using dataset.

  • RAR Job Scheduler Status

    hi,
    In RAR I have a message in the Job Scheduler which says :
    Job Scheduler Status: unknown error
    therefore jobs are not working...
    thanks for help me
    actual config :
    GRC AC 5.3 SP10
    Edited by: Aurélien GARDE on Jan 21, 2010 3:18 PM

    Hi Aurélien GARDE ,
       I am not very clear about your question, however I am assuming that you are getting the error when running the Background Job , If this is the case  ,please check following
    1)     http://:/sap/CCBgStatus.jsp - it should come up with status u201Crunningu201D
    2) Check Analysis Engine Daemon Manager
    Type URL http://:/sap/CCADStatus.jsp - it should come up with
    status  u201Crunningu201D By default you should see 3 bg job threads and 5 web services threads per server
    Could you please let us know the findings ,If there is blank screen for step 2, then you need to apply note number 999785 , which will resolve your issue.
    Thanks & Regards
    Umashankar T

  • Regarding automatic job scheduling

    hi experts,
    i have done automatric job scheduling with the help of tc-SM36,so that the my report will run on every morning at 9oclock but in the development server i did it n it is working fine what i want to know that i have to do the same thing in the production server will i have to do it directly on the production server or will it be stored in the request number and then i have to transport it to the production server........
    plz help me....

    Hello Rajat,
    You might want to look into SAP Central Process Scheduling by Redwood. This might solve your problems as SM36/37 is in maintanace mode and will not be developed any further this is a good step to make.
    The link is:
    Scheduling
    The product can be downloaded from the SWDC under Application Group SAP Netweaver, Netweaver 7.0, SAP Central Process Scheduling.
    if you have any questions do not hesitate to give me a call 031306354598
    Regards,

Maybe you are looking for