Creating and Monitoring Application Jobs

Objectives

After completing this lesson, you will be able to:

  • Create an Application Job.
  • Monitor Application Jobs with the help of SAP Cloud ALM.

Create an Administrative Application Job Based on a Predefined Job Template

Adam, now well-versed in the fundamentals of Application Jobs, including job types, statuses, templates, and layer codes, is aiming to schedule an administration job. As this is his first time doing so, he receives assistance from Carl.

They both launch the Application Jobs app, where Carl mentors Adam on the steps to be executed. In this practice simulation, you learn how to create an administrative Application Job using a global pre-installed job template.

Create an Administrative Application Job

Note

Carl recommends that Adam looks at SAP Note 3363357 - The general Application Jobs App.

Create and Run a Business Job Based on a Custom Job Template and Check the Job Log

Adam encounters Kelly and Carl in Kelly's office. He offers to use his new skills to support her scheduling a business-related application job for her department. They use the job template that Carl had previously created for this purpose.

In this practice simulation you learn how to create a business-related Application Job using a shared custom job template.

Create Business Related Application Job

Local Monitoring Using the Job Log

In the public edition of SAP S/4HANA Cloud, a job log serves as a chronicle of activities for a running job. It becomes a valuable resource for diagnostic purposes when a job fails or exhibits unexpected behavior.

Restarting Job Chains

If an application job or a sequence of application jobs, which may comprise one or more steps, is marked as Failed, Canceled, or User Error, it can be re-initiated. To accomplish this, identify the job and select one of the following alternatives from the drop-down menu:

From Error Step

This option will bypass all steps preceding the error step and execute all subsequent steps (including the error step).

After Error Step

This option will bypass all steps up to and including the error step and execute all subsequent steps. Please note that this option is not applicable for jobs consisting of a single step.

The newly initiated job will be executed immediately under the original job user.

SAP Cloud ALM - Job & Automation Monitoring

SAP Cloud ALM - Job & Automation Monitoring is a central solution designed to monitor all SAP products, enhancing local job scheduling. It provides transparency about the status of various automation processes, including execution status, application status, start delay, and run-time. The system collects individual job execution data and related exceptions, rating the execution based on historical data. This rating is then propagated to the job definition level. Users can drill down from the job to the list of executions and navigate directly to the corresponding job instance in the executing service for detailed analysis.

Carl and Adam also discuss the fundamental aspects of Job and Automation Monitoring in SAP Cloud ALM. Adam often had to deal with this in his on-premise systems and would like to know what is available in the public edition of SAP S/4HANA Cloud.

The Overview serves as a comprehensive report on the status of job execution for the services we're focusing on. It details the latest job execution, highlighting Execution Status, Additionally, it shows the count of alert situations - jobs that have generated an alert but have not yet received confirmation.

Selecting a service card directs you to the Monitoring view, displaying jobs and automations sorted by Execution Status. Direct access to Monitoring shows jobs for all services, rated on Execution Status, Application Status, Start Delay, and Run Time. Each status is color-coded: green (successful), red (errors), and yellow (warnings). Clicking a name shows executions for the selected job or automation. The information icon provides more details and a direct link to the job via the Run ID.

The Analysis view is designed to help you spot jobs that are characterized by the longest response times and the maximum number of exceptions. A trend icon is available to signify whether the failure rate or response time has risen or fallen within the selected time frame, with the midpoint of the time frame serving as a comparison point.

For each job, it provides a comprehensive overview of key metrics such as total and average run time, number of executions, and number of failed executions (based on Execution Status or Application Status), as well as the derived failure rate. By clicking on the arrow at the end of each line, you can explore various trend charts for these metrics in more detail.

Exceptions view

The Exceptions view monitors service and system exceptions. Job exception data is collected automatically during execution. Supported jobs include SAP Intelligent RPA and ABAP, which send failure notifications and exceptions affecting their ratings.

Alerting view

The Alerting view enables you to monitor and customize alerts for job executions. It evaluates job data every minute, providing almost immediate alerts for any anomalies. Each alert is specific to a job and includes all failed executions. The system triggers a downstream action at every new occurrence but can be configured to trigger at every occurrence.

Log in to track your progress & complete quizzes