Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
jochen_steinmetz
Explorer

What is job management all about? Isn't it more than just classical batch scheduling?

The following overview guides you through the complete process starting with a business user requesting a job through SAP Solution Manager,  the service desk employee documenting the job and performing the basic scheduling. Afterwards watch the job administrator do his/her work in SAP Central Process Scheduling by Redwood (SAP CPS), and see how easy it is to schedule batch scripts on the operating system or manage even complex job chains. The linked in demos have a duration of 2-4 minutes and no audio.


Step 1: Creating a job request through SAP Solution Manager
The first step is the job request that can be started directly from the desktop of any end user. The job request form is seamlessly integrated in the service desk. The scenario also demonstrates the separation of roles according to tasks. So an end user issues a job request, and a service desk employee processes this request by creating job documentation and running the job from SAP Solution Manager.
The business user raises a job request through a web form.
Demo 

 

Step 2: Creating job documentation and scheduling a job using SAP CPS
The service desk employee creates job documentation for the job request , executes the job from within SAP Solution Manager using an external job scheduler (here SAP CPS) and views the job execution information.This essentially showcases the tight and seamless integration between the SAP CPS and SAP Solution Manager.
Demo

 

Step 3: Connecting to SAP CPS and creating an application and filter

In SAP CPS the job administrator creates a job definition for the job request, executes the job and views the job execution information In this scenario you will get an overview about the basic administration functions inside SAP CPS.

  • Connecting ot and launching SAP CPS
  • Create an application, which provides individual workspaces or categorization
    Demo
  • Create a filter (to enable personalization and easy search) for easier monitoring and job documentation.
    Demo

Step 4: Importing SAP jobs from SAP system into SAP CPS
Existing jobs or job definitions in your target system can be easily moved into the SAP CPS system by importing them . This features allows reusability of existing jobs and their execution using a more powerful UI such as the SAP CPS
See how easy it is to import jobs from an ABAP based SAP system out of transactions SM36/SM37. The demo first shows that a job is executed which imports the job definition from an SAP system and generates an SAP CPS job out of it. Afterwards the newly generated SAP CPS job is executed to run every 5 minutes using the submit frame function.
Demo

Step 5: Remotely scheduling jobs on operating system using SAP CPS

One the most powerful features of SAP CPS is to not just run SAP jobs but also OS levels jobs such as archiving, data backup etc. Using SAP CPS, OS level jobs can be remotely executed on different physical systems.
With the help of agents running on a server, scripts can be executed on that server. The demo starts with the definition of a job. The job contains the execution of the "dir" command on a windows server (CMD) and has the target directory as input variable. As we select the local queue SAP CPS automatically knows that this is assigned to a platform agent and therefor offers the possibility to enter scripts. The result of the executed job is a list of files available in directory C:     emp.
Demo

Step 6: Create and schedule a job chain 
A job chain is a sequentially listed arrangement of jobs, similar to a tree, where any type of jobs ( SAP or OS jobs) can be placed for execution, one after the other or linked in a complex network with dependencies. Using SAP CPS you can build complex job chains and maintain an excellent overview through the graphical editor. The demo shows how the creation of a parent element of a job chain.
Demo

Once the job chain is formally defined you can add the elements. For simplicity we show only how the first job is added to the job chain.
Demo

Once the complete job chain is defined (not all steps were shown in the previous demo) the job chain can be executes like any other job.
Demo

If you have questions regarding the demo or the product comment this blog or write to sapcps@sap.com

1 Comment