Show TOC

Procedure documentationImporting SAP CCMS Jobs Locate this document in the navigation structure

 

The SAP Computer Center Management System (CCMS) is part of an SAP solution that provides common functionality such as user management, monitoring and background jobs. You have previously submitted background jobs in SAP via transaction SM36 and want these jobs to be controlled by SAP CPS. You can import CCMS job steps as separate job definitions or just have the job chains use the SAP_AbapRun job definition; the latter keeps the number of job definitions in SAP CPS low and allows you have a better overview. The downside is that you cannot easily schedule a step on its own without filling in the parameters yourself or submitting the job chain with steps disabled.

When multiple conflicting jobs match your search criteria, the latest job matching the search criteria will be imported.

Note Note

You may be restricted to connecting to a single SAP client/instance combination from within SAP CPS at any given time; this depends on the value of the ProcessServerService.SAP.limit key in your license and your privileges. If this is the case, please make sure you are in the correct isolation group, corresponding to the SAP client/instance combination where you submitted the jobs initially.

End of the note.

Procedure

To import your CCMS jobs from an SAP System:

  1. Choose   Definitions → Job Definitions   and locate the job definition SAP_ImportCCMSjobs.

  2. From the context menu, choose Submit.

  3. Fill in the corresponding information in both tabs for each parameter (for reference see table below).

  4. Choose scheduling on the left-hand side and choose the queue belonging to the SAP System.

  5. Choose submit.

Name

Description

Default Expression

SAP_SYSTEMS

SAP System

In

CLIENT

SAP Client

In Out

JOBNAME

SAP Job Name

In

JOBCOUNT

SAP Job Count

In

SAP_USER_NAME

SAP User Name

In

CLIENT_SPECIFIC

Generate Job Definitions for This Client Only?

In

JOBDEF_NAME

Name of the Generated Job Definition

In

OVERWRITE

Overwrite Existing Job Definitions?

In

OVERWRITE_LANGUAGE

Force Step Language

In

OVERWRITE_USER

Force Step User

In

APPLICATION

Application

In

CREATE_JOBDEFS_FOR_STEPS

Create a Job Definition for Each Step?

In

EXTENDED_PRINT_PARAMETERS

Generate Extra Print Parameters?

In

ADD_STEP_NUMBERS

Add Step Numbers to SAP Job Names?

In

SHOWLOG

Retrieve Job Log?

In

SHOWSPOOL

Retrieve Spool Lists?

In

DELETE_JOB

Delete Job When Finished?

In

Example

You want to import SAP job number 1112; it was submitted by jdoe and executed the ABAP RSUSR100 in the SAP System sapprd01

  1. Choose   Definitions → Job Definitions   and locate the job definition SAP_ImportCCMSjobs.

  2. From the context menu, choose Submit.

  3. Fill in the information below for the Parameters tab.

  4. Fill in the information below for the Generation Settings tab.

  5. Choose Submit and navigate to   Monitoring → Jobs  .

  6. Choose Refresh to see the newly submitted job.

Parameters tab

  • JOBNAME - *RSUSR100*

  • JOBCOUNT - 1112

  • SAP_USER_NAME - jdoe

  • CLIENT - 100

  • CLIENT_SPECIFIC - Y

Generation Settings tab

  • JOBDEF_NAME - JDOE_RSUSR100

  • OVERWRITE - Y

  • SHOWLOG - Y

  • SHOWSPOOL - Y

  • DELETE_JOB - N