Translate

165084 - Why does my job not start?

Symptom
You want to find out why a specific job will not start.


Other Terms
SAPMSSY2, SM37, SM37C, resources, background processes, jobs, delay


Reason and Prerequisites
Since the cause of the problem may vary according to the status of the job, you must first determine the job status. Then refer to the relevant section below.
    1. Job status 'Scheduled'
    2. Job status 'Released'
    3. Job has the status 'Ready'


Solution
    1. Job status 'Scheduled'
              A job that has the status 'Scheduled' can never start because it lacks a start condition. The job has either been descheduled (in this case, the original start condition is still visible), or it never had a start condition. In the latter case, an error may have occurred when the job was scheduled. Check the system log (transaction SM21) for error messages at the time the job was created.
    2. Job status 'Released'
              You must first check whether transaction SM37 indicates a delay for the job. If this is the case, the start condition of the job has taken effect. If a released job is delayed, it may not start for one of the following reasons:
    a) The job waits for the time scheduler to be executed.
                       This is a 'normal' delay. The time scheduler runs in an interval that is determined by the profile parameter rdisp/btctime.
    b) There are insufficient free background processes.
                       To start a job, the system requires a free background work process. You can choose the 'Active' tab in transaction SM37C to check which jobs were active when your job should have started.
Note 923228 greatly improves the throughput of SAP background processing because, when each job ends, it informs the system that its work process is free.
    c) There are insufficient dialog processes for the scheduler.
                       Time-controlled or event-controlled schedulers require a free dialog process. If an instance is occupied by several RFC calls, for example, the scheduler cannot start. You can use transaction SM61 to check when the time-controlled or event-controlled scheduler last ran.
    d) Operation modes are defined incorrectly.
                       If an operation mode is defined in a transaction, which, for example, defines that only jobs with class A may run on an instance, jobs with class B or C will not run on this instance.
    e) The target server is no longer active, or background processes are no longer available.
                       A job will never start if its target server is no longer active, or if there are no background processes available on the target server.
    f) The target server group points to an invalid instance.
                       A job that is assigned to a target server group cannot start if this group contains only invalid instances. This applies to default server groups (see Note 786412). For invalid entries in the server groups, the system issues warnings in the system log (see Note 1143377).
    g) The scheduler is deactivated.
                       The time- or event-controlled scheduler has been deactivated in transaction SM61. In this case, the system writes entries into the system log every minute.
    h) Entries are missing from TBTCS or BTCEVJOB.
                       Each released job must have an entry in table TBTCS (time-controlled jobs) or BTCEVTJOB (event-controlled jobs). Otherwise, a released job will not start. You can display inconsistencies between the background processing tables by calling transaction SM65 and choosing the menu options 'Goto -> Additional Tests'. If inconsistencies occur frequently, report the problem to SAP Support.
    i) The start dates in the table TBTCO and the table TBTCS are different.
                       For a customer, it has been noticed that the start date in the table TBTCO was earlier than the start date in the table TBTCS.  Transaction SM37 shows a delay for the affected jobs, however the job was executed correctly for the start date of the table TBTCS.  This problem was caused by direct table accesses in customer programs.
    3. Job has the status 'Ready'
              A job should never have the status 'ready' for longer than five seconds. If this status remains for a longer period of time, a problem occurred during the sending of the start message, or the receiving batch work process does not have a connection to the database. Check the system log (transaction SM21) for error messages. If the problem occurs again after you import a new kernel, report the problem to SAP Support. If the problem only occurs for jobs that are started by sapevt, install a new sapevt as well as a new kernel.
    4. Job has the status 'active'
              This job is currently running, so there is no problem.
    5. Job has the status 'complete'
              This job has already ended, so there is no problem.
    6. Job has the status 'terminated'
              This job terminated during runtime. The job log records the cause of the termination.



Header Data
Released On 21.04.2011 15:05:07
Release Status Released for Customer
Component BC-CCM-BTC Background Processing
Priority Recommendations / Additional Info
Category Help for error analysis


Validity
This document is not restricted to a software component or software component version

References
This document refers to:
SAP Notes
1169524   Program for periodic status query of jobs
930567   Overview: Jobs remain in status "ready" for a long time
1035000   Dynamic time scheduler appears not to work

1 comment:

Stepherd said...

It is much better idea to keep or hire with the staffing company for an organisation or company those who feel difficulty for hiring the best and appropriate employee for their positions. Thank you and please keep update like this.

Hr Consultancy in Chennai

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall