To use the Application Job Templates app, create a business role and assign the SAP_CORE_BC_APJ_TPL catalog to it. This allows access to templates with Write, Read, or No Access permissions. While your own and SAP-provided templates are accessible at all times, other users' private templates do not appear in the Application Jobs app, but can be viewed in the Application Job Templates app.
To change access to the Application Jobs app, create a business role with the SAP_CORE_BC_APJ_JCE catalog. This allows you to modify restriction types and provide necessary permissions, for example, for actions on other users' jobs.
You can also create a display-only role using this restriction type. Define your business role with the Application Job Catalog Entry and Application Job Part fields. If the job owner and the user require different users, the owner must have the Create application jobs for other users permission.
There is a specific restriction type known as Create Application Jobs for Other Users This restriction type is used to grant a business user the ability to schedule an application job on behalf of another user. In this scenario:
- One user (the initiating user) is responsible for setting up and starting the job.
- While the job is running, the authorizations of the other user (the target user) apply.
- The initiating user must have the necessary permissions to start the job. This approach removes the need to grant the start authorization to the target user.
Additionally, an administrative user can utilize this restriction type to specify which jobs a business user is permitted to schedule on behalf of other users.
In simpler terms, this restriction type allows a user to schedule and start a job for another user, while the job runs with the second user's permissions. The initiating user needs appropriate rights to start the job, and administrators can control which jobs can be scheduled in this manner.
Actions on other users' jobs could involve deleting a future job, aborting a running job, restarting a job, or viewing a job log, result list, or details. These authorizations are provided through restriction types in suitable business roles.
This type of restriction allows to populate the Application Job Catalog Entry and Application Job Part fields when the Restricted mode is activated. The Application Job Catalog Entry field holds the title of a specific application job catalog entry. The Application Job Part field, on the other hand, contains a segment of an application job. This could be the entire job (JOB), the result list of an application job (SPOOL), or the log of an application job (APPLOG).
This restriction type allows an administrative user to assign permissions to users, enabling them to perform specific actions on other users' application jobs that are derived from a particular job catalog entry.
- For this he mentions four examples:
To permit a user to view jobs of other users, including job details, select Restricted in the Read section. Then, choose the appropriate Application Job Catalog Entry and then JOB as the value for the Application Job Part.
To allow a user to view the result lists of other users' jobs, select Restricted in the Read section. Then, choose the appropriate Application Job Catalog Entry and both JOB and SPOOL as the Application Job Part.
To authorize a user to delete or cancel other users' jobs, in the Write section, select Restricted. Then, choose the appropriate Application Job Catalog Entry and JOB as the Application Job Part.
To provide a user with full display authorization for all application jobs without any change authorization, in the Write section, select No access. In the Read section, select Unrestricted.
Note that the application jobs a user can view depend on the configuration and permissions set within the job scheduling tile. The SAP_CORE_BC_APJ_JCE business catalog contains the general Application Jobs tile, showing all catalogs. However, many business applications have their own restricted job scheduling tile, which is limited to one or a few job catalog entries. If a user operates with such a tile, its restrictions apply in all cases - in addition to any restrictions from examples provided.
Note
SAP recommended Note for further details on the authorization concept: https://me.sap.com/notes/3028505 (3028505 - Application Jobs - New Authorization Concept).