Scheduling Application Jobs

Creating an Application Job and change the Job Owners and Job Users

Objectives

After completing this lesson, you will be able to:
  • Create an Application Job
  • Change Job Owner and Job User

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. GloManCorp’s IT security policy mandates that business users should be locked if they remain inactive for at least 180 days.

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

As an administrator, you want to create an administrative application job in SAP S/4HANA Cloud Public Edition. For this you use a predefined global application job template.

Task 1: Create an Administrative Application Job

Note

Carl recommends that Adam looks at https://me.sap.com/notes/3363357 (3363357 - The general Application Jobs App).

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

Many business activities have to be run periodically. To avoid starting these actions manually, SAP delivers application job templates for many business purposes. Typically, business users define a periodic start condition and set further parameter values for the application job execution.

There is no point in scheduling application jobs. Most of the offered application job scheduling apps are business-driven and called specialized application jobs apps, and can be accessed via the respective business area. Nevertheless, besides these apps, SAP delivers the general application jobs app as part of the Technical Monitoring. The intention of this app is the usage for administrative purposes.

When creating a business-related application job, different input values have to be provided in the flow of the application job wizard. A job template and a job name have to be selected as mandatory fields. Furthermore, the preferred scheduling options and the recurrence of the job can be defined. The core part of the application job definition covers the adjustment of application-specific parameters. Finally, you are able to let the system check if the entries are consistent. When almost done, the decision has to be made, whether you want to define it as a template or schedule the application job directly.

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

Maintaining Job Users

Adam explores how to modify the owner and user of application jobs that have been established from a job template. This is a crucial skill, especially in dynamic business environments.

For instance, consider a scenario where an employee gets promoted or transferred to a different department. In such cases, their previous responsibilities, including managing certain application jobs, may need to be reassigned to another individual. Similarly, if an employee leaves the organization, their associated business user account may need to be removed, and the jobs they were handling reassigned.

This ensures a smooth transition of responsibilities and maintains the continuity of important tasks within your organization.

The next slide focus how to change job owners or job users, using the app Maintain Job Users:

To change job owners or job users, use the app Maintain Job Users. Select the job you want to update within the Maintain Job Users app. Then, use the Change Job Owner or Change Job User or the Change Job Owner and User to make the necessary updates.

To change job owners or users, search for Maintain Job Users, select the job you want to update within the Maintain Job Users app. Then, use the option to change the owner, business user, or both, or remove the job. The change history provides a record of all previous modifications. Multiple jobs can be changed or removed at the same time.

Note

Carl points out to Adam that the SAP_BR_ADMINISTRATOR business role is a predefined role provided by SAP. It is designed solely for the initial configuration of a system. Adam is recommended to create his own business roles for production use, using the provided business role template as a reference.

For more information, see the How To pages in the official documentation.

Participate in the following practice simulation with Carl and Adam. This will help you understand how Carl takes over the administrative application job previously scheduled by Adam and sets himself as the new job owner.

Maintain Job Users and Job Owners

As an administrator, you need to modify the owner and user of application jobs in dynamic business environments. For example, when an employee is promoted or transferred, you must reassign their job responsibilities to another individual. Similarly, if an employee leaves the organization, you may need to remove their associated business user account and reassign their jobs to another person.

Task 1: Maintaining Job Users

Subsequently, and to improve his understanding, Adam repeats all the procedures to himself again.

  1. Desired jobs are selected in the Maintain Job Users application.
  2. I have the option to change the owner, business user, or both, or remove the job.
  3. By clicking on a job, I can view its specifics.
  4. I can make changes through the dialog box that displays.
  5. Multiple jobs can be changed or removed at the same time.
  6. The change history provides a record of all previous modifications.

Note

Carl points out to Adam that the SAP_BR_ADMINISTRATOR business role is a predefined role provided by SAP. It is designed solely for the initial configuration of a system. Adam is recommended to create his own business roles for production use, using the provided business role template as a reference.

For more information, see the How To pages in the official documentation.