Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Administrator Guide
Supporting
CONTROL-M/Control Module for SAP version 6.2.01
Copyright 2006 BMC Software, Inc., as an unpublished work. All rights reserved. BMC Software, the BMC Software logos, and all other BMC Software product or service names are registered trademarks or trademarks of BMC Software, Inc. All other trademarks belong to their respective companies. BMC Software considers information included in this documentation to be proprietary and confidential. Your use of this information is subject to the terms and conditions of the applicable End User License Agreement for the product and the proprietary and restricted rights notices included in this documentation.
Customer support
You can obtain technical support by using the Support page on the BMC Software website or by contacting Customer Support by telephone or e-mail. To expedite your inquiry, please see Before Contacting BMC Software.
Support website
You can obtain technical support from BMC Software 24 hours a day, 7 days a week at http://www.bmc.com/support_home. From this website, you can
read overviews about support services and programs that BMC Software offers find the most current information about BMC Software products search a database for problems similar to yours and possible solutions order or download product documentation report a problem or ask a question subscribe to receive e-mail notices when new product versions are released find worldwide BMC Software support center locations and contact information, including e-mail addresses, fax numbers, and telephone numbers
product information product name product version (release number) license number and password (trial or permanent)
operating system and environment information machine type operating system type, version, and service pack or other maintenance level such as PUT or PTF system hardware configuration serial numbers related software (database, application, and communication) including type, version, and service pack or maintenance level
sequence of events leading to the problem commands and options that you used messages received (and the time and date that you received them) product error messages messages from the operating system, such as file system full messages from related software
Contents
Chapter 1 Introduction 11 12 13 14 15 15 15 16 16 17 17 18 19 25 26 29 31 31 33 34 36 37 37 37 40 41 42 43 45 45 49 49 51 60 73 75
5
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . More about CONTROL-M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . An overview of SAP job scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using CONTROL-M to schedule SAP jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Running jobs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and controlling SAP jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CONTROL-M and SAP job statuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining and scheduling new SAP jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XBP 2.0 functionality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CONTROL-M solution for Business Information Warehouse . . . . . . . . . . . . . . . . CONTROL-M solution for Data Archiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 2 Installation
Step 1 - Installation and upgrade requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SAP authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 2 - Installing or upgrading CONTROL-M/CM for SAP . . . . . . . . . . . . . . . . . . . . Installing CONTROL-M/CM for SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downloading the RFC library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upgrading CONTROL-M/CM for SAP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 3 - Importing the SAP panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 4 - CONTROL-M function modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Importing CONTROL-M function modules to SAP Unicode systems . . . . . . . . . CONTROL-M/CM for SAP and the SAP XBP interface . . . . . . . . . . . . . . . . . . . . . CONTROL-M/CM for SAP and SAP Business Information Warehouse . . . . . . . Installing the CONTROL-M FMs in the SAP system . . . . . . . . . . . . . . . . . . . . . . . . Installing the Conversion utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uninstalling CONTROL-M/CM for SAP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 3 Defining and monitoring SAP jobs in CONTROL-M
Creating a job skeleton for SAP jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SAP R/3 jobs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a SAP job in CONTROL-M/Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SAP panel parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting job steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and managing SAP jobs in CONTROL-M . . . . . . . . . . . . . . . . . . . . . . Data archiving jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Data archiving with XBP 1.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Data archiving with XBP 2.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Creating a Data Archiving session with XBP 1.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Creating a Data Archiving session with XBP 2.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Configuring the environment to work with Data Archiving Sessions in XBP 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 SAP panel parameters for data archiving. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Business Information Warehouse jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Creating a Business Information Warehouse job . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 SAP panel parameters for SAP-BW jobs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Monitoring and managing Business Information Warehouse jobs . . . . . . . . . . . . 96 Chapter 4 Administrator tasks 99
Handling accounts for CONTROL-M/CM for SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Adding or modifying a CONTROL-M/CM for SAP account. . . . . . . . . . . . . . . . 100 Configuring general parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Configuring and working with the Xtractor process . . . . . . . . . . . . . . . . . . . . . . . . . . 107 General configuration of the Xtractor process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Job interception and control with the Xtractor process . . . . . . . . . . . . . . . . . . . . . 111 Extracting and monitoring SAP CCMS jobs with the Xtractor . . . . . . . . . . . . . . . 116 Initiating a mass parallel process (detecting spawned jobs) . . . . . . . . . . . . . . . . . 122 Defining a user exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Activating the Xtractor process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Requesting SAP actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Displaying a list of variants for a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Altering parameter values in a variant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Displaying variant details within a program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Raising a SAP event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Deleting a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Defining a new job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Modifying a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Converting account definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Converting CONTROL-M option for R/3 jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Appendix A Extracting and monitoring jobs 141
Defining a rule file with the extraction utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Monitoring SAP jobs with the extraction utility . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Extracting job definitions with the extraction utility . . . . . . . . . . . . . . . . . . . . . . . 147 Appendix B Index Related SAP Notes 149 153
Figures
SAP panel, Job Editing form (Job Definition mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Add ABAP dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Change variant dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 External command dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 External program dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 SAP panel, Job Editing form (Active Job mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 SAP panel for Data Archiving, Job Editing form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 SAP panel for Data Archiving, Job Editing form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 SAP panel for BW - InfoPackage, Job Editing form . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 SAP panel for BW - Process Chain, Job Editing form . . . . . . . . . . . . . . . . . . . . . . . . . . 92 SAP-BW panel - InfoPackage (Active Job mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Configuration management window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Xtractor management - general configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Xtractor management - select SAP account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 SAP Interception Criteria panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Figures
Tables
SAP authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 RFC library details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 XBP BAPIs versus CONTROL-M function modules . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 SAP-BW BAPIs versus CONTROL-M function modules . . . . . . . . . . . . . . . . . . . . . . . 40 Job skeleton field values (recommended) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 SAP panel parameters - Job Definition mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Add ABAP dialog box parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Change Variant subparameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Variant options for selection and range types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 External Command dialog box parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Add External Program dialog box parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Additional SAP panel parameters - Active Job mode . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Data-archiving SAP panel parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 SAP-BW job panel parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Additional SAP-BW panel parameters - Active Job Mode . . . . . . . . . . . . . . . . . . . . . . 97 Account configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Configuration parameters for the ctmr3cfg utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 CTM interception rules parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Parameters for avoiding discarded intercepted jobs . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Extraction rules panel parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Rules Viewer parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 User Exit script parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Parameters for var_mon action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Parameters for var_edit action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Parameters for var_show action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Parameters for raise_event action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Parameters for job_delete action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Parameters for job_define action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Parameters for job_modify action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 ctmr3req interrupt parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Conversion utility parameter description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Problem parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Rule file AutoEdit parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Mandatory parameters for ctmcreate and ctmdefine . . . . . . . . . . . . . . . . . . . . . . . . . 145 Parameters for monitoring a job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Known SAP Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Tables
10
Chapter
Introduction
Batch processing and background job scheduling play a key part when working with the SAP application. Working closely with SAP, CONTROL-M created a batch management solution for SAP users. This solution is CONTROL-M Control Module for SAP (CONTROL-M/CM for SAP), which provides a complete and SAP-certified interface between CONTROL-M and the specific SAP environment. CONTROL-M/CM for SAP also greatly increases batch processing and existing scheduling capabilities in SAP as follows
the ability to integrate and manage large quantities of jobs advanced scheduling and monitoring capabilities between different SAP systems, and between SAP and non-SAP systems advanced high level networking between jobs a user-friendly GUI, in which you can easily view the job flow the ability to control the workload using logical or real resource availability integration between mySAP (non R/3) and R/3 components
define, schedule, and store SAP jobs in the CONTROL-M database submit SAP jobs using the CONTROL-M/Enterprise Manager (CONTROL-M/EM) GUI monitor and control SAP jobs from within CONTROL-M/EM intercept jobs in SAP, then control and monitor them in CONTROL-M create and monitor mass parallel processes (spawned jobs)
Chapter 1
Introduction
11
Terminology
archive and delete older data as required, using the CONTROL-M solution for SAP Data Archiving monitor and control SAP-Business Warehouse business processes in CONTROL-M, using the CONTROL-M solution for SAP-BW use SAP advanced load-balancing mechanism, such as Logon Groups and Job Server Group control advanced job submission options from within CONTROL-M, such as event-dependent jobs and Spool list recipient for the job
Other SAP-related functionality is described later in the book, including defining new SAP jobs and raising events, among others.
Terminology
The following table lists abbreviations and terms used in this document:
:
Description Language used within the SAP system (ABAP Reports). Also referred to as ABAP/4. Computer on which the SAP Application server runs. This can also be the same computer on which CONTROL-M/Agent runs. Computer on which the SAP GUI runs. A SAP-produced document that details a specific problem in the SAP system, and a suggested solution. Business Application Programming Interface. A set of ABAP/4 function modules accessible through RFC technology (Remote Function Calls). BAPIs are an open interface for integrating with SAP products, assuring their stability and compatibility with current and future releases.
12
Description A set of SAP-created and certified BAPIs that enable CONTROL-M to control, start and monitor jobs outside SAP R/3. Through this interface, SAP R/3 Computer Center Management System (CCMS) supports CONTROL-M integration with existing administration tools. XBP 2.0: The new certified version of SAP BC-XBP. XBP 2.0 is an enhancement of XBP 1.0, and can be installed without changing current functionality. The primary advantages are:
New Parent/Child (spawned) job functionality New interception capabilities Triggering events and additional help functions. New and enhanced ways of working with jobs: defining, monitoring, modifying, starting and deleting jobs
For more information about the XBP 2.0 interface, see SAP Note 6044996. CONTROL-M function modules Spawned job Parent job CONTROL-M extended functionality installed in SAP. For more information see Step 4 - CONTROL-M function modules on page 37. A job created by another job that is monitored by CONTROL-M. A job that created one or more spawned jobs.
Business Warehouse SAP Business Information Warehouse (BW) is a data warehouse (BW) solution for SAP R/3. However, it is a separate application, independent of SAP R/3. P/C I/P Administrator Workbench CONTROL-M/EM FixPack A Business Information Warehouse Process Chain A Business Information Warehouse InfoPackage The Administrator Workbench is a GUI-based tool for BW implementation, maintenance, customization, scheduling, and monitoring and is a part of the SAP front-end. CONTROL-M/Enterprise Manager. A CONTROL-M bug resolution.
Chapter 1
Introduction
13
Related Publications
Description Central GUI-based control center from which you can manage all scheduling and workflow activities. The engine (on a Unix or Microsoft Windows computer) used to drive scheduling in a data center. Each CONTROL-M/Server can manage multiple CONTROL-M/Agents on various platforms. Software for job submission and execution. An Agent must exist on each computer that is used to execute CONTROL-M jobs.
CONTROL-M/Agent
Additional products are available for interfacing between the CONTROL-M scheduling solution and other systems management products. For more information, contact your BMC Software sales representative.
Related Publications
CONTROL-M/Server Administrator Guide describes setup, security, and utilities for CONTROL-M/Server on a specific platform (Unix, or Microsoft Windows). CONTROL-M/Agent Administrator Guide describes configuration and maintenance of CONTROL-M/Agent on various platforms. CONTROL-M/Enterprise Manager User Guide describes CONTROL-M/Enterprise Manager concepts, features, and facilities. CONTROL-M/Enterprise Manager Administrator Guide describes administrator responsibilities, customization, maintenance, and security of CONTROL-M/EM. CONTROL-M/Enterprise Manager Utility Guide describes command line utilities, for use with CONTROL-M/Enterprise Manager. CONTROL-M/Desktop User Guide describes how to define and manage CONTROL-M job processing definitions, scheduling tables, and calendars. CONTROL-M Job Parameter and Variable Reference Guide describes the parameters of job processing definitions, and variables that can be included as values for these parameters.
14
Running jobs
SAP jobs can be executed in any of the following ways:
An original SAP job is run. A SAP job is copied and run, enabling multiple runs of identical jobs. A SAP job is defined, stored, and submitted using CONTROL-M.
For more information about how to define a SAP job, see Chapter 3, Defining and monitoring SAP jobs in CONTROL-M.
Chapter 1
Introduction
15
After the job starts to run, CONTROL-M/CM for SAP monitors the SAP system to check the status of the job. As the job progresses, its status is updated in the CONTROL-M database and in CONTROL-M/EM viewpoint. In addition to monitoring the running job, CONTROL-M can also cancel it in SAP, if necessary. For more information about controlling jobs from within CONTROL-M/EM, see the CONTROL-M/Enterprise Manager User Guide. When the job ends, CONTROL-M/CM for SAP provides CONTROL-M/EM with the SAP job output for each request. The SAP job log and the SAP job spool are copied to the job sysout or to files if required. Post-processing mechanisms can then be activated in CONTROL-M/EM.
The SAP job status can be seen in CONTROL-M/EM, in the SAP panel of the Job Editing form, in the SAP Job Status field.
16
easily track spawned jobs, requiring no workarounds or scripts intercept SAP jobs (not created by CONTROL-M) through CONTROL-M, and then activate these jobs according to CONTROL-M parameters For more information, see Job interception and control with the Xtractor process on page 111. create mirror-image jobs in CONTROL-M, using various criteria that set which currently running jobs are to be mirrored in CONTROL-M (using the Extraction functionality) For more information, see Extracting and monitoring SAP CCMS jobs with the Xtractor on page 116. generate online, real-time lists of SAP parameters For example, Spool list recipient, Job server groups, and step parameters such as ABAP Programs, Show Variant details, Output Devices, Owners, External commands, hosts, and so on maintain better control over ABAP Program variants
Chapter 1
Introduction
17
18
automate all phases of Data Archiving, including SAP-owned jobs and other business processes manage, schedule, and monitor individual archiving jobs schedule archiving jobs according to business requirements and available resources
Data Archiving sessions are monitored and managed from the CONTROL-M/EM GUI. Each session is a separate entity in itself. Prerequisites and post-processing instructions can be set for each session. A Data Archiving session can be scheduled to run periodically, by assigning it specific scheduling parameters.
Chapter 1
Introduction
19
A Write job creates and starts a new archiving session, and copies data from the SAP database to archive files. A Detect Delete job detects Delete jobs created in SAP. It adds them to a group scheduling table, which is then inserted into the Active Jobs file, to be run according to the definition of the Detect job. A Detect Store job detects Store jobs created in SAP. It adds them to a group scheduling table, which is then inserted into the Active Jobs file, to be run according to the definition of the Detect job.
CONTROL-M/CM for SAP transfers the session number of a Write job to the corresponding Detect job, to ensure that it only handles jobs that belong to the appropriate session.
NOTE
Avoid changing the job definition of a Detect job in CONTROL-M, while it is running. Doing so causes the corresponding Store or Delete jobs to be ordered according to this new definition of the Detect job.
20
NOTE
This is a typical work flow. You can change the order of events, using the SARA transaction in SAP. For more information about SARA functionality, see the SAP documentation.
If your SAP system supports XBP 2.0, you can use either the XBP 1.0 functionality described above (see page 20) or the more simplified method, using XBP 2.0, described in this section. The XBP 2.0 Job Interception and Spawned Jobs functionalities help simplify the Data Archiving scheduling table in CONTROL-M.
Job Interception makes it possible to prevent CCMS from releasing Delete jobs and Store jobs. These jobs can, therefore, be controlled from CONTROL-M. In addition, SAP note 458670, used when working with XBP 1.0, is no longer necessary.
Chapter 1
Introduction
21
Spawned Jobs functionality makes it possible to automatically detect Delete jobs and Store jobs, and for the SAP CM Xtractor process to automatically extract them during run time, into the CONTROL-M active environment.
By using the Job Interception and Spawned Jobs functionalities introduced with XBP 2.0 you can simplify your work with Data Archiving. You no longer need to define Detect jobs, and do not need to use SAP note 458670. For more information on the Xtractor Interception and Spawned Jobs functions, see page 107.
The Write job creates a Write job in SAP. When this job runs, it spawns Delete jobs in the SAP system. These Delete jobs then spawn Store jobs. The template for Delete jobs - The Delete jobs that were created by the Write job in SAP are ordered automatically into CONTROL-M by the Xtractor process using this template. You can, therefore, control these jobs in CONTROL-M using CONTROL-M tools, such as conditions and resources. The template for Store jobs - The Store jobs that were created by the Delete jobs in SAP are ordered automatically into CONTROL-M by the Xtractor process using this template. You can, therefore, control these jobs in CONTROL-M using CONTROL-M tools, such as conditions and resources.
NOTE
If you use a store-before-delete, instead of a delete-before-store, configuration (defined using the SARA transaction in SAP), you must switch between the Store and Delete templates in CONTROL-M.
22
NOTE
The templates for Delete and Store jobs should only be created as templates, and should not be ordered and submitted.
Quantitative Resources are defined for the templates in the draft. To run the sample session successfully, you must add these logical resources in your CONTROL-M. In addition, you must configure the Xtractor process to fit this procedure. For detailed information, see Data archiving with XBP 2.0 on page 76 and Configuring the environment to work with Data Archiving Sessions in XBP 2.0 on page 84.
Chapter 1
Introduction
23
NOTE
This is a typical work flow. You can change the order of events, using the SARA transaction in SAP. For more information about SARA functionality, see the SAP documentation.
24
Chapter
Installation
This chapter describes how to install CONTROL-M/CM for SAP at your site. Instructions are also provided for upgrading a previous version of CONTROL-M/CM for SAP, and for uninstalling the current version of CONTROL-M/CM for SAP.
NOTE
If a version of CONTROL-M Option for R/3 is installed on the Agent computer on which you plan to install CONTROL-M/CM for SAP, it is not necessary to uninstall CONTROL-M Option for R/3. The two products can function simultaneously, using the same Agent. However, to use the new features of the current product, convert Option jobs using the CONTROL-M/CM for SAP conversion utility. Instructions for installing this utility can be found in Installing the Conversion utility on page 42.
The following steps are provided for installing or upgrading CONTROL-M/CM for SAP:
Step 1 - Installation and upgrade requirements Step 2 - Installing or upgrading CONTROL-M/CM for SAP Step 3 - Importing the SAP panel Step 4 - CONTROL-M function modules
Following this are instructions on Installing the Conversion utility and Uninstalling CONTROL-M/CM for SAP.
Chapter 2
Installation
25
See the release notes for a detailed list of the operating systems that are compatible with CONTROL- M/CM for SAP version 6.2.01.
Note: For the most current operating system compatibility information for this version, see http://www.bmc.com/supportu/PAC_utility/index.cfm.
26
Requirements SAP
Version SAP Basis Release: 4.5B, 4.6C, 4.6D, 6.10, 6.20, and 6.40 (NetWeaver) Kernel version Due to SAP changes in the RFC libraries, a minimum kernel for your SAP system is required. The minimum kernel is detailed in SAP note 792850. Warning: Failing to fulfill this requirement prevents CONTROL-M/CM for SAP from working and the following connection error is displayed: You are not authorized to logon to the target system (error code 1) XBP interface Your SAP system must include the XBP 2.0 interface in order for all new features of this release to work. However, if you do not have XBP 2.0 in your system, BMC Software recommends that you install CONTROL-M/CM for SAP 6.2.01, since it replaces and enhances all previous releases. Some of the new features are available without XBP 2.0, if you use CONTROL-M Function Modules. For more information see, Step 4 - CONTROL-M function modules on page 37 and the comparison table Table 3 XBP BAPIs versus CONTROL-M function modules on page 38. According to SAP documentation, the XBP 2.0 interface is included in the following SAP Basis Support Packages:
4.6C - SAPKB46C41 (Support Package 41) 4.6D - SAPKB46D35 (Support Package 35) 6.10 - SAPKB61028 (Support Package 28) 6.20 - SAPKB62017 (Support Package 17) 6.40 - No support package needed
For information provided by SAP on XBP 2.0, see SAP Note 604496 (Composite SAP note XBP 2.0) and http://service.sap.com/job-scheduling Data archiving If you are using XBP 1.0 on SAP 4.6C and you plan to implement CONTROL-M support for Data Archiving, you must apply SAP Note 458670 to your SAP system. Follow instructions provided in the SAP note. When using XBP 2.0, this note is not necessary. For more information, see Data archiving jobs on page 75.
Chapter 2
Installation
27
Version SAP Business Information Warehouse Releases: 2.0B, 2.1C, 3.0B, 3.1 Content, 3.1 Content with BI CONT 3.20, 3.5. If you plan to use the CONTROL-M/CM for SAP-BW functionality, the following BW Support Packages must be installed:
BW 2.0B - SAPKW20B35 (release details in SAP Note 601001) BW 2.1C - SAPKW21C27 (release details in SAP Note 601023) BW 3.0B - SAPKW30B27 (release details in SAP Note 723258) BW 3.1 - SAPKW31021 (release details in SAP Note 723263) BW 3.5 - SAPKW35012 (release details in SAP Note 763340)
If you plan to use the CONTROL-M/CM for SAP Interrupt functionality, SAP Note 786748 must be installed manually. For more details about Interrupts see Interrupts - Removing a process chain from schedule on page 134. Related SAP Notes Various SAP Notes are required for your SAP system to function properly with CONTROL-M/CM for SAP. Before continuing with the installation you must read Appendix B, Related SAP Notes. Take special note of SAP Note 835846 (for more details see http://documents.bmc.com/supportu/documents/59/59/5595 9/Output/090f44b18038dcb7.htm). Java Runtime Environment (JRE) 1.3.1 or later JRE is not delivered with the CONTROL-M/CM for SAP and must be installed separately. For details, see http://www.java.com. You must ensure that the Java Binaries Directory is in the path environment variable. Minimum RAM 256 MB
28
SAP authorizations
Version 200 MB The RFC library is not delivered with the CONTROL-M/Control Module for SAP. It must be installed separately. For more information, see Downloading the RFC library on page 33.
SAP authorizations
SAP users of this product must have the following authorizations: Table 1 SAP authorizations (part 1 of 2)
Authorization JOBACTION JOBGROUP BTCADMIN Values * * *
Authorization Object S_BTCH_JOB Object class: BC_A (Basis: Administration) S_BTCH_ADM Object class: BC_A (Basis: Administration) S_BTCH_NAM Object class: BC_A (Basis: Administration) S_RFC Object class: AAAB (Cross-application) S_XMI_PROD Object class: BC_A (Basis: Administration) S_RZL_ADM Object class: BC_A (Basis: Administration)
BTCUNAME
Note: For an explanation on restricting this authorization see the Owner parameter on page 64. ACTVT RFC_NAME RFC_TYPE EXTCOMPANY EXTPRODUCT INTERFACE ACTVT * * * BMC Software Control-M XBP *
Note: To prevent other SAP users (not the CONTROL-M account user) from releasing Intercepted Jobs manually using SAP transaction SM37, BMC Software recommends removing the '01' value for ACTVT in the S_RZL_ADM Authorization Object. For further restriction of this authorization, see SAP note 605483 in Appendix B, Related SAP Notes.
* * *
Chapter 2
Installation
29
SAP authorizations
Table 1
Authorization Object S_SPO_DEV Object class: BC_A (Basis: Administration) S_USER_GRP Object class: BC_A (Basis: Administration) S_RS_ADMWB Object class: RS (Business Information Warehouse) S_RS_ISOUR Object class: RS (Business Information Warehouse)
Note: All BW authorizations under the RS Object Class are required only if you work with CONTROL-M/CM for SAP solution for BW. S_ARCHIVE Object class: BC_A (Basis: Administration) S_DATASET Object class: BC_A (Basis: Administration) ACTVT APPLIC ARCH_OBJ ACTVT FILENAME PROGRAM * * * * * *
Note: The S_ARCHIVE and S_DATASET authorizations are required only if you use CONTROL-M/CM for SAP solution for Data Archiving.
30
NOTE
There is a transport that includes a user role with all the authorizations needed for working with the SAP CM. The role is named 'BMCCTRLM_CM_USER '. Use this role in your CONTROL-M user. For details on how to install the Transport, see Installing the CONTROL-M FMs in the SAP system on page 41.
You may need to add additional authorizations to the above if your jobs require them. The authorization checks for the job run are done in SAP using the Owner of the job step. However, if you do not set an Owner for the job step, the Owner set in the account is used and must have the required authorizations.
Installing CONTROL-M/CM for SAP (see page 31). Upgrading CONTROL-M/CM for SAP (see page 34).
Chapter 2
Installation
31
1 On your CONTROL-M/Agent computer, log on as the root user and run the
shut-ag command to shut down CONTROL-M/Agent.
2 Mount the installation CD. 3 Log on as the CONTROL-M/Agent user. 4 On the command line, enter
<CDROM_path>/Unix/setup.sh
5 Press Y to confirm that you accept the license agreement and to continue with the
installation. Various messages detailing file extraction are displayed. Follow the on-screen instructions.
6 A message regarding account definition and the SAP RFC library is displayed. You
must download the RFC library to the locations indicated in the message. For details on downloading the RFC library see Downloading the RFC library on page 33. The installation is complete.
7 To restart the CONTROL-M/Agent, log on as the root user, and run the start-ag
command.
2 Click Accept to accept the license agreement. 3 Choose an agent from the multi-agent list. Follow the instructions given in each
window.
32
4 Click Finish and follow the instructions in the Installation Complete dialog box. 5 Download the RFC library to the appropriate locations. For details on
downloading the RFC library see Downloading the RFC library on page 33.
Chapter 2
Installation
33
Table 2
Agent operating system Solaris 32-bit/64-bit AIX 32-bit/64-bit HP-UX 32-bit/64-bit HP-UX Itanium Red Hat or SuSE Linux SuSE Linux Itanium Compaq TRU64 Unix
After downloading the RFC library, extract it from the SAR file using the sapcar (Unix) or SAPCAR.exe (Windows) executable. For more information, see SAP Note 413708. You must then copy the RFC library to the following locations: In Unix
<Agent home directory>/CM/SAP/EXE/ <Agent home directory>/EXE/
In Windows
<Agent home directory>\CM\SAP\EXE\ <Agent home directory>\EXE\
1 On your CONTROL-M/Agent computer, log on as the root user, and run the
shut-ag command to shut down CONTROL-M/Agent.
3 If you are upgrading from 6.1.02 or 6.1.03, run the shut-xt command to shut down
the Xtractor process.
4 Back up your existing installation of CONTROL-M/CM for SAP. 5 Mount the installation CD. 6 On the command line, enter <CDROM_path>/Unix/setup.sh; an Upgrade
installation message is displayed.
7 Enter I. NOTE
If a version of CONTROL-M/CM for SAP that cannot be upgraded is detected, you need to uninstall that version and perform a new installation procedure (see To install CONTROL-M/CM for SAP on Unix on page 31).
8 Download the RFC library, and copy it to the following two locations:
<home directory>/ctm/cm/SAP/exe <home directory>/ctm/exe For more information see Downloading the RFC library on page 33.
9 To restart the Xtractor process, run the start-xt command. 10 To restart the CONTROL-M/Agent, log on as the root user, and run the start-ag
command.
1 Back up your existing installation of CONTROL-M/CM for SAP. 2 Insert the installation CD.
If the Autorun option is enabled on your computer, installation starts automatically after inserting the CD in the CD-ROM drive. If the Autorun option is disabled on your computer, choose Start => Run and enter the following command:
Chapter 2
Installation
35
<Drive_ID>:\SETUP
NOTE
If a version of CONTROL-M/CM for SAP that cannot be upgraded is detected, a confirmation message to uninstall is displayed.
5 You can now restart the CONTROL-M/Agent and CONTROL-M/CM for SAP
Xtractor services.
1 In CONTROL-M/Desktop, choose Tools => Import Applications Forms. 2 In the browse window, navigate to the Forms directory on the installation CD.
Select the SAP1.xml, SAP_DA.xml, and SAP_BW.xml files, and click Import.
3 Shut down CONTROL-M/Enterprise Manager GUI, and then restart it. This
enables the newly imported SAP panel functionality (see Figure 1 on page 50).
36
For more information about the Job Editing form, refer to the CONTROL-M/Enterprise Manager User Guide.
NOTE
If you are upgrading an existing installation of CONTROL-M/CM for SAP, jobs that were defined and stored in CONTROL-M 6.1.01, 6.1.02, or 6.1.03 can still be used with the new installation of CONTROL-M/CM for SAP.
NOTE
If you do not want to install CONTROL-M Function Modules, ensure that the Use Extended check box in the configuration utility is cleared. For more information, see Configuring general parameters on page 104.
Chapter 2
Installation
37
To work with CONTROL-M/CM for SAP XBP 2.0 functionality, you must set the value of the XBP Version account parameter as XBP20. For more information, see Handling accounts for CONTROL-M/CM for SAP on page 99. The XBP 2.0 interface is integrated in the SAP system as part of the standard Support Package supplied by SAP. To see which Support Package includes the XBP 2.0 interface, see XBP interface on page 27. To verify whether your SAP system includes the XBP 2.0 interface, see XBP Version on page 102. The following table describes the major differences in actions performed with XBP 1.0, XBP 2.0, and CONTROL-M FMs. If, to perform a specific action, either XBP BAPIs or CONTROL-M FMs can be used, CONTROL-M always uses XBP BAPIs. For example, if you want to copy a variant on a SAP system with XBP 1.0 installed, CONTROL-M FMs must be installed. However, if your SAP system has XBP 2.0 installed, the variant is copied using the XBP BAPIs (2.0). Table 3
Action Parent/Child (mass parallel) functionality Intercept functionality Enhanced Extract functionality Basic Extract functionality (ctmextract) Raise SAP events Submit an event-based job Batch Input functionality Submitting Data Archiving jobs Detecting and Releasing Data Archiving jobs X X (Using the Parent/Child and the Interception functions) Job Class (A, B) in Create mode X X X X X X X
38
Table 3
Action
Preventing duplication in extracting jobs from SAP Support for External Command Spool List Recipient in Create job mode Additional Print and Archiving Job Step parameters Improved faster mechanism for tracking jobs in SAP Configure Joblog retrieval Opersys cover page parameter CP and NP options in variant selection Parameters for time of printing (Print immediate, Print later or Send to SAP spooler) Use Logon Groups Load and Action requests: ABAP Programs list Variants list Show Variant Variant Copy Variant Change Output devices (printers) list Layouts (print formats) list Load Job Server Groups Load External Command Load for distribution list X X X
X X X (requires both XBP 2.0 (requires both XBP 2.0 and CONTROL-M FMs) and CONTROL-M FMs) X X
X X X X
X X X X X X X X X X
X X X X
Chapter 2
Installation
39
Table 3
Action Load owner Load event
NOTE
Process Chains (P/C) capabilities are only available in SAP-BW 3.x systems.
40
To install the FMs in the SAP system, you must import the containing transport into the SAP system. Copy the transport files into the transport directory of the SAP system. Ensure that you remove the read-only attribute of the transport files copied from the CD. Otherwise, the import to the SAP system may fail. Use the SAP Transport Management System (transaction STMS) or the operating system executable program tp to import the required transport. For information about the Transport Management System and the tp program, refer to SAP documentation. Each of the following subfolders under the Transports folder contains transports as follows: SAP_R3
This transport must be installed in order to use any of the CONTROL-M FMs, and it must be installed before installing any other transports.
BW
This transport contains the BW-related FMs. Install it only after the SAP_R3 transport is installed.
DA
Install this transport if you use the CONTROL-M Data Archiving functionality. Install it only after the SAP_R3 transport is installed. Do NOT install this transport on SAP release 4.5B.
AUTH
Chapter 2
Installation
41
The authorization transport contains a role that includes all of the minimum authorization needed for CONTROL-M users. This transport must be imported into Client 000 and then the role must be copied to the specific client by creating a local transport and importing it to the target client. BMC Software recommends defining SAP users for CONTROL-M with the SAP System user type.
To install the Conversion utility on Unix 1 Log on to the CONTROL-M/EM computer as the CONTROL-M/EM user. 2 Extract the sap_cm_conv_ut.tar.Z zip file from the <cdrom_path>\conversion\Unix
directory to a temporary directory on the computer.
To install the Conversion utility on Microsoft Windows 1 Log on to the CONTROL-M/EM computer. 2 Extract the sap_cm_conv_ut.zip zip file from the <cdrom_path>\conversion\Windows
folder to a temporary folder on the computer.
42
1 On your CONTROL-M/Agent computer, log on as the root user, and run the
shut-ag command to shut down CONTROL-M/Agent.
2 Log on as the CONTROL-M/Agent user, and run the shut-xt command to shut
down the Xtractor process.
4 Type Y, and press <Enter> to confirm the uninstall procedure; a message detailing
what is being removed is displayed. The uninstallation procedure is complete. CONTROL-M/CM for SAP has been successfully removed from your computer. To restart CONTROL-M/Agent, log on as the root user again, and run the start-ag command.
1 From the Start menu, choose Settings => Control Panel, and double-click
Add/Remove Programs.
2 Select CONTROL-M/Control Module for SAP under the relevant agent, and click
Add/Remove.
3 Select Uninstall your Current Version and click OK. The uninstallation procedure is
complete.
Chapter 2
Installation
43
44
Chapter
CONTROL-M jobs are defined using the Job Editing form in CONTROL-M/Desktop. This Job Editing form contains a series of panels. Each job processing definition is a collection of parameters and values set using this form. The parameters included in the job definition depend on the selected job template (skeleton). When a job skeleton is designed for SAP jobs, a SAP panel is added to the Job Editing form. This includes all SAP parameters for defining and monitoring SAP jobs. The following sections are included in this chapter:
Creating a job skeleton for SAP jobs on page 45 SAP R/3 jobs on page 49 Data archiving jobs on page 75 Business Information Warehouse jobs on page 91
Chapter 3
45
Ensure that the application type parameter of the required Node Group is SAP. For more information, see the Node Group Menu section in the Maintenance chapter of the CONTROL-M/Server Administrator Guide. Run the ctmgetcm utility on CONTROL-M/Server with a set value of Get for the Action parameter for the Node ID under which CONTROL-M/CM for SAP is installed.
For more information, see the ctmgetcm section, in the Utilities chapter in the CONTROL-M/Server Administrator Guide.
NOTE
Create separate job skeletons for SAP R/3 jobs, SAP Data Archiving jobs, and SAP BW jobs.
2 Enter a name for the new job skeleton, and click OK. 3 The following parameters must be defined in the Field/Value table. Each of the set
values is applied to every job created using this job skeleton. Set values according to your requirements.
Scheduling table Group Application Author MemName (BMC Software recommended values for this parameter are described in Table 5 on page 46.)
For more information, see the CONTROL-M Parameters and Variables Reference Guide. Recommended values to be set for other job skeleton fields are shown in Table 5 . Table 5
Field Owner Name
46
Value Set {Name} to give the MemName the same value as the Job Name. Enter any value.
4 Choose the required CONTROL-M instance from the list. CONTROL-M must first
be defined, using Edit => CONTROL-M Definitions in CONTROL-M/Desktop. For information about setting CONTROL-M definitions, see the CONTROL-M/Enterprise Manager Administrator Guide.
5 Click Application, and in the Application Node Group field, set either
on which you want to define and run jobs To choose an Agent, manually enter the name of the Agent, as in the following example:
To choose a Node Group, manually enter the name of the Node Group, or click Load to generate a list of Application Node Groups.
Choose a SAP type Node Group and click OK. If the required Node Group is not displayed in this list, the ctmgetcm utility was not run properly. For information see the CONTROL-M/Server Administrator Guide.
if you chose the Application Node Group field manually, you must set applicable values from the list
Chapter 3
47
if you chose the Application Node Group field from the Load list, this field is automatically set according to your selection
choose SAP R3 to load the SAP job panel designed to work with SAP jobs choose SAP Data Archiving to load the SAP job panel designed to work with Data Archiving jobs choose SAP Business Warehouse to load the SAP job panel designed to work with SAP-BW jobs
NOTE
If none of these are displayed in the Form Name field, the SAP panel was not imported properly. For more information, see Step 3 - Importing the SAP panel on page 36.
48
Creating a job skeleton for SAP jobs on page 45 SAP R/3 jobs on page 49 Selecting job steps on page 60 Monitoring and managing SAP jobs in CONTROL-M on page 73
To Create a SAP job 1 Select the skeleton for CONTROL-M/CM for SAP jobs from the Current Skeleton
list in CONTROL-M/Desktop.
2 Choose Edit => Job => New from the menu bar, or click New Job NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP panel, as shown in
Figure 1 on page 50.
Choose Create to create and run a new job in SAP. At least one step must be selected in order to define a SAP job in CONTROL-M. For explanations about setting Job steps, see Selecting job steps on page 60.
Chapter 3 Defining and monitoring SAP jobs in CONTROL-M 49
Choose Original to run an existing job in SAP. Choose Copy to copy an existing job in SAP and run the new job. Choose External to monitor an existing job in SAP. This can also be used for monitoring and post-processing. Choose Batch Input to run a Batch Input session.
The appropriate parameters are enabled for the selected job mode. For descriptions of all SAP panel parameters, see Table 6 on page 51. Figure 1 SAP panel, Job Editing form (Job Definition mode)
5 After you set the parameters in the SAP panel, click Save to Draft to add the job to
the scheduling table set in the General panel.
50
NOTE
For a more detailed description of each parameter, see the SAP Parameters chapter in the CONTROL-M Job Parameter and Variable Reference Guide. Clicking the Load buttons in the SAP panel generates a list in real time that satisfies relevant criteria. To enter a value in a specific field, select the item from this list and click OK. The asterisk * can be used as a wildcard to filter parameters such as account names, Job names, and so on. For example, entering *DE* in the Account field generates a list of all accounts that contain the string DE.
Table 6
Parameter Account
Indicates from which Job step in the original job to begin the copying procedure. Mandatory for Copy job mode. Disabled for other job modes. Valid values are: 1-99. Default: 1
Chapter 3
51
Table 6
Parameter
Detect Spawned Jobs A spawned job is a job created by another (parent) job, and monitored by CONTROL-M. This parameter indicates whether to detect and monitor jobs that were spawned by the current SAP job. The following options are available:
Start Spawned Job: start any detected spawned job that has a status of Scheduled. No Detection needed: Do not detect spawned jobs of the current job. Detect and Create According to: Parent (current) job definition: Detect spawned jobs of the current job and extract these jobs to CONTROL-M, with identical properties to the parent job. A specific job definition: A field is displayed, in which you enter a specific SAP-type job name. Detected spawned jobs of the current job are extracted to CONTROL-M with identical properties to the selected (not the current) job. Note: The selected job must exist in the same scheduling table as the current job.
For detailed information about detecting spawned jobs, see Initiating a mass parallel process (detecting spawned jobs) on page 122. Job Class Job submission priority (in SAP). Mandatory for Create job mode only. Disabled for every other job mode value. Valid values are:
Note: The A and B values only work if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed.
52
Table 6
Parameter Job Count
When the job mode value is Copy, the parameter can contain digits or any of the special values. When the job mode value is Original, the parameter can contain digits, FIRST_SCHEDULED, or LAST_SCHEDULED. When the job mode value is External, the Special Values are not applicable and an 8-digit number must be entered. Job Mode Determines the task that the job performs. Mandatory. Valid values are:
Create: Create a new job. Copy: Copy an existing job. Original: Run a previously defined job. External: Monitors a job that runs in the SAP Server. Batch Input: Process a Batch Input session.
Chapter 3
53
Table 6
Parameter Job Name
The Filter and Load options are not available in Create job mode. In Original job mode, when you open the Job Status Filter dialog box only Scheduled is selected and cannot be modified. All other statuses are disabled. In Copy and External job modes, when you open the Job Status Filter dialog box, all statuses are enabled. In Batch Input job mode, the Filter option is not available. Click Load to display a list of available Batch Input sessions. In Batch Input job mode the Job Name field is also called Map Name.
The asterisk * can be used as a wildcard to filter jobs. Note: This parameter is case-sensitive (for a generated Load list). For example, if you entered JOBD* as criteria, the generated Load list would display all jobs beginning with the characters JOBD, but not jobs beginning with Jobd. New Job Name New job name for Copy mode only. Optional. Mapped to the CONTROL-M/EM Job Name parameter.
54
Table 6
Parameter
Output Management When you click the Output Management button the Output Management dialog box opens. The field formerly known as Copy spool to is included in this dialog box. Manage and control the output of your job, Optional. The Spool of the job and its Joblog are both created in SAP. You can customize the way CONTROL-M handles them by selecting one of the following options for each output type:
Do not copy. (Default for Spool) Copy to Sysout - the Spool or Joblog is copied to the same location as the job output. (See Sysout Handling in the CONTROL-M Job Parameter and Variable Reference Guide). (Default for Joblog). Copy to file - name and path of the file to which the Spool or Joblog is copied. Case sensitive, no blank spaces permitted.
QID
Batch Input Session Queue ID number. Optional. Only enabled if the job mode is set to Batch Input Default: None Filled automatically when you click the Job Name Load button and select a specific Batch Input session. If left unset, the oldest defined session is scheduled. Note: Batch Input jobs that are deleted after they run are not monitored. The status of jobs marked for deletion is not displayed.
Chapter 3
55
Table 6
Parameter
Attributes: The following attributes are available. By default these are not selected. Copy and Blind copy cannot be selected at the same time.
Note: This functionality only works if you use XBP 2.0 functionality and the Extended functionality of the CONTROL-M Function Modules.
56
Table 6
Parameter
Start Condition
ASAP - Submit with ASAP option. If ASAP is selected the job runs as soon as a background work process is available for it in SAP. If the job cannot start immediately, it is transformed in SAP into a time-based job. Immediate - Start immediately (Default). If Immediate is selected, the job either runs immediately, or fails in case there are no work processes available to run it. After Event - The job is submitted and waits for an event to be triggered. This option is supported only if SAP Note 833777 is implemented. If you selected the After Event option in the Start Condition window you must enter the following information:
Event: Event name. Maximum 32 characters. Mandatory for event-based jobs. Upper case only. Click Load to generate and display a list of available events. The asterisk * can be used as a wildcard to filter the search. Parameter: Event parameter. Maximum 64 characters. Optional.
Jobs submitted with the After Event start condition, remain in Released status in SAP until the event occurs. A message indicating this is displayed in the CONTROL-M SYSOUT. Note: The event-based job functionality only works if you use XBP 2.0 functionality. Load action for Events only works if you use the Extended functionality of the CONTROL-M Function Modules.
Chapter 3
57
Table 6
Parameter Steps
58
Table 6
Parameter
Target Group
Target Server
Application Server on which the job runs. Optional. Case sensitive, no blank spaces permitted. Click Load to generate and display a complete list of available application servers. If this parameter is left unset, the SAP system decides itself on which application server the job is to be carried out. This is the normal procedure recommended by SAP, because the system can then carry out its own load balancing. BMC Software recommends that you only select the target server if that server has particular resources necessary for the job processing. Note: If manually set, the following (full) format must be used: hostname_SYSID_sysnumber
Chapter 3
59
To select a job step 1 In the SAP panel of the Job Editing form, ensure that the Create job mode is
selected.
2 Click the Add step button corresponding to the type of job step you want to add
(ABAP Program, External command, or External program). The appropriate dialog box opens.
Add ABAP dialog box parameters on page 61 External Command dialog box parameters on page 69 External Program dialog box parameters on page 71
4 Click OK to add the job step to the SAP job, and to return to the SAP panel of the
Job Editing form. Use the control buttons to edit and manipulate selected program steps.
60
Chapter 3
61
Table 7
Parameter
ABAP Program
Click Load to generate and display a list of all ABAP programs. If there are more entries than the number you entered in the Max List Entries parameter, select Additional Results to see more results. For more information on configuring the Max List Entries parameter, see Configuring general parameters on page 104.
Tip: Narrow the search parameters by entering at least one character in the field, before clicking Load. The asterisk * can be used as a wildcard. Note: The Load button only works if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. Archive ID SAP ArchiveLink Storage system ID. Case sensitive, only trailing blank spaces permitted. Default: ZZ. Note: This only works if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. Only enabled if Print Archive Mode is set to Archive or Print & Archive. Archive Text Free text description of the archive location. Optional. Case sensitive, no blank spaces permitted. Note: This only works if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. Only enabled if Print Archive Mode is set to Archive or Print & Archive. Authorization Columns User with print authorization. Optional. Case sensitive, blank spaces permitted. Maximum number of characters on an output line. Mandatory. Valid values are: An integer between 1-255, or select the Use ABAP program default check box to indicate that the number of characters is obtained from the ABAP program code. Default: 80. Delete After Print Indicates if report is deleted after printing. Optional. Valid values are:
Selected = delete after printing Cleared = do not delete after printing (Default)
62
Table 7
Parameter
Department
Document Type Archive object document type. Optional. Case sensitive, blank spaces permitted. Only enabled if Print Archive Mode is set to Archive or Print & Archive. Information Field Archive information. Optional. Free text string. Case sensitive, blank spaces permitted. Only enabled if Print Archive Mode is set to Archive or Print & Archive. Job Name Language A read-only field that displays the job name. Language. One character. Case sensitive. Example: E for English; D for German; d for Serbo-Croatian. Layout Print Layout format. Optional. Uppercase only, no blank spaces permitted. Click Load to generate and display a list of all layouts. The asterisk * can be used as a wildcard to filter the search. Note: The Load button only works if you use XBP 2.0 functionality. Name Spool list name. Optional. Uppercase only, blank spaces permitted. Note: This only works if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. New Spool Request New spool request. Optional. Valid values are:
Note: This only works if you use XBP 2.0 functionality or the previous Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. Number of Copies Object Type Number of copies to be printed. Mandatory. Valid values are: 1 - 255. Default: 1 Archive object type. Optional. Case sensitive, blank spaces permitted. Only enabled if Print Archive Mode is set to Archive or Print & Archive.
Chapter 3
63
Table 7
Parameter
OS Cover Sheet
Output Device
Designated printer logical name. Optional. Uppercase only, no blank spaces permitted. Click Load to generate and display a list of all output devices. The asterisk * can be used as a wildcard to filter the search. Notes: The Load button only works if you use XBP 2.0 functionality. If the device does not exist, SAP adds a $ sign before the device name.
Owner
R/3 user whose authorizations the Job Step uses during processing. Optional. Uppercase only, no blank spaces permitted. If left unset, the value is taken from the account owner field. Click Load to generate and display a list of all owners. Note: The load functionality works only in version 6.20 and higher, and only with a specific Basis SP installed. For more details, see SAP note 753559. The asterisk * can be used as a wildcard to filter the search. Note: To prevent users from running job steps with a different user, use authorization restrictions in SAP. To do this, give the authorization object S_BTCH_NAM a specific value for BTCUNAME. For details, see SAP documentation.
Print Expiration The number of days after which print job expires. Optional. Range: 1-8 or Do Not Delete. Recipient Name of recipient of step output. Optional. Case sensitive, blank spaces permitted.
64
Table 7
Parameter Rows
SAP Cover Page Type of cover page for output. Optional. Valid values are:
A read-only field that indicates the step number in the job. Indicates whether a selection cover page should be used. Optional. Valid values are:
Selected Use cover page Cleared Do not use cover page (Default)
Time of Print
Indicates whether to print job output immediately. Optional. Valid values are:
Note: the default value Send to SAP spooler can only be used in SAP release 6.10 or later. If you do not change this value in SAP releases lower than 6.10, the SAP system uses its default value. Titles Spool list titles. Optional. Case sensitive, blank spaces permitted. Note: This only works if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed.
Chapter 3
65
Table 7
Parameter
Use ABAP This parameter exists for both the Rows and the Columns parameters. Program Default Select it if you want to use the ABAP program default for either the maximum number of rows per page (Rows), or the maximum number of characters on an output line (Columns). Valid values are:
Selected - Use the ABAP program default Cleared - Do not use the ABAP program default. Use the number entered in the Rows or Columns box.
Variant Name
Variant name. Optional. Only enabled if the ABAP program parameter is selected. Click Load to generate and display a list of variants available for the selected ABAP program. The asterisk * can be used as a wildcard to filter the search. Uppercase only, blank spaces permitted, special characters are permitted according to SAP guidelines. (For more information, please refer to the SAP documentation). When a variant is set for an ABAP program, the following buttons are enabled:
Copy. Enables the creation of a new variant based on the properties of an existing variant. The new variant is created as soon as you confirm its name. Show. Displays the variant values in a separate window (see Figure 3 on page 67). Change. Enables you to modify the values of the various variant parameters, see Figure 3 on page 67. To apply these parameter values click OK. To keep the variants original parameter values, click Undo Changes. Note: The changes in the values of the variant parameters are only performed during job run time.
Note: The Copy, Show and Change buttons only work if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed.
66
Variant subparameters
Figure 3 Change variant dialog box
The following subparameters are displayed in the Show/Change variant dialog box: Table 8
Parameter Description # Name Type
Simple - Enter a specific value in the Value field. Other fields are disabled. Selection - Enter a specific value in the Value field. Set values for the Sign and Option fields. Range - Enter Low and High values. Set values for the Sign and Option fields.
free text value; used for Simple and Selection parameter types. the lower limit value; used only for Range parameter type upper limit value; used only for Range parameter type
Chapter 3
67
Table 8
Parameter Sign
I - inclusive E - exclusive
Option
used for Selection and Range parameter types; contains the operator for the elementary condition. See Table 9 Variant options for selection and range types below.
Table 9
Option BT NB EQ NE GT LT GE LE CP NP
68
Table 10
Parameter
Activate trace
Name
External Command name. Mandatory. Upper-case only; blank spaces are permitted. Click Load to generate and display a list of all external commands. When you select a line from the list, this field, and the Operating System fields are inserted with the selected values. The asterisk * can be used as a wildcard to filter the search.
Job name
Chapter 3
69
Table 10
Parameter
Indicates whether to write errors to the job log. Optional. Valid values are:
Log external Indicates whether to write output to the job log. Optional. Valid values output in job log are:
Operating System
Operating system type for the command as defined in SAP. Use the Load button of the Name field. Enter value manually, or click the "..." button to select a value from the list.
Owner
Authorized step owner. Optional. Uppercase only, blank spaces not permitted. If left unset, the value is taken from the account owner field. Click Load to generate and display a list of all owners. The asterisk * can be used as a wildcard to filter the search.
Parameters for the external command. Optional. Case sensitive, blank spaces are permitted. A read-only field that indicates the step number in the job. Host computer where the external command runs. Mandatory. Case sensitive, blank spaces are not permitted. Click Load to generate and display a list of all target servers Note: If manually set, the short format must be used: hostname
70
Table 11
Parameter
Activate trace
External program name. Mandatory. Case sensitive, blank spaces are permitted. A read-only field that displays the job name. Indicates whether SAP waits for the external program to end before starting the next step, or exiting. Optional. Valid values are:
Indicates whether to write errors to the job log. Optional. Valid values are:
Chapter 3
71
Table 11
Parameter
Log external Indicates whether to write output to the job log. Optional. Valid values output in job log are:
Owner
Authorized step owner. Optional. Uppercase only, blank spaces not permitted. If left unset, the value is taken from the account owner field.
Parameters for the external program. Optional. Case sensitive, blank spaces are permitted. A read-only field that indicates the step number in the job. Host computer where the external program runs. Mandatory. Case sensitive, blank spaces are not permitted. Note: If manually set, the short format must be used: hostname
72
All fields that are set in SAP R/3 jobs on page 49 are read-only. Additional fields are also displayed. These are described in Table 12 on page 74. The parameters described in Table 12 are available when a job is created and scheduled, and can be seen in the Job Editing form, in CONTROL-M/EM.
Chapter 3
73
Table 12
Parameter Job Type
Extracted: A SAP job extracted from SAP to CONTROL-M by the Xtractor process for monitoring and managing purposes. Intercepted: A job that was intercepted by SAP, extracted to CONTROL-M by the Xtractor process, activated by CONTROL-M/CM for SAP and is now being monitored in CONTROL-M. Spawned: A job that was created in SAP by a job created or monitored in CONTROL-M, extracted from SAP by the Xtractor process and is now being monitored in CONTROL-M. - Parent Name: If the job type is Spawned, the name of the parent job is displayed in this field. - Parent Id: If the job type is Spawned, the SAP job count of the parent job is displayed in this field.
Notes: For jobs that were not extracted by the Xtractor process, no information is displayed in any of these fields. A job can fit more than one job type criteria. For example, it can be both spawned and intercepted. If this is the case, the job type assigned the higher priority is the actual job type, and is indicated by a bold ring around the check box. For more information about priorities and job detection criteria, see Configuring and working with the Xtractor process on page 107. These fields are only enabled if you are using XBP 2.0 functionality. SAP Job Status Classification for the job. Displays the actual status of the job in SAP. Important: This is updated when the Job Editing form is opened. However, the status is not refreshed automatically. Note: This field is active only if you are using XBP 2.0 functionality.
For more information about monitoring jobs in CONTROL-M, see the CONTROL-M/Enterprise Manager User Guide. For information about viewing and updating job details, see the CONTROL-M/Enterprise Manager User Guide.
A (Data Archiving) Write job copies data from the SAP database to archive files. A Detect job detects either Delete or Store jobs that are created in SAP during the Write job process. A Delete job reads information from an archive file, verifies that this information is the same as in the SAP database, and deletes it from the database. A Store job copies archive files to a storage system. As a Detect job discovers a Delete or Store job, a new job is created in CONTROL-M. This job runs the Delete or Store job in SAP, enabling you to monitor it from CONTROL-M. The Detect job continues to search for Delete or Store jobs, according to session specifications. It runs cyclically until all Delete or Store jobs are detected and run. For more information, see Creating a Data Archiving session with XBP 1.0 on page 76.
Chapter 3
75
The Write job copies data from the SAP database to archive files and spawns the Delete jobs in SAP. The Write job is defined in CONTROL-M as a parent job (meaning, the Detect Spawned Jobs option is selected). The job definition template for Delete jobs is used when Delete jobs are detected as spawned by the Write job. Each Delete job spawns one Store job, so the template for Delete jobs should also be defined as a parent. Store jobs are spawned by Delete jobs in SAP. The job definition template for Store jobs is used when they are detected as spawned by Delete jobs. For more information, see Creating a Data Archiving session with XBP 2.0 on page 79.
NOTE
A pre-prepared draft for a Data Archiving session when using XBP 1.0 can be found on the CONTROL-M/CM for SAP installation CD, in <CD_ROM>\Forms. You can use it either as an example of a typical Data Archiving session, or as a template for new Data Archiving sessions. For more information, see Sample Data Archiving session with XBP 1.0 on page 20.
To create a group scheduling table 1 Choose Edit => Scheduling Group => New, or click
form. to open the Group Editing
76
NOTE
For more information about the Group Editing form, see the CONTROL-M/Desktop User Guide.
To create a Data Archiving job in XBP 1.0 1 Select the skeleton for CONTROL-M/CM for SAP Data Archiving jobs from the
Current Skeleton list in CONTROL-M/Desktop.
2 Choose Edit => Job => New from the menu bar, or click NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP panel as shown in
Figure 7. Figure 7 SAP panel for Data Archiving, Job Editing form
Chapter 3
77
The fields in the SAP panel are described in Table 13 on page 86.
Choose Write to copy information from the SAP database to archive files. Choose Detect Delete to detect Delete jobs. A Delete job reads information from an archive file, verifies that this information is the same as in the SAP database, and deletes it from the database. Choose Detect Store to detect Store jobs. A Store job copies archive files to a storage system.
The appropriate parameters are enabled for the selected job mode. For descriptions of all SAP panel Data Archiving parameters, see Table 13 on page 86. If you selected the Write job mode, proceed to step 8. If you selected either the Detect Delete or Detect Store job mode, continue with step 5.
5 In the Execution panel, do the following: A Select the Cyclic check box. B In the Interval field, enter the number of time units that should be allowed
between runs of the Detect job. This can be days, hours, or minutes.
NOTE
If the set intervals are small, the job detection is quicker. However, if the intervals are longer, job cycles are less likely to run without detecting any jobs.
6 In the Steps panel, do the following: A In the Statement field, type *. B In the Code field, type *ALL JOBS DETECTED* (as written here), and click C Click
. . .
D In the DO field, choose Stop Cyclic, and click E In the Statement field, type *.
F In the Code field, type NOTOK (as written here), and click G Click
.
78
7 To set additional print parameters for the job, click Print Parameters to open the
Print Parameters dialog box. The fields in the Print Parameters dialog box are described in Table 7 Add ABAP dialog box parameters on page 62.
8 When you are finished entering parameters in the SAP panel, click Save to Draft to
add the job to the group scheduling table of the Data Archiving session.
NOTE
A pre-prepared draft for a Data Archiving session when using XBP 2.0 can be found on the CONTROL-M/CM for SAP installation CD, in <CD_ROM>\Forms. You can use it either as an example of a typical Data Archiving session, or as a template for new Data Archiving sessions. For more information, see Sample Data Archiving session with XBP 2.0 on page 23.
Chapter 3
79
To create a group scheduling table 1 Choose Edit => Scheduling Group => New, or click
form. to open the Group Editing
2 Set the Group Editing form parameters according to your requirements. NOTE
For more information about the Group Editing form, see the CONTROL-M/Desktop User Guide.
To create a Data Archiving write job 1 Select the skeleton for CONTROL-M/CM for SAP Data Archiving jobs from the
Current Skeleton list in CONTROL-M/Desktop.
2 Choose Edit => Job => New from the menu bar, or click NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP panel, as shown in
Figure 8.
80
Figure 8
4 For Job Mode, select Write job. 5 Click Detect Spawned Jobs to open the Detect Spawned Job dialog box.
6 Select A specific job definition, and for Job Name enter the name of the Delete
template to use as a template for creating spawned jobs. Click OK to close the dialog box.
8 To set additional print parameters for the job, click Print Parameters to open the
Print Parameters dialog box. The fields in the Print Parameters dialog box are described in Table 7 Add ABAP dialog box parameters on page 62.
9 When you are finished entering parameters in the SAP panel, click Save to Draft.
The job is added to the group scheduling table of the Data Archiving session.
Chapter 3
81
To create the Job Definition template for Delete jobs 1 Select the skeleton for CONTROL-M/CM for SAP jobs from the Current Skeleton
list in CONTROL-M/Desktop. Ensure that you select a regular SAP R3 skeleton and not a SAP Data Archiving skeleton.
2 Choose Edit => Job => New from the menu bar, or click NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP panel, as shown
below.
4 For Job Mode, select Original. 5 Click Detect Spawned Jobs to open the Detect Spawned Job dialog box.
82
6 Select A specific job definition, and for Job Name, enter the name of the Store
template to use as a template for creating spawned jobs. Click OK to close the dialog box
7 Define the parameters for the job definition template for Delete jobs as appropriate.
For descriptions of the parameters, see Table 13 on page 86.
8 When you are finished entering parameters in the SAP panel, click Save to Draft.
The job is added to the group scheduling table of the Data Archiving session.
To Create the Job Definition Template for Store Jobs 1 Select the skeleton for CONTROL-M/CM for SAP jobs from the Current Skeleton
list in CONTROL-M/Desktop. Ensure that you select a regular SAP R3 skeleton and not a SAP Data Archiving skeleton.
2 Choose Edit => Job => New from the menu bar, or click NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP panel.
4 For Job Mode, select Original. 5 Define the parameters for the job definition template for Store jobs as appropriate.
Chapter 3 Defining and monitoring SAP jobs in CONTROL-M 83
Configuring the environment to work with Data Archiving Sessions in XBP 2.0
6 When you are finished entering parameters in the SAP panel, click Save to Draft.
The job is added to the group scheduling table of the Data Archiving session.
NOTE
The templates for Delete and Store jobs should only be created as templates, and should not be ordered and submitted.
Configuring the Environment For more information, see Configuring the environment to to Work with Data Archiving work with Data Archiving Sessions in XBP 2.0 on page 84 Sessions in XBP 2.0
Configuring the environment to work with Data Archiving Sessions in XBP 2.0
The system environment must be properly configured to use Data Archiving with XBP 2.0.
1 Ensure that the Job Interception and Spawned Jobs functionalities are activated in
the relevant SAP system. See Activating Interception and Parent/Child functions in SAP on page 108 and the relevant SAP documentation.
2 Use the ctmxtcfg utility to set the following priorities for the Xtractor process:
84
Configuring the environment to work with Data Archiving Sessions in XBP 2.0
Setting first priority for spawned jobs in the Xtractor process ensures that Delete jobs and Store jobs are created (ordered) according to the template definition of their parent jobs, and NOT according to CONTROL-M interception rules. For more information, see To set job type priorities on page 109.
3 Use the SAP Interception Criteria panel of the ctmxtcfg utility to configure your
SAP system to intercept Data Archiving Delete jobs and Store jobs. This can be done using a rule that is similar to the following:
For more information on extraction management, see To configure the Xtractor to intercept and control SAP jobs on page 111.
Chapter 3
85
NOTE
The asterisk can be used as a wildcard to filter such parameters as account names, Job names and so on. For example, entering *DE* in the Account field generates a list of all accounts that contain the DE string.
Table 13
Parameter Account
Archiving Object
Archiving object in SAP. Mandatory. Free text string. Click Load to generate and display a list of all archiving objects. The asterisk * can be used as a wildcard. Note: The Load button only works if you are using Extended functionality.
Check Sessions
Only available for Write jobs. Enables the user to check if an incomplete archiving session exists for a specific archiving object. Note: An incomplete archiving session is one for which not all Delete jobs ended successfully. Valid values are: Selected = Perform a check Cleared = Do not perform a check (Default) If an incomplete archiving session is found, a message is displayed, and a Data Archiving write job is not created.
86
Table 13
Parameter
Check Variant
If such a Write job is found, a message is displayed, and a new Write job is not created. Copy Spool To Name and path of the file to which the spool should be copied. Optional. Case sensitive, no blank spaces permitted. Note: If *SYSOUT is set, the spool is copied to the same location as the job output. (See Sysout Handling in the CONTROL-M Job Parameter and Variable Reference Guide). Detect Spawned Jobs Only available for Write jobs. A spawned job is a job created by another (parent) job, and monitored by CONTROL-M. This parameter indicates whether to detect and monitor jobs that were spawned by the current SAP job. The following options are available:
No Detection needed: Do not detect spawned jobs of the current job. Detect and Create According to: Parent (current) job definition: Detect spawned jobs of the current job and extract these jobs to CONTROL-M, with identical properties to the parent job. A specific job definition: A field is displayed, in which you enter a specific SAP-type job name. Detected spawned jobs of the current job are extracted to CONTROL-M with identical properties to the selected (not the current) job. Important: The selected job must exist in the same scheduling table as the current job.
For more information, see Initiating a mass parallel process (detecting spawned jobs) on page 122
Chapter 3
87
Table 13
Parameter Job Class
Note: The A and B values only work if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with the CONTROL-M Function Modules installed. Job Mode Determines the task that the job performs. Mandatory. Valid values are:
Write: Creates and runs a Data Archiving write job. Detect Delete: Detects a Data Archiving delete job created in SAP (only used in data archiving with XBP 1.0). Detect Store: Detects a Data Archiving store job created in SAP (only used in data archiving with XBP 1.0).
Job Name
Job name to be monitored or submitted. Mandatory. Mapped to the CONTROL-M/EM Job Name parameter.
See Table 7 Add ABAP dialog box parameters on page 62. Available for Detect jobs only. Indicates the archiving session number in SAP. Click Load to generate and display a complete list of session numbers. This parameter must be set when either of the following occur: The Write job was not created by CONTROL-M The Write job and the Detect job are not part of the same group scheduling table. This parameter should not be set if the Write job and the Detect job are part of the same group scheduling table.
88
Table 13
Parameter
When this parameter is selected the job runs as soon as a background work process is available for it in SAP. If the job cannot start immediately, it is transformed in SAP into a time-based job. If this parameter is cleared, the job either runs immediately, or fails if there are no work processes available to run it.
Chapter 3
89
Table 13
Parameter
Target Server
Variant
Variant name. Mandatory. Only enabled if the Archiving Object parameter is set. Only available for Write jobs. Click Load to generate and display a complete list of variants available for the selected Archiving Object. Uppercase only, blank spaces permitted, special characters are permitted according to SAP guidelines. (For more information, refer to the SAP documentation). When a variant is set for an Archiving Object, the following buttons are enabled:
Copy. Enables the creation of a new variant based on the properties of an existing variant. The new variant is created as soon as you confirm its name. Show. Displays the variant values in a separate window (see Figure 3 on page 67). Change. Enables you to modify the values of the various variant parameters (see Figure 3 on page 67). To apply these parameter values click OK. To keep the variants original parameter values, click Undo Changes. Note: The changes in the values of the variant parameters are only performed during job run time.
Note: The Copy, Show, and Change buttons only work if you use XBP 2.0 functionality or the Extended functionality in an XBP 1.0 system with CONTROL-M Function Modules installed.
90
Ensure that you have a SAP Business Warehouse skeleton defined. For more information, see Creating a job skeleton for SAP jobs on page 45. Ensure that the required InfoPackages (I/P) or Process Chains (P/C) are already defined in the SAP BW system.
NOTE
When defining a P/C in the SAP BW system, ensure that you choose Start Using Meta Chain or API as the start condition for the trigger process (Start Process) of the P/C. If you do not do this, the job fails in CONTROL-M. You can access this parameter from the SAP transaction RSPC; right-click the Trigger process and select Maintain Variant.
To create a SAP BW job 1 Select the skeleton for CONTROL-M/CM for SAP BW jobs from the Current
Skeleton list in CONTROL-M/Desktop.
2 Choose Edit => Job => New from the menu bar, or click NOTE
For descriptions of all panels in the Job Editing form, see Chapter 3 of the CONTROL-M/Desktop User Guide.
3 Click the SAP tab of the Job Editing form to display the SAP-BW panel.
The fields in the SAP panel are described in Table 14 on page 93.
Chapter 3
91
4 Choose the required SAP BW/Business Process Type to enable the appropriate
parameters. There are two options:
InfoPackage (see Figure 9, below) Process Chain (see Figure 10, below)
Figure 9
Figure 10
InfoPackage - Enter the specific InfoPackage information, or click Load to generate a list of available InfoPackages from which you can make a selection. Process Chain - Enter the specific Process Chain information, or click Load to
6 Set additional parameters as required. 7 When you are finished entering parameters in the SAP panel, click Save to Draft.
The job is added to the scheduling table of the Business Information Warehouse.
92
NOTE
The asterisk can be used as a wildcard to filter parameters such as account names and Job names. For example, entering *DE* in the Account field generates a list of all accounts that contain the DE string.
Table 14
Parameter Account
Valid when InfoPackage Business Process Type is selected. Name of the InfoPackage's background job name. Optional. The BI_BTCH prefix is preset and cannot be changed. If no value is entered, SAP-BW generates a name for the background job.
Chapter 3
93
Table 14
Parameter
InfoPackage Description
Valid when InfoPackage Business Process Type is selected. InfoPackage Description. Mandatory. Free text Can be used as a filter before loading a list of InfoPackages, or you can enter a specific InfoPackage name. Tip: Before clicking Load, narrow the search parameters by entering at least one character in the field. The asterisk * can be used as a wildcard. Note: The Load button generates data for both this parameter and InfoPackage Tech. Name.
Valid when InfoPackage Business Process Type is selected. InfoPackage Technical Name, a unique BW-generated InfoPackage ID. Mandatory. Uppercase only, no blank spaces permitted. The value of this parameter can be defined by
entering a specific InfoPackage technical name clicking Load and selecting the required InfoPackage
Note: The Load button generates data for both this parameter and InfoPackage Description. Process Chain Description Valid when Process Chain Business Process Type is selected. Mandatory. Free text. Describes a Process Chain. Can be used as a filter before loading a list of Process Chains, or you can enter a specific Process Chain name. Tip: Before clicking Load, narrow the search parameters by entering at least one character in the field. The asterisk * can be used as a wildcard. Note: The Load button generates data according to data set in this parameter and in Process Chain ID.
94
Table 14
Parameter
Process Chain ID
Determines the task that the job performs. Mandatory. Valid values are:
Chapter 3
95
All fields that were set in Creating a Business Information Warehouse job on page 91 now have read-only status. Additional fields are also displayed. These are described in Table 15 on page 97. The parameters described in Table 15 are available when a job is created and scheduled, and can be seen in the Job Editing form, in CONTROL-M/EM.
96
Table 15
Parameter
Additional InfoPackage Parameters InfoPackage RNR Background Job Count Process Chain Log ID Rerun options
For more information about monitoring jobs in CONTROL-M, see the CONTROL-M/Enterprise Manager User Guide.
Chapter 3
97
98
Chapter
Administrator tasks
This chapter describes tasks that can be performed using the CONTROL-M/CM for SAP utilities. These are described under the following topics:
Handling accounts for CONTROL-M/CM for SAP on page 99 Configuring general parameters on page 104 Configuring and working with the Xtractor process on page 107 Activating the Xtractor process on page 124 Requesting SAP actions on page 125 Converting account definitions on page 135 Converting CONTROL-M option for R/3 jobs on page 137
For more information about CONTROL-M command line utilities, see the CONTROL-M/Server Administrator Guide, and the CONTROL-M/Enterprise Manager Utility Guide.
Adding or modifying a CONTROL-M/CM for SAP account Checking an account configuration Configuring an administrator password
Chapter 4 Administrator tasks 99
The Account utility encrypts the accounts information in a data file located in the CONTROL-M/Agent data directory.
On Unix, ensure that the Unix DISPLAY environment variable is set correctly and enter ctmr3acc on the command line In CONTROL-M/Agent version 6.20, instead of running ctmr3acc, run ctmag. Select the SAP tab, and select Account management.
On Microsoft Windows, go to Start => Programs => CONTROL-M/CM for SAP => Account Utility. In CONTROL-M/Agent version 6.20, go to Start => Programs => CONTROL-M/Agent <agent>. Select the SAP tab, and select Account Management to open the CONTROL-M/CM for SAP Account Management window.
2 Click Add
100
Host name of the computer running the SAP Application Server. This parameter is disabled if Use Logon Group is selected. The number of the SAP instance, for example: 03 Format: Two-digit. This parameter is disabled if Use Logon Group is selected. SAP client, for example: 020 Format: Three-digit.
Client
101
Table 16
Parameter Login
password for the SAP login user. confirmation of the password SAP language indication. Default: English Defines the SAP XBP interface version installed on the SAP server. Valid values are:
To check if XBP 2.0 exists in your system, look in the SAP transaction SA38 for the ABAP program INITXBP2. If this is there, XBP 2.0 exists in your system. SAP Application Version Valid values are:
Three alpha-numeric characters that represent the SAP System ID. This parameter is enabled only if Use Logon Group is selected. Host name of the computer on which the SAP System Message Server is running. This parameter is enabled only if Use Logon Group is selected. The Group name as defined in the SAP SMLG transaction. This parameter is enabled only if Use Logon Group is selected.
If you are using logon groups, you must add a new line to the services file on the computer on which CONTROL-M/Agent is running, as follows: sapms<SID> 36<SYSNR>/tcp
SID represents the System ID, and SYSNR represents the System number of the computer on which the SAP Message Server is running. For example:
sapmsDEV 3619/tcp
102
This should be done for each System ID for which you defined a logon group. For more information about Logon Groups and load balancing, go to the BMC Software
Customer Support web site at http://www.bmc.com/support_home ==> Resolution Knowledge Database and see Resolution 192593.
4 Click OK to save the new account. The Add dialog box closes, and the new account
information is added to the CONTROL-M/CM for SAP Account Management window.
NOTE
The Copy , Edit , and Remove buttons in this window are now enabled. You can use these buttons to add accounts, or edit or delete existing accounts.
To check an account configuration 1 Select the required account in the CONTROL-M/CM for SAP Account
Management window.
. The Account utility checks whether a connection can be established with the SAP server, using the specific account parameters, and displays a message, according to the result of the check.
103
NOTE
The Administrator password is also used to open the Xtractor Configuration utility, see The Xtractor process mechanism on page 107.
To change the CONTROL-M/CM for SAP operating parameters 1 Access the Configuration utility.
On Unix, ensure that the Unix DISPLAY environment variable is set correctly and enter ctmr3cfg on the command line. In CONTROL-M/Agent version 6.20, instead of running ctmr3cfg, run ctmag. Select the SAP tab, and select Configuration management.
On Microsoft Windows, go to Start => Programs => CONTROL-M/CM for SAP => Configuration Utility. In CONTROL-M/Agent version 6.20, go to Start => Programs => CONTROL-M/Agent <agent>. Select the SAP tab, and select Configuration management to open the Configuration Management window.
104
Figure 12
The Configuration Management window parameters are described in Table 17. Table 17
Parameter Audit Level
0: No additional audit level information to be added to the SAP server 1: Add audit level 1 information to the SAP server 2: Add audit level 2 information to the SAP server 3: Add audit level 3 information to the SAP server
Default: 0 Note: Additional audit level information can be viewed in the RZ15 SAP transaction. Max Wait for SAP Recovery The Max Wait for SAP Recovery (minutes) parameter enables you to maintain an Executing status for CONTROL-M/CM for SAP jobs running in a SAP system even when the connection to the SAP system is lost. Default: 0 (minutes). An alert is sent to CONTROL-M/EM when the connection to SAP is lost or reconnected. Note: If the connection is still lost after the set number of minutes has elapsed, the job fails and is assigned a status of Disappeared. Specifies how many times the program should try to reconnect to the SAP system after either
105
Table 17
Parameter
Indicates which job should be copied if Copy mode is set without a JOBCOUNT value. Valid values are:
LAST_SCHEDULED: Last job with scheduled status LAST: Last job (any status) FIRST_SCHEDULED: First job with scheduled status FIRST: First job (any status)
Default: LAST_SCHEDULED Run Org Mode Indicates which job should be released if Original mode is set without a JOBCOUNT value. Valid values are:
LAST_SCHEDULED: Last job with scheduled status FIRST_SCHEDULED: First job with scheduled status
Default: LAST_SCHEDULED Use Extended Specifies whether the extended functionality of CONTROL-M/CM for SAP should be used. Valid values are:
Note: If you select this option, the CONTROL-M Function Modules must be installed on the SAP server on which you are working. For more information about extended functionality, see Step 4 CONTROL-M function modules on page 37. Max List Entries Specifies the maximum number of rows to be produced for a Load list. Valid values are: 1-1000. Default: 250
Mixed Case Job Name Allow mixed case job name for External Mode jobs. (For job (External Jobs) monitoring purposes only.) Valid values are:
Cleared = No (Upper case only) (Default) Selected = Yes (Mixed case permitted)
Note: When this parameter is cleared, searches only find job names with all uppercase characters, regardless of how information was entered. When this parameter is selected, all searches are run exactly specific to the character information entered. Applicable for the External job mode only.
106
Table 17
Parameter
Mixed Case Job Name Allow mixed case job name for other CONTROL-M jobs. (For (Other CTM Jobs) creating or submitting jobs.) Valid values are:
Cleared = No (Upper case only) (Default) Selected = Yes (Mixed case permitted)
Note: When this parameter is cleared, searches only find job names with all uppercase characters, regardless of how information was entered. When this parameter is selected, all searches are run exactly specific to the character information entered. Applicable for Create, Copy, and Original job modes.
2 Modify the Configuration parameters, if necessary. 3 Click Save to save your choices. NOTE
On Microsoft Windows, you must restart CONTROL-M/Agent after modifying any CONTROL-M/CM for SAP operating parameters, in order for the changes to take effect.
intercepts and controls SAP CCMS jobs detects running SAP CCMS jobs detects spawned jobs
Each of these functions is a separate procedure. All three are managed by the Xtractor process, to coordinate these functions to work simultaneously and without conflicts. The Xtractor Configuration Management utility (ctmxtcfg) has an easy-to-use GUI. It includes the following panels:
General Configuration, as described in General configuration of the Xtractor process on page 109
107
SAP Interception Criteria and CTM Interception Rules, as described in Job interception and control with the Xtractor process on page 111 Extraction Rules, as described in Extracting and monitoring SAP CCMS jobs with the Xtractor on page 116
The configuration for detecting spawned jobs is performed separately, using the Job Editing form. For more information, see Initiating a mass parallel process (detecting spawned jobs) on page 122. The Xtractor process stores its configuration files in the CONTROL-M/Agent
cm/SAP/data directory, on both Unix and Microsoft Windows.
NOTE
The Xtractor process uses the CONTROL-M ctmorder utility to create jobs in CONTROL-M. Therefore, you may need to adjust the security settings in CONTROL-M/Server.
To activate these functions, run the INITXBP2 ABAP program in your SAP system and switch on the required actions.
108
NOTE
Extracted jobs cannot have a higher priority than Intercepted or Spawned jobs.
On Unix, ensure that the Unix DISPLAY environment variable is set correctly and enter ctmxtcfg on the command line. In CONTROL-M/Agent version 6.20, instead of running ctmxtcfg, run ctmag. Select the SAP tab, and select Xtractor management.
On Microsoft Windows, Go to Start => Programs => CONTROL-M/CM for SAP => Xtractor Configuration management. In CONTROL-M/Agent version 6.20, go to Start => Programs => CONTROL-M/Agent <agent>. Select the SAP tab, and select Xtractor management.
109
If you defined an Administrator password for the ctmr3acc utility, you are prompted to enter it now. (See To configure an Administrator password on page 103.)
NOTE
If Intercepted Jobs is assigned a priority, you must ensure that at least one CTM Interception Rule is selected, as described on page 113.
3 Select the Activity Log check box, to have a log created and saved in the
CONTROL-M/Agent proclog directory. This log has the following name structure: xt_log_<YYMMDD>.
4 In the Interval Time field, enter the required number of seconds between loops
cycles of the Xtractor.
5 Click Save.
110
NOTE
All intercepted jobs must be processed by CONTROL-M to avoid jobs being stuck in Scheduled status forever.
If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user. Ensure that the Interception function is enabled in your SAP system (see Activating Interception and Parent/Child functions in SAP on page 108). Assign a priority to Intercepted jobs in the Xtractor General Configuration tab (see General configuration of the Xtractor process on page 109). Activate the Xtractor process (see Activating the Xtractor process on page 124).
To configure the Xtractor to intercept and control SAP jobs 1 Access the Xtractor Configuration Manager.
On Unix, ensure that the Unix DISPLAY environment variable is set correctly and enter ctmxtcfg on the command line. In CONTROL-M/Agent version 6.20, instead of running ctmxtcfg, run ctmag. Select the SAP tab, and select Xtractor management.
On Microsoft Windows, go to Start => Programs => CONTROL-M/CM for SAP => Xtractor Configuration management.
111
In CONTROL-M/Agent version 6.20, go to Start => Programs => CONTROL-M/Agent <agent>. Select the SAP tab, and select Xtractor management. If you defined an Administrator password for the ctmr3acc utility, you are prompted to enter it now. (See To configure an Administrator password on page 103.)
NOTE
The Change Account button can be used at any time to open the Select SAP Account dialog box and configure a different account.
Click SAP Interception Criteria to open the SAP Interception Criteria panel.
3 Click Load
Figure 15
The Add
, Copy
, Edit
, and Remove
112
5 Set the Job Name criteria (for example BTC_*) and the User criteria (for example,
DEB*), and click OK. The * symbol can be used as a wildcard filter for both
parameters.
6 When you are satisfied that all criteria in the SAP Interception Criteria panel are set
according to your requirements, click Save. Information is sent to SAP, and all jobs that match the Interception Criteria are intercepted by SAP.
WARNING
Carefully consider how you set Job Name and User Name criteria. Anything too general (for example, entering * in both fields), could cause system or other user jobs to be intercepted. Additionally, you should ensure that you have no more than one account that uses Interception rules using the same system and client.
113
Table 18
Parameter
Into Group
None (Default) - use when the job template does not belong to a group scheduling table Recent - add the job to the group scheduling table that was most recently ordered Standalone - order the job with adding it to a group scheduling table New Group - order the job to a new group scheduling table Specific - set a group scheduling table Order ID to which to add the job
The last four options are similar to the Force Into options of CONTROL-M/EM. For more information about CONTROL-M group scheduling tables and Force Into parameters, see the CONTROL-M/EM User Guide. Job Name User Program Template Job Name Intercepted SAP job name, to be extracted from SAP to CONTROL-M. The *wildcard can be used. SAP user that created the job. The *wildcard can be used. LEAVE AS DEFAULT (*) Name of existing SAP-type CONTROL-M job (not submitted) to be used as a template for creating the job in CONTROL-M. Mandatory unless User Exit is selected. Template Scheduling Table Existing CONTROL-M scheduling table to which the Template Job Name belongs. Mandatory, unless User Exit is selected. User Exit Path to an executable or script file that includes user-specific definitions about how to create the intercepted jobs in CONTROL-M. Mandatory, unless Template Job Name is selected. If User Exit is selected, you must do one of the following:
Enter a valid path to a pre-defined executable or script file. Click Select to select an existing file.
For more information about User Exits, see Defining a user exit on page 123.
114
9 Click OK. The data is saved in the Xtractor Configuration utility, but no
information is passed to the Xtractor process until you click Save. The Copy , and Remove buttons are now enabled. , Edit
10 When you are satisfied that all criteria in the CTM Interception Rules panel are set
according to your requirements, click Save.
NOTE
If you do not follow this procedure, a predefined User Exit is used by the Xtractor. For more information, see Pre-defined User Exit for the Xtractor Process on page 124.
115
1 Define SAP interception criteria to intercept all jobs created by a specific group of
users.
4 In the CTM Interception Rules panel, set the job that you just defined as the
Template Job Name.
In this example, if your system has ten Background WPs available, the selected group of users cannot use more than eight, and, therefore, the system always leaves two WPs available for other purposes.
NOTE
The functionality available in previous versions of CONTROL-M/CM for SAP using the ctmextract utility is still supported. For details, see Appendix A, Extracting and monitoring jobs.
If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user. Assign a priority to Extracted jobs in the Xtractor General Configuration tab (see General configuration of the Xtractor process on page 109). Activate the Xtractor process (see Activating the Xtractor process on page 124).
116
To extract running SAP CCMS jobs 1 Access the Xtractor Configuration Manager.
On Unix, ensure that the Unix DISPLAY environment variable is set correctly and enter ctmxtcfg on the command line. In CONTROL-M/Agent version 6.20, instead of running ctmxtcfg, you can run ctmag. Select the SAP tab, and select Xtractor management.
On Microsoft Windows, go to Start => Programs => CONTROL-M/CM for SAP => Xtractor Configuration management. In CONTROL-M/Agent version 6.20, go to Start => Programs => CONTROL-M/Agent <agent>. Select the SAP tab, and select Xtractor management. If you defined an Administrator password for the ctmr3acc utility, you are prompted to enter it now. (See To configure an Administrator password on page 103.)
2 The Xtractor Configuration Management dialog box is displayed, overlaid with the
Select SAP Account dialog box.
NOTE
The Change Account button can be used at any time to display the Select SAP Account dialog box and configure a different account.
3 An Add dialog box is displayed, in which you can set values for the Extraction
Rules parameters. These rules set which jobs should be extracted from SAP.
117
The available fields and definitions are described in Table 20. Table 20
Field Name JOBNAME
CCMS job number. 8-digit number. Optional. Group to which the jobs belong. Free text. Optional Owner of the job in SAP. Mandatory. Valid values are: any generic value, for example: *Y*
FROM_DATE
Scheduled start date for CCMS job. Optional. Valid format: YYYYMMDD
118
Table 20
Field Name
FROM_TIME
TO_DATE TO_TIME
Scheduled end date for CCMS job. Optional. Valid format is: YYYYMMDD Scheduled end time for CCMS job. Optional. Valid format: HHMMSS Note: This parameter depends on the specification of both FROM_DATE and TO_DATE for the same day.
NO_DATE WITH_PRED EVENTID EVENTPARAM PRELIM SCHEDULED READY RUNNING FINISHED ABORTED
Selection flag for jobs with no start date. Optional. Valid values are: X/N Selection flag for jobs with start after predecessor. Optional. Valid values are: X/N Background event ID. Free text. Optional Background Event parameter. Free text. Optional. Status of CCMS job. Valid values are: X/N (Default: X). Optional.
119
5 Click Add
in the Rules Viewer to display another Add dialog box where you can assign sub-rules to jobs or sets of jobs. These rules determine how jobs are created and monitored in CONTROL-M, and are described in Table 21. This step can be repeated to add additional rules in the Rules Viewer. Rules Viewer parameters (Part 1 of 2)
Field Description SAP job name. Mandatory Can be either a specific or a generic name.
Table 21
Field Name
JOBNAME
Note: The following parameters are used to set how the job should be created in CONTROL-M. You can define either according to a predefined job and scheduling table (Template Job Name and Template Scheduling Table), or according to a user-defined script (User Exit). Template Job Name Name of an existing CONTROL-M job (not submitted) to be used as a template for creating a SAP-type job in CONTROL-M. Mandatory, unless User Exit is selected. An existing CONTROL-M scheduling table to which the Template Job Name belongs. Mandatory, unless User Exit is selected. The path to an executable or script file, that includes user-specific definitions about how to create the extracted jobs in CONTROL-M. Mandatory, unless Template Job Name is selected. If User Exit is selected, you must either
User Exit
Enter a valid path to a pre-defined executable or script file or Click Select to select an existing file.
For more information about User Exits, see Defining a user exit on page 123. All of the following parameters are optional, and for advanced users only. JOBCOUNT STEPCOUNT SDLSTRTDT SDLSTRTTM BTCSYSTEM SDLDATE SDLTIME SDLUNAME LASTCHDATE Job ID. Optional. 8-digit number. Job step ID number. Optional. Scheduled start date for background job. Optional. Scheduled start time for background Job. Optional. Target system to run background job. Optional. Date of job or step scheduling. Optional. Time of a scheduled job or step. Optional. Initiator of job or step scheduling. Optional. Date of last job change. Optional
120
Table 21
Field Name
LASTCHTIME LASTCHNAME RELDATE RELTIME RELUNAME STRTDATE STRTTIME ENDDATE ENDTIME PERIODIC STATUS AUTHCKNAM AUTHCKMAN SUCCNUM PREDNUM LASTSTRTDT LASTSTRTTM WPNUMBER WPPROCID EVENTID EVENTPARM JOBCLASS CALENDARID EXECSERVER REAXSERVER
6 Click OK. The data is saved. The Rule Viewer is re-displayed, with the
Copy
, Edit
, and Remove
buttons enabled.
7 Click OK. All of the information that you set during this procedure is displayed as
one entry in the Extraction Rules panel. The Copy buttons are enabled. , Edit , Rules , and Remove
121
NOTE
Click to directly access the Rules Viewer of a specific extraction rule, in the Extraction Rules panel. You can now modify the existing rules, or add new ones.
8 When you are satisfied that all criteria in the Extraction Rules panel are set
according to your requirements, click Save.
Ensure that the Parent/Child function is enabled in your SAP system (see Activating Interception and Parent/Child functions in SAP on page 108). Assign a priority to Spawned jobs in the Xtractor General Configuration tab (see General configuration of the Xtractor process on page 109). Activate the Xtractor process (see Activating the Xtractor process on page 124).
2 In the SAP panel, click Detect Spawned Jobs to display the Detect Spawned Jobs
dialog box.
122
For more information about the Job Editing form and defining a CONTROL-M job, see the CONTROL-M/Enterprise Manager User Guide.
4 Click OK. The Xtractor process detects spawned jobs, according to the priority set
in the General Configuration panel of the Xtractor Configuration Management utility. For more information see General configuration of the Xtractor process on page 109.
123
Table 22
1 2
Parameter number
A successful return value of the script is 0 (zero). Any other return value causes the job to be intercepted or extracted again, at the next iteration of the Xtractor process. The User Exit script can run a user-defined action, and can use other CONTROL-M utilities (for example, ctmorder and ctmcreate) to handle the Extracted or Intercepted job.
This User Exit script is called by the default Interception Rule if the intercepted job has not met the conditions of any preceding rule. This script submits the job using the CONTROL-M ctmcreate command. You can use this script as one example of how to create a User Exit.
124
NOTE
If the computer on which CONTROL-M/Agent is installed is rebooted while the Xtractor process is active, CONTROL-M/Agent automatically restarts the Xtractor process. (A similar procedure occurs with CONTROL-M/Tracker.)
1 Select Start => Settings => Control Panel => Administrative Tools => Services to
display the Services dialog box.
click Start to start the Xtractor service or click Stop to stop the Xtractor service
Display a list of defined variants for a specific program, as described on page 126. Alter the value of a specific variant in a program, as described on page 127. Display the details of a specific variant, as described on page 128. Enable a SAP background processing event to be raised (triggered), as described on page 129. Delete a job from the SAP database, as described on page 130. Define a new job, as described on page 131. Modify an existing job, as described on page 133. Remove process chain from schedule on page 134.
125
NOTE
This utility can be used within ctmcreate or ctmdefine. However if it is used this way, the command is limited to 512 characters.
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION var_mon -SAPR3-ACCOUNT <account_name> -SAPR3-PROGRAM <program_name> [-Agent <agent_name>]
Table 23
Parameter
126
Below is an example of the ctmr3req utility when used to display a list of variants, using the DGOLDHAD account, for the prog1 program:
D:\Program files\BMC Software\CONTROL-M aGENT\David\ctmr3req -SAPR3-ACTION var_mon -SAPR3-ACCOUNT DGOLDHAD -SAPR3-PROGRAM prog1 -Agent Default
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION var_edit -SAPR3-ACCOUNT <account_name> -SAPR3-PROGRAM <program_name> -SAPR3-VAR <variant_name> -SAPR3-VAR_PARAM<nn> <variant_parameter_name>=<variant_parameter_value> [-SAPR3-VAR_TEXT <variant_text>] [-Agent <agent_name>]
Table 24
Parameter
-SAPR3-ACTION -SAPR3-ACCOUNT
127
Table 24
Parameter
-SAPR3-VAR_TEXT
In the following example, the ctmr3req utility is used to alter parameter values, using the DGOLDHAD account, for the prog1 program, with the var1 variant, when the Airline value is an integer between 5 and 9, and the text is This is a test variant. All parameters are mandatory, except the -SAPR3-VAR_TEXT parameter, as indicated by the square brackets.
ctmr3req -SAPR3-ACTION var_edit -SAPR3-ACCOUNT DGOLDHAD -SAPR3-PROGRAM prog1 -SAPR3-VAR var1 -SAPR3-VAR_PARAM01 "AIRLINE=I,BT,5 => 9" [-SAPR3-VAR_TEXT "This is a test var"]
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
128
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION var_show -SAPR3-ACCOUNT <account_name> -SAPR3-PROGRAM <program_name> -SAPR3-VAR <variant_name> [-Agent <agent_name>]
Table 25
Parameter
In the following example, the ctmr3req utility is used to display variant details in a program, searching for var1 variants, using the DGOLDHAD account, for the RSAAA02 program. All parameters are mandatory.
ctmr3req -SAPR3-ACTION var_show -SAPR3-ACCOUNT DGOLDHAD -SAPR3-PROGRAM prog1 -SAPR3-VAR var1
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
Deleting a job
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION raise_event -SAPR3-ACCOUNT <account_name> -SAPR3-EVENT_ID <event_ID> -SAPR3-EVENT_PARAM <event_parameter> [-Agent <agent_name>]
Table 26
Parameter
In the following example, the ctmr3req utility is used to raise the ev1 event, with the parameter value of evparm1, using the DGOLDHAD account. All parameters are mandatory.
ctmr3req -SAPR3-ACTION raise_event -SAPR3-ACCOUNT DGOLDHAD -SAPR3-EVENT_ID ev1 -SAPR3-EVENT_PARAM evparm1
Deleting a job
Use this procedure to delete a specific job from the SAP database.
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
To delete a job
Enter the following command, with the parameters set according to the values described in Table 27, and press <Enter>. on Unix
ctmr3req -SAPR3-ACTION job_delete -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-JOBCOUNT <job_count>
130
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION job_delete -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-JOBCOUNT <job_count> [-Agent <agent_name>]
Table 27
Parameter
In the following example, the ctmr3req utility is used to delete a job. All parameters are mandatory.
ctmr3req -SAPR3-ACTION job_delete -SAPR3-ACCOUNT DGOLDHAD -SAPR3-JOBNAME job1 -SAPR3-JOBCOUNT 12344321
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
To define a job
Enter the following command, with the parameters set according to the values described in Table 28, and press <Enter>. on Unix
ctmr3req -SAPR3-ACTION job_define -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-STEP-S<nn>-STEP_TYPE {A|C|E} -SAPR3-STEP-S<nn>-PROGRAM <program_name>
131
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION job_define -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-STEP-S<nn>-STEP_TYPE {A|C|E} -SAPR3-STEP-S<nn>-PROGRAM <program_name> [-Agent <agent_name>]
NOTE
The remainder of the syntax for this action depends on the value of the -SAPR3-STEP-S<nn>-STEP_TYPE parameter, and subsequent parameter values.
Table 28
Parameter
-SAPR3-STEP-S<nn>PROGRAM
The name of the job step program. Mandatory. nn is a two-digit number that represents the step number.
NOTE
The Target Group and Target Server parameters are not supported by the ctmr3req utility in
In the following example, the ctmr3req utility is used to define a new job. The first five parameters are mandatory, including -SAPR3-STEP-S01-STEP_TYPE. The following step types can be selected:
132
Modifying a job
The remaining parameters are defined according to both the step type and your specifications. There can be more than one step type, and not all step types require the same specification.
ctmr3req -SAPR3-ACTION job_define -SAPR3-ACCOUNT DGOLDHAD -SAPR3-JOBNAME job1 -SAPR3-STEP-S01-STEP_TYPE A -SAPR3-STEP-S01-PROGRAM ZQA_WITH_VARIANTS -SAPR3-STEP-S01-VAR-NAME MOMO -SAPR3-STEP-S01-PRINT_COPIES 030
Modifying a job
Use this procedure to modify an existing job in the SAP database.
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
To modify a job
The procedure for modifying an existing job using the ctmr3req utility is very similar to the procedure for defining a new job using this utility. Enter the following command, with the parameters set according to the values described in Table 29, and press <Enter>. on Unix
ctmr3req -SAPR3-ACTION job_modify -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-JOBCOUNT <job_count> -SAPR3-STEP-S<nn>-STEP_TYPE {A|C|E} -SAPR3-STEP-S<nn>-PROGRAM <program_name>
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION job_modify -SAPR3-ACCOUNT <account_name> -SAPR3-JOBNAME <job_name> -SAPR3-JOBCOUNT <job_count> -SAPR3-STEP-S<nn>-STEP_TYPE {A|C|E} -SAPR3-STEP-S<nn>-PROGRAM <program_name> [-Agent <agent_name>]
133
Modifying a job
NOTE
The remainder of the syntax for this action depends on the value of the -SAPR3-STEP-S<nn>-STEP_TYPE parameter, and subsequent parameter values.
Table 29
Parameter
nn is a two-digit number that represents the step number. -SAPR3-STEP-S<nn>PROGRAM The name of the job step program. Mandatory. nn is a two-digit number that represents the step number.
NOTE
For information about additional parameters for use when defining a new job, see the CONTROL-M Parameters and Variables Reference Guide.
In the following example, the ctmr3req utility is used to modify an existing job. As with the procedure for defining a new job (see page 131), the first five parameters are mandatory. In this example, the second step is being modified. Even if the step type is the same as it was previously, it must still be set in the utility.
ctmr3req -SAPR3-ACTION job_modify -SAPR3-ACCOUNT DGOLDHAD -SAPR3-JOBNAME job1 -SAPR3-JOBCOUNT 13292201 -SAPR3-STEP-S02-STEP_TYPE A -SAPR3-STEP-S02-PROGRAM ZQA_WITH_VARIANTS -SAPR3-STEP-S02-VAR-NAME KUKU
134
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user.
on Windows
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION PC_STOP_SCHEDULE -SAPR3-ACCOUNT <account_name> -SAPR3-PROCESSCHAIN_ID <chain_id> [-Agent <agent_name>]
Table 30
Parameter
SAPR3-ACTION SAPR3-ACCOUNT
Below is an example of the ctmr3req utility when used to remove a process chain from schedule, using the DGOLDHAD account, and pc1 as processchain_id:
ctmr3req -SAPR3-ACTION PC_STOP_SCHEDULE -SAPR3-ACCOUNT DGOLDHAD -SAPR3-PROCESSCHAIN_ID pc1
NOTE
This utility is specific to users who have a previous installation of CONTROL-M/Option for R/3. Both CONTROL-M/CM for SAP and CONTROL-M option for R/3 can exist and run concurrently on your computer.
If you are working in a Microsoft Windows environment, open a new DOS prompt window. If you are working in a Unix environment, ensure that you are logged in as the CONTROL-M/Agent user. Before running this utility, you must use the ctm_r3_acc_man utility of CONTROL-M option for R/3 to modify the R/3 Language account fields to single-letter values. Note that single-letter language values are case sensitive. For example, D stands for German, while d stands for Serbo-Croatian. The single-letter values for languages can be found in the SPRAS field of SAP table T002. For more information on using one or two letters to represent languages, refer to SAP documentation and SAP Note 92012.
To convert an account definition 1 Enter the conr3acc command and the full path and filename of the account file that
you want to convert, on the command line, as shown in the syntax example below:
conr3acc $HOME/r3/data/acc_file
2 Press <Enter>. CONTROL-M/CM for SAP takes the information from the
CONTROL-M/Option for R/3 account file, and creates a new file, based on this information, located with all CONTROL-M/CM for SAP accounts file. The account definition is automatically saved.
136
NOTE
This utility can convert both command line jobs, and jobs that use the Grid functionality in Enterprise Controlstation 6.0.0x. For more information regarding which jobs can be converted, see What can be converted? on page 138.
You must use CONTROL-M/EM version 6.1.0x. This means that scheduling tables that were created using 6.0.x Grid functionality must first be migrated to CONTROL-M/EM 6.1.0x and then exported, as described in Step 1, below. If you are working in a Microsoft Windows environment, open a new DOS prompt window.
To convert jobs 1 In CONTROL-M/EM, export the scheduling table that you want to convert, using
the exportdeftable utility. For more information about the exportdeftable utility, see the CONTROL-M/Enterprise Manager Utility Guide.
2 Run the conversion utility from the temporary directory using the following
command:
ctmr3con [-IN_FILE <input_file>] [-OUT_FILE <output_file>] [-JOB_MAN_DEF_MODE {CREATE|DEFINE|MODIFY|RUN_ COPY|RUN_ORG|WAITONLY}] [-RUN_COPY_MODE {LAST|FIRST|LAST_SCHEDULED| FIRST_SCHEDULED}] [-HELP]
NOTE
This syntax is applicable for both Microsoft Windows and Unix operating systems. However, in Unix you may need to add ./ before ctmr3con (for example, ./ctmr3con -IN_FILE abc.xml -JOB_MAN_DEF_MODE RUN_ORG).
137
Table 31
Parameter -IN_FILE
-OUT_FILE
Output file. Default name: <input_file>_conv_output.xml For example, if the input file name is em_out_file.xml, the output file would be em_out_file_conv_output.xml.
-JOB_MAN_DEF_MODE
Specifies the default function to be performed by the Job Manager utility. Default value is RUN_COPY. Note: For more information, see the CONTROL-M for R/3 Administrator Guide.
-RUN_COPY_MODE
Indicates which instance of the job should be copied if the -run_copy parameter is set without a specific -cnt (count) number. Default value is LAST_SCHEDULED. Note: For more information, see the CONTROL-M Option for R/3 Administrator Guide.
The conversion utility should be run only from the directory in which it is located.
3 Before importing the new scheduling table into CONTROL-M/EM, either delete
the original scheduling table (using the Local Delete functionality), or rename it.
4 Run the deftable utility on the output file (converted scheduling table). The output
file name is displayed at the end of the conversion utilitys output (see Step 2 on page 137). The jobs in the selected scheduling table are converted. For more information about the deftable utility, see the CONTROL-M/Enterprise Manager Utility Guide.
ctm_r3_xjob_man ctm_r3_job_man ctm_r3_bi_mon ctm_r3_xvar_mon ctm_r3_var_man (except the copy variant function) ctm_r3_xutils (for raise event functionality only)
138
Jobs for the following CONTROL-M Option for R/3 utilities cannot be converted:
ctm_r3_job_mand ctm_r3_xjob_mand ctm_r3_job_mon ctm_r3_xjob_mon ctm_r3_xutils (for all functionality except raise event)
NOTE
The ctm_r3_job_mand and ctm_r3_xjob_mand utilities are not converted because CONTROL-M/Control Module for SAP has a built-in tracking facility, rendering these utilities redundant. If you are no longer using CONTROL-M Option for R/3, you can stop using jobs containing these utilities or delete these jobs.
Known issues
The following table describes special considerations and limitations for conversion of certain parameters or utilities: Table 32 Problem parameters
Clarification / remarks The Copy Variant function is not supported. Not supported. Not supported for creating new steps (not existing steps) Mandatory, unless the -pass parameter is entered. For jobs without the -acc parameter that are based on parameters in the configuration file, see the explanation of the -pass parameter, below. The account name (as represented by the -acc parameter) is left as is. The assumption is that the account conversion utility (conr3acc) was used successfully and that the new account name is identical to the original one.
139
Table 32
-pass
Problem parameters
Clarification / remarks This parameter is ignored if an -acc parameter is indicated. (See the explanation of the -acc parameter above.) If this parameter exists, the user must create an account called DEFAULT, as jobs are converted using enter an account named DEFAULT.
Parameter / feature
-cancel -debug
Not supported. This parameter is ignored. Debugging information is recorded by CONTROL-M/Control Module for SAP according to the debug level configured in CONTROL-M/Agent. For more information, see the section describing the configuration utility (ctmag) in the CONTROL-M/Agent Administrator Guide. Only jobs with a -start value of Y are converted. The -wait parameter is ignored.
ctm_r3_bi_mon
Not Supported. Job is not converted and an error message is issued. Redirection symbols at the end of a command line of a job are left as is. However, this is only when jobs are converted to a command line. Redirection symbols are removed from the command line of jobs that are converted to CONTROL-M/ Control Module for SAP jobs, with a tasktype of JOB.
Output command line Not supported. length greater than 512 characters
140
Appendix
if the XBP 2.0 interface is not installed on your SAP system when extracting job definitions
create one or more mirror-image jobs by using criteria identical to that of specific jobs already running in SAP These are then monitored using the CONTROL-M ctmcreate utility (but are not submitted). This enables CONTROL-M to track the progress of the actual job in SAP. This mirror image is stored in the Active Jobs file in the CONTROL-M/Server database. For more information, see Monitoring SAP jobs with the extraction utility on page 146.
define one or more jobs in CONTROL-M, by using criteria identical to that of specific jobs defined in the SAP database It does this and uses the CONTROL-M ctmdefine utility to store these jobs in the CONTROL-M definition environment. For more information, see Extracting job definitions with the extraction utility on page 147.
To perform either of these actions, you must create a rule file, as described in Defining a rule file with the extraction utility on page 142.
141
If you are working in a Microsoft Windows environment, ensure that you have a DOS window running. If you are working in a Unix environment, ensure that you are logged in to a CONTROL-M/Agent account.
To create a rule file 1 Open a new text file, in a text editor program. A rule file should be structured in
two sections, as described in the following example:
The first section indicates which job definitions are to be monitored or extracted, by setting the selection criteria for the job (described below). The second section specifies whether to monitor the job (ctmcreate), or extract its definition to CONTROL-M (ctmdefine), described on page 144.
2 In the first section of your rule file, set AutoEdit variables under the [CONDITION1]
string. The AutoEdit variables available are described in Table 33. Type the required AutoEdit variables, and save. Table 33 Rule file AutoEdit parameters (part 1 of 3)
Description Name of account (connection for this query). Mandatory. Free text
142
Table 33
%%SAPR3-JOBNAME
%%SAPR3-OWNER
Owner of the job in SAP Valid values are any generic value. Example: * Mandatory
%%SAPR3-JOBCOUNT
%%SAPR3-JOBGROUP
%%SAPR3-FROM_DATE
Scheduled start date for CCMS job Valid format is: YYYYMMDD
%%SAPR3-FROM_TIME
Scheduled start time for CCMS job Valid format is: HHMMSS Note: This parameter depends on the specification of both %%SAPR3-FROM_DATE and %%SAPR3-TO_DATE for the same day.
%%SAPR3-TO_DATE
Scheduled end date for CCMS job Valid format is: YYYYMMDD
143
Table 33
%%SAPR3-TO_TIME
%%SAPR3-EVENT_ID
%%SAPR3-EVENT_PARAM
%%SAPR3-RELEASED
%%SAPR3-READY
%%SAPR3-ACTIVE
%%SAPR3-FINISHED
%%SAPR3-CANCELED
144
The second section depends on whether you want to monitor or extract job definitions. As indicated in the example, you must choose either [CTMCREATE] or [CTMDEFINE], as required:
Choose [ctmcreate] to create one or more jobs that monitor identical jobs already running in SAP. For more information, see Monitoring SAP jobs with the extraction utility on page 146. Choose [ctmdefine] to extract job definitions from SAP into the CONTROL-M/Server database. For more information, see Extracting job definitions with the extraction utility on page 147.
3 Set the parameters for the second section. See Table 34 for a full list of parameters.
All parameters are mandatory, regardless of whether you choose to monitor or extract job definitions.
NOTE
All parameters described in Table 34 exist in both utilities, except where otherwise indicated.
Table 34
Parameter NODEGRP
Account name (where the connection parameters to the SAP server are set). Relevant CONTROL-M/Server group name (for ctmdefine-set actions). Relevant CONTROL-M/Server table name (for ctmdefine-set actions).
NOTE
You can define any CONTROL-M parameter accepted by either the ctmcreate or ctmdefine utilities. For a detailed description of all CONTROL-M job parameters, see the CONTROL-M Job Parameter and Variable Reference Guide.
145
Subject Monitoring SAP jobs using the rule file you have just created.
Location See Monitoring SAP jobs with the extraction utility on page 146
Extracting Job Definitions using the rule See Extracting job definitions with the extraction file you have just created. utility on page 147
NOTE
Mirror images are only created for jobs that do not have scheduled status.
If you are working in a Microsoft Windows environment, ensure that you have a DOS window running. If you are working in a Unix environment, ensure that you are logged in to a CONTROL-M/Agent account.
To monitor the job 1 Create a rule file as described in Defining a rule file with the extraction utility on
page 142.
NOTE
This command line can be used as part of a CONTROL-M regular job (command line), or cyclic job. By using a cyclic job, you can repeat the job extraction according to the selected rule file.
146
NOTE
To make a ctmextract instance re-extract all jobs, add -IGNORE_DUP Y to the original command, and repeat the procedure described above.
The utility runs according to the specifications in the rule file. Table 35
Parameter -CM_APPL_TYPE
-RULETABLE
Used to set the name and path of the rule file. Valid value is the selected rule file.
-IGNORE_DUP
Causes a ctmextract instance to re-extract all jobs, regardless of whether they were already extracted. Valid value: Y
Extracting Job Definitions using the rule See Extracting job definitions with the extraction file (as described above) that you have utility on page 147 just created.
NOTE
Only jobs that have scheduled status can have their definition extracted.
147
If you are working in a Microsoft Windows environment, ensure that you have a DOS window running. If you are working in a Unix environment, ensure that you are logged in to a CONTROL-M/Agent account.
To extract job definitions 1 Create a rule file (as described in Defining a rule file with the extraction utility
on page 142).
NOTE
To make a ctmextract instance re-extract all jobs, add -IGNORE_DUP Y to the original command, and repeat the procedure described above.
148
Appendix
NOTE
This may require you to install later support packages on your SAP system.
Table 36
835846
782127
756901
833777 732350
699144 609462
Appendix B
149
Table 36
101146 635095 487374 728947 839526
330267 664830
677081
Follow general instructions for configuring Standard Jobs, as described in SAP Note 16083. If this does not resolve the problem, configure SAP_REORG_XMILOG to delete XMI logs more frequently. When using SAP releases earlier than 4.6C, follow the instructions in SAP Note 182963.
Jobs are created with the wrong job class. Jobs become stuck in "Released" status instead of being executed. Slow reaction of certain BAPI functions can affect the Extractor process performance, and the loading of job names in the Job Editing form. Authorization checks are not performed when releasing intercepted jobs. When a parent job name contains a period ("."), the child job is not always registered as such, causing the parent job to finish without waiting until the child job has finished. When copying a job, the Spool List Recipient is not copied. A composite SAP Note on XPB 2.0.
641175 604496
150
Table 36
628917
856780 790615
Appendix B
151
152
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index
A
ABAP description 12 ABAP Program parameter Add ABAP window 62 Account Management window 100 Account parameter Data Archiving 86 SAP panel 51 SAP-BW 93 Accounts checking configuration 103 configuration parameters 101 converting definitions 135 defining 31, 100 handling 99 Activating Xtractor process 124 Active SAP job status 15 Add ABAP window parameters 62 Add External Program window parameters 69, 71 Administrator password 103 Altering variant parameter values 127 Application Node Group parameter 47 Application parameter 47 Archive ID parameter Add ABAP window 62 Archive Mode parameter Add ABAP window 64 Archive Text parameter Add ABAP window 62 Archiving Object parameter Data Archiving 86 Audit Level parameter 105 Authorization 29 SAP user 102 Authorization parameter Add ABAP window 62 SAP-BW 93 BMC Software, contacting 2 Business Warehouse 91 Business Warehouse job creating 91
C
Canceled SAP job status 15 Check Sessions parameter Data Archiving 86 Check Variant parameter Data Archiving 87 Client parameter ctmr3acc utility 101 Columns parameter Add ABAP window 62 Condition Format field Skeleton Editor 47 Configuration Management window 110 Configuring environment XBP 2.0 84 conr3acc utility 135 Controlling jobs 112 CONTROL-M Function Modules 37 CONTROL-M functionality 11 CONTROL-M Job Name parameter SAP-BW 94 CONTROL-M/Option for R/3 existing installation 25 Conversion utility installing 42 uninstalling 42 Unix 42 Conversion Utility parameters 138 Converting account definitions 135 Converting R/3 jobs 137 Copy From Step parameter SAP panel 51 Copy Spool To parameter Data Archiving 87 CTM interception rules 115 CTM interception rules parameters 114 ctmcreate parameters 145
B
Background Job Count parameter SAP-BW 97 Background Job Name parameter
Index
153
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
ctmdefine parameters 145 ctmextract utility 141 ctmgetcm utility 46 ctmr3cfg utility 139 ctmr3req utility 125, 133 ctmxtcfg utility 107 customer support 3 Drafts, Data Archiving sessions 79
E
Event, raising 129 Execution panel 78 Existing jobs scheduling 15 exportdeftable utility 137 Extended and Standard mode 139 Extended mode 37 Extracting job definitions 147 Extracting SAP CCMS jobs 116 Extraction rules parameters 118 Extraction utility 141
D
DA transport 41 Data Archiving 19 workflow XBP 1.0 20 workflow XBP 2.0 23 XBP 1.0 20 XBP 2.0 21 Data archiving 75 creating a session with XBP 1.0 76 creating a session with XBP 2.0 79 defining a job 77, 80, 82, 83 Data archiving sessions, drafts 79 Defining accounts 100 Data Archiving job 77, 82, 83 Data Archiving job with XBP 2.0 80 Data Archiving session with XBP 1.0 76 Data Archiving session with XBP 2.0 79 Group Scheduling table 80 job skeleton 45 jobs 131 rule file 142 SAP jobs 49 SAP-BW job 91 user exit 123 Delete After Print parameter Add ABAP window 62 Delete job 75 Delete job template 76 XBP 2.0 22 Deleting jobs 130 Department parameter Add ABAP window 63 Detect Delete job XBP1.0 20 Detect job 75 Detect Spawned Jobs button SAP panel 52 Detect Spawned Jobs parameter Data Archiving 87 Detect Store job XBP 1.0 20 Detecting spawned jobs 122 Displaying variant details 128 Displaying variants 126 Document Type parameter Add ABAP window 63
F
Features 11 Form Name parameter 48 Function Modules 37 installing 41
G
Group Scheduling table 76, 80
I
Importing SAP panel 36 transports 41 InfoPackage Description parameter SAP-BW 94 InfoPackage RNR parameter SAP-BW 97 InfoPackage Tech. Name parameter SAP-BW 94 Information Field parameter Add ABAP window 63 INITXBP2 102, 108 Installation function modules 41 importing SAP panel 36 importing transports 41 requirements 26 Intercepted jobs preventing discarding 115 Intercepting jobs 112 Into Group parameter 114
154
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
J
Java Runtime Environment 28 Job Class parameter Data Archiving 88 SAP panel 52 Job Count parameter SAP panel 53 Job definitions, extracting 147 Job Editing form illustration 50 SAP panel 49 Job interception XBP 2.0 21 Job Mode option buttons SAP panel 53 Job Mode parameter Data Archiving 88 Job Name parameter 114 Data Archiving 88 SAP Panel 54 Job skeleton defining 46 field values 46 job_define action parameters 132 job_delete action parameters 131 job_modify action parameters 134 Jobs cancelling 74 controlling 16, 112 converting 137 defining 131 deleting 130 extracting 116, 141 modifying 133 monitoring 16, 73 running 15 scheduling 15 setting priorities 110 spawned 122 statuses 16 jobs. See SAP jobs
M
Mass parallel process 18, 122 Max List Entries parameter 106 Mixed Case Job Name parameter 106 Modifying job skeletons 46 Modifying jobs 133 Monitoring jobs 16 Monitoring mass parallel processes 18 Monitoring SAP jobs 73 Monitoring SAP-BW jobs 96
N
Name parameter Add ABAP window 63 New Spool Request parameter Add ABAP window 63 Number of Copies parameter Add ABAP window 63
O
Object Type parameter Add ABAP window 63 Output Device parameter Add ABAP window 64 Owner parameter Add ABAP window 64 Add External Program window 70, 72
P
Parameters 70, 72 Add ABAP window 62 Add External Program window 69, 71 avoiding discarded intercepted jobs 115 Client 101 conversion utility 138 CTM Interception Rules 114 ctmcreate and ctmdefine 145 ctmr3acc utility 101 ctmr3cfg utility 105 Extraction Rules panel 118 for monitoring a job 147 job_define action 132 job_delete action 131 job_modify action 134 problems 139 raise_event action 130 rule file autoedit 142 rules viewer 120 SAP panel Active Job mode 74 SAP panel Job Definition mode 51
K
Known issues 139
L
Language parameter 102 Add ABAP window 63 Layout parameter Add ABAP window 63
Index
155
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
SAP panel, Data Archiving 86 SAP-BW Job panel 93 spawned jobs 123 user exit script 124 var_edit action 127 var_mon action 126 var_show action 129 XBP version 102 Parameters parameter Add External Program window 70, 72 Password configuration 103 Platforms 26 Preventing discarding intercepted jobs 115 Print Expiration parameter Add ABAP window 64 Priorities, setting 110 Problem parameters 139 Process Chain Description parameter SAP-BW 94 Process Chain ID parameter SAP-BW 95 Process Chain Log ID parameter SAP-BW 97 product support 3 Products 13 Program parameter 114
S
SAP account, defining 31 SAP authorization 29 SAP CCMS jobs extracting and monitoring 116 SAP Cover Page parameter Add ABAP window 65 SAP event, raising 129 SAP Interception Criteria panel 112 SAP job status Active 15 Canceled 15 Finished 15 Ready 15 Released 15 Scheduled 15 SAP jobs cancelling 74 creating 49 skeleton 45 status 74 SAP language 102 SAP panel illustration, Active Job mode 73 illustration, BW InfoPackage 92 illustration, BW Process Chain 92 illustration, Data Archiving 77, 81 illustration, Job Definition mode 50 importing functionality 36 Job Editing form 49 parameters, Active Job mode 74 parameters, BW 93 parameters, Data Archiving 86 parameters, Job Definition mode 51 steps 49 SAP system number 101 SAP-BW jobs 91 monitoring 96 SAP-BW panel illustration, InfoPackage 96 parameters 93 parameters, Active Job mode 97 SAP-BW/Business Process Type parameter SAP-BW 95 SARA transaction 24 Scheduled SAP job status 15 Scheduling jobs 15 Selection Cover Page parameter Add ABAP window 65 Session Number parameter Data Archiving 88 Setting job type priorities 110 Skeleton SAP jobs 45 SM37 transaction 15
Q
QID parameter SAP panel 55
R
R/3 jobs converting 137 raise_event action parameters 130 Raising SAP event 129 Ready (SAP job status) 15 Recipient parameter Add ABAP window 64 Released (SAP job status) 15 Request utility 125 Rerun options parameter SAP-BW 97 RFC Max Retry parameter 105 RFC Retry Interval parameter 106 Rows parameter Add ABAP window 65 Rule file defining 142 Rules viewer parameters 120 Run Copy Mode parameter 106 Run Org Mode parameter 106 Running jobs 15
156
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Spawned jobs 18, 122 XBP 2.0 21 Standard and Extended mode 139 Statuses 16 statuses (SAP jobs) 15 Steps buttons SAP panel 58 Steps panel 78 Store job 75 Store job template 76 XBP 2.0 22 Submit Job with ASAP Option parameter Data Archiving 89 support, customer 3 Supported platforms 26 System Number 101 var_mon action parameters 126 var_show action parameters 129 Variant altering parameters 127 displaying details 128 displaying list of values 126 Variant Name parameter Add ABAP window 66 Data Archiving 90
W
Wait for Termination parameter Add External Program window 70, 71 Write job 20, 75, 76 XBP 2.0 22
T
Target Host parameter Add External Program window 70, 72 Target Server parameter Data Archiving 90 SAP panel 59 technical support 3 Template Job Name parameter 114 Template Scheduling Table parameter 114 Titles parameter Add ABAP window 65 transactions SM37 15 Transport facility 41 Transports, importing 41
X
XBP 1.0 75, 76 Data Archiving 20 workflow 20 XBP 2.0 76, 79 configuring environment 84 Data Archiving 21 workflow 23 XBP 2.0 functionality 17, 37 XBP version, specifying 102 Xtractor 116 Xtractor Configuration Management utility 107 general configuration 109 illustration 112 Xtractor service activating on Unix 124 activating on Windows 125
U
Uninstalling conversion utility 42 on Unix 43 on Windows 43 Unix installation 42 Unix uninstallation 43 Upgrading 34 on Unix 34 Use ABAP Program Default parameter Add ABAP window 66 Use Extended parameter 106 Use_Extended 37 User exit 123 User Exit parameter 114 User parameter 114
V
var_edit action parameters 127
Index
157
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
158
Notes