Академический Документы
Профессиональный Документы
Культура Документы
Table of Contents
1. General Description......................................................................................................................... 2
1.1 CPS Overview............................................................................................................................................. 2
1.2 SAP Partnership with Redwood.................................................................................................................. 2
1.3 Operational Excellence and Business Support........................................................................................... 2
2. Installation Procedure...................................................................................................................... 3
2.1
2.2
2.3
2.4
2.5
2.6
2.7
Pre-Requisites............................................................................................................................................ 3
Installation Options..................................................................................................................................... 4
Architecture Overview................................................................................................................................. 5
Versions and Scope.................................................................................................................................... 6
Installation Preparation Steps..................................................................................................................... 7
Standard Configuration Steps in SPRO.................................................................................................... 15
Integration Steps in SPRO........................................................................................................................ 25
User Interface........................................................................................................................................... 34
Scripts ..35
Job Chains................................................................................................................................................ 36
Events .. 37
Calendars.................................................................................................................................................. 38
Jobs and Queues...................................................................................................................................... 41
SAP Business Objects Integration............................................................................................................ 42
Web Services Integration.......................................................................................................................... 43
Parallel Processing................................................................................................................................... 45
Many to One Relationship......................................................................................................................... 46
Lock Mechanism....................................................................................................................................... 47
Restart Behavior....................................................................................................................................... 48
Page 1
1.
General Description
The SAP Central Process Scheduling application by Redwood leverages the SAP Solution Manager application
management solution platform to centralize process scheduling, resulting in powerful functionality for crossapplication automation and process management and control.
1.1
CPS Overview
Central Process Scheduling is an adaptive and scalable application that provides the real-time, eventdriven scheduling and process automation.
Centrally manages and orchestrates processes across multiple applications and organizations.
Provides integration with the native SAP management tools like Solution Manager and CCMS.
1.2
1.3
SAP CPS is the only Enterprise Process Scheduling solution sold and supported by SAP.
Redwood and SAP software engineers work together in Walldorf and The Netherlands for creating the
new process automation standard for SAP customers and providing Strategic direction for SAP
application automation and management.
CPS enables SAP components to cross system boundaries in order to implement end-to-end Business
Process Automation
CPS holds a unique position as a core and default component of SAP NetWeaver platform
Support calls
o
The software, patches and documentation are delivered by SAP and can be downloaded from SAP
Service Market Place.
The following picture shows the operational benefits and Business Support of using SAP CPS tool.
Page 2
2.
2.1
Installation Procedure
Pre-Requisites
The installation host for the SAP CPS system must meet the following requirements:
To manage a base line workload of 100k jobs per day, with 10 million jobs retained in the history data, more than
95% of jobs producing average log file size of 10k and no large output files, the following table shows the sizing
requirements:
Page 3
2.2
Installation Options
There are various options available for the installation of SAP CPS. Each of these options will be covered as the
scope of this implementation guide is only limited to deployment of the tool on SAP Solution Manager System:
1. Installation into a standalone Netweaver system (single Java stack, single node) which has no additional
software deployed
2. Installation into an existing Netweaver system which contains a dual stack
3. Installation into an existing Netweaver system e.g. Solution Manager which contains a Java stack
Page 4
Redwood strongly recommends option 1, especially when you are installing the production instance of SAP
CPS.
The main reason for this is the fact that because SAP CPS is a mission critical component of the Scheduling
landscape it is important that the availability of the environment is not compromised by any other software
deployed in the Netweaver stack. The same goes for the choice for a single Java stack system because there will
be no reason to have an ABAP stack available as no ABAP jobs will be executed. A multiple node configuration is
also not required as this causes additional overhead for the scheduler that is not recommended.
ADVISE: Choose option 2 or 3 for a test/development environment if required but only option 1 for a production
environment. But if the landscape allows the installation on SAP Solution Manager then few additional settings
are required to be activated which will be covered in detail in this guide.
2.3
Architecture Overview
The product is a J2EE web application that runs on SAP Netweaver Web Application Server Java. It stores its
data in the default database for the application server, and supports all databases listed in the SAP NW Product
Availability Matrix.
Page 5
2.4
Page 6
2. Full:
a. Also manages non-SAP applications, OS level, database, infrastructure (storage, backup)
b. Multiple process servers supported
2.5
This step will tell you the most important steps to activate the SAP Process Scheduling Adapter.
2.5.1
The following figure shows the complete path to download the ST-PSM Add-On from SAP Service Market Place.
Page 7
2.5.2
For more information on the installation of ST_PSM see SAP Note 1122497
Page 8
2.5.3
The Process Scheduling Adapter has to be activated following the below steps:
Navigate to the path: SAP Solution Manager Cross-Scenario Settings Activate Solution Manager
Enhancements
Page 9
2.5.4
Page 10
Activate at least switch XBP 2.0 and switch Parent-Child Functions on, and then Execute.
2.5.5
You should copy the following roles to Z roles, maintain authorization data and generate profiles:
SAP_BC_BATCH_ADMIN_REDWOOD
SAP_BC_REDWOOD_COMM_EXT_SDL
SAP_SM_REDWOOD_COMMUNICATION
SAP_SM_SCHEDULER_ADMIN
SAP_SM_SCHEDULER_EXE
SAP_SM_SCHEDULER_DIS
SAP_SMWORK_JOB_MAIN
SAP_SUPPDESK_ADMIN
SAP_SUPPDESK_CREATE
SAP_SV_FDB_NOTIG_BC_ADMIN
2.5.6
Page 11
2.5.6.1
Page 12
2.5.6.2
Page 13
2.5.6.3
You need to allocate 2n HTTP worker threads where n is the number of concurrent users that you want to
support. This is because the user interface uses 2 HTTP connections per user, see SAP Note 1169442. A lack of
HTTP Worker threads will manifest itself as very poor performance.
2.5.6.4
For connecting SAP systems to CPS we recommend setting the environment variable CPIC_MAX_CONV as
described in SAP note 314530 on all Java servers of the NetWeaver installation where SAP CPS is installed to
5000. SAP CPS takes a maximum of 50 (default) RFC connections to per connected SAP system and then there
will be additional connections for clients and other tools as well.
2.5.6.5
JVM Settings
Page 14
At least 2 GB of memory in the JVM but 4 GB highly recommended for production environments; these values
should be doubled for 64bit/EM64T/AMD64 systems (4GB and 8GB, respectively).
See SAP Note 710146 for information on setting JVM parameters.
Use of compressed references (IBM JVM version 6), compressed oops (as of Oracle JVM 1.6), or the equivalent
of your JVM vendor is recommended; it allows you to decrease the amount of memory required by the JVM.
To enable compressed oops, you must specify the -XX:+UseCompressedOops JVM parameter. Note that
compressed oops are available on Oracle/Sun JDK 1.6 and later. Note that compressed references are enabled
by default on IBM JVM 6 and later when the heap size is smaller than 25GB on supported platforms (64Bit,
EM64T, and AMD64). To disable compressed references, you use the -Xnocompressedrefs JVM parameter.
2.5.6.6
Increase the profile value gw/max_conn and gw/max_sys on the SAP gateway to support more parallel
connections:
gw/max_conn: 2000
gw/max_sys: 1200
gw/max_overflow_size: 40000000
gw/max_shm_req: 200
Increase the profile values rdisp/tm_max_no and rdisp/max_comm_entries on the application server:
rdisp/tm_max_no: 5000
rdisp/max_comm_entries: 200
2.6
These activities can be accessed via SPRO SAP Solution Manager Scenario Specific Settings Job
Scheduling Management Standard Configuration
Page 15
2.6.1
Navigate to the below shown path in SPRO and execute the activity Activate Solution Manager Services:
Page 16
Page 17
Page 18
Close the Internet Explorer window which is opened and select Back
2.6.2
Create a user in User Maintenance transaction (SU01) in your production client, for example JOBREQUEST
On the Logon Data tab choose user type Service and enter a password, do not ever change this password.
Assign your copies of the following roles to your JOBREQUEST user:
SAP_SM_SCHEDULER_ADMIN
SAP_SUPPDESK_ADMIN
SAP_SUPPDESK_CREATE
SAP_SV_FDB_NOTIG_BC_ADMIN
2.6.3
Page 19
Page 20
Page 21
Give External Alias Name: /sap/bc/solman/jobrequestuser and provide proper description. Also provide the
Logon Data of the previously created user JOBREQUEST:
Page 22
Page 23
Page 24
2.6.4
Go to Authorizations tab
Enter the users to which you have assigned work center roles
Adjust the web address of SAP CPS on the Menu tab, by entering
http://<host>:<port>/scheduler of you SAP CPS
Page 25
2.7
These activities can be accessed via: SPRO SAP Solution Manager Scenario Specific Settings Third
Party Integration SAP Central Process Scheduling by Redwood.
2.7.1
Create a communication user (e.g. CPSCOMM) between SAP Solution Manager and SAP CPS. This can be
done using the SAP transaction SU01 or SPRO menu path shown below:
SAP_SM_SCHEDULER_EXE
SAP_J2EE_ADMIN
You should login to SAP CPS with this dialog user at least once via the following menu role (or CPS URL directly):
Job Management Process Scheduling Adapter SAP Central Process Scheduling by Redwood
Page 26
You will be asked for the license keys when logging in for the first time, click on Request Key for Enterprise
License.
Page 27
Page 28
Remove the roles assigned already and assign the copy of below roles:
2.7.2
SAP_BC_REDWOOD_COMM_EXT_SDL
SAP_SM_REDWOOD_COMMUNICATION
To setup a connection between SAP Satellite System and SAP CPS follow the below steps:
J2EE_URL = URL of the CPS System (This is required only if this system is itself hosting CPS)
Page 29
Job Handling = Disabled for CPS Host, Enabled for Satellite System and All if job handling is
required on all Systems.
Provide the CPS-XBP user credentials in XBP and XAL tab and Check Connection Settings.
Page 30
Page 31
To enable the RFC on Process Servers, select Environment Process Servers Select Process
Server Edit Parameters
This completes the connection settings and the connection can be tested to from ABAP stack using the program
RSEXTSDL.
Page 32
2.7.3
Business Automation Enabler (BAE) is an interface between SAP-applications and SAP CPS for scheduling jobs
and job chains and integrating of business and infrastructure events.
SAP_BC_REDWOOD_COMM_EXT_SDL
SAP_BC_BATCH_ADMIN_REDWOOD
SAP_BC_BATCH_ADMIN_REDWOOD
Create and assign roles for CPS users using the UME as explained below:
redwood.com/Scheduler.AccessScheduler
redwood.com/Scheduler.ManageScheduler
Add every BAE-CPS-User to BAE System. This is already completed in creating a new SAP
System connection.
Page 33
3.
This section describes few of the key features of the SAP CPS application.
3.1
User Interface
SAP CPS GUI is the key administrative and operational interface for the management and control of crossenterprise workload. Designed with an intuitive look and feel, this single point of control enables user and rolespecific access to the process automation environment for administrators, operators, and end users.
Few of the key features of the user interface are mentioned below:
1. Job Chain Editor
2. Flow oriented design-and run-time views
3. Single click and slide bar zoom controls
4. Mini-map control
5. Customizable navigation bar
6. Drag and drop configuration
7. Dashboard with dials and graphs
Page 34
8. Extended metrics
3.2
Scripts
A script is a definition of a work item to be done and all SAP tasks are available as scripts out of the box. Each job
is an invocation of a script and SAP CPS supports multiple script-types.
Page 35
3.3
Job Chains
Job chains are grouped execution of related scripts (jobs). The job chains support following features:
Page 36
3.4
Events
The job execution can be controlled using events. Events can be set at script level or at runtime and scripts (jobs)
can raise or wait for defined events. The following are types of events which can be raised:
Return code
File Events
o
Operation Intervention
o
Page 37
3.5
Calendars
Page 38
Page 39
Page 40
3.6
All scripts (jobs) in SAP CPS are processed in Queues and each queue is served by one or more Process
Servers.
Hold jobs with lower priority or when CPU and page rate exceed threshold
Concurrency limit
Page 41
3.7
SAP CPS also supports Business Onjects and Crystal Reports Integration .
Page 42
3.8
Web Services are callable services that take advantage of ubiquity of the internet and perform specific tasks.
These services are central to most of the SOA environments.
Capabilities
o
Import web service from third party application and run it from SAP CPS (outbound)
Page 43
4.
The following chart shows the comparison between CCMS Job Scheduling in SAP Systems with SAP CPS Job
Scheduling tool. This includes the comparison between free and chargeable version for SAP CPS as well.
5.
The table shown below lists all the features of SAP CPS which help in areas like reducing TCO, increase
productivity and improved response and flexibility.
Page 44
6.
6.1
CPS provides parallel processing functionality which can be used to run multiple independent scripts in
combination of parallel and sequential steps. This helps in reducing end to end processing time of a job chain.
Page 45
6.2
CPS provides many to one Relationship between job events which is not there in SAP Job Scheduler. The SAP
CCMS Scheduler only provides functionality to trigger multiple jobs based on status of a single job (using events).
But this feature in SAP CPS helps us to trigger a single or multiple jobs on status of multiple jobs as well.
In typical jobs such as period end closing jobs this can help reduce the total closing time by 40-60%.
Page 46
6.3
Lock Mechanism
CPS provides Lock concept in jobs which can be used to prevent multiple copies of jobs to run at the same time
in case previous copy of a periodic job is still running. This is done by defining a lock and incorporating that lock in
the job definition.
Page 47
6.4
Restart Behavior
Most of the organizations require few background jobs such as Real Time Monitoring jobs to run on regular
basis so that they provide most recent data. This functionality can be implemented using the Restart Behavior in
the jobs.
Page 48
7.
Page 49
A: SAP CPS 8.0 by Redwood has been released for all SAP NetWeaver AS Java versions 7.0 and higher. There
is no upgrade of the underlying application server necessary.
Q: Do I have to upgrade from my current SAP CPS version to SAP CPS 8.0?
A: No, the upgrade is optional. The previous versions will continue to be maintained along the communicated
timelines
Q: Where can I get SAP CPS 8.0 by Redwood?
A: You can get the new version from the SAP Service Marketplace
Q: Where can I ask additional questions?
A: Please use the established forums on SDN to get answers to additional questions you may have and check
out the SAP Release Note 1524650 for additional information.
8.
References
EcoHub.SAP.com
https://ecohub.sdn.sap.com/irj/ecohub/solutions/centralprocessscheduling
SAP Service Marketplace
http://service.sap.com/process-scheduling
Page 50