business process operations job scheduling management
Post on 16-Oct-2021
4 Views
Preview:
TRANSCRIPT
Business Process Operations
Job Scheduling ManagementMarch 2016
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Disclaimer
This presentation outlines our general product direction and should not be relied on in making
a purchase decision. This presentation is not subject to your license agreement or any other
agreement with SAP. SAP has no obligation to pursue any course of business outlined in this
presentation or to develop or release any functionality mentioned in this presentation. This
presentation and SAP's strategy and possible future developments are subject to change and
may be changed by SAP at any time for any reason without notice. This document is provided
without a warranty of any kind, either express or implied, including but not limited to, the
implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP assumes no responsibility for errors or omissions in this document, except if such
damages were caused by SAP intentionally or grossly negligent.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 3Public
Agenda
Overview on Job Scheduling Management Suite
o Supporting the lifecycle of a background job (request, document, schedule, monitor)
SAP CPS Introduction
Getting control over End-User jobs
o Intercepting Jobs & Re-directing users from SM36 to the SAP Solution Manager
Job Scheduling Management Health Check
o Analyzing the respective backend workload caused by background jobs
Roadmap to Job Scheduling Management
Further Information
Overview on
Job Scheduling Management Suite
Supporting the lifecycle of a background job (request, document, schedule, monitor)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 5Public
What is Job Scheduling Management?
Job Scheduling Management is an E2E Solution Operations
standard provided by SAP
It is a standardized formal process to support the management of
solution wide background operations
– Process for requesting Jobs, or job changes
– Documenting and Scheduling Jobs
– Job Monitoring and Alerting
– Job Reporting
• Job Scheduling Management is technically implemented through
the Job Management Work Center in SAP Solution Manager
– Provides central access to Job operations in the Solution
Landscape
– Allows integration of external scheduling tools (e.g. SAP CPS by
Redwood)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 6Public
Why Focus on Job Scheduling Management?Applications & Challenges
Goal Application Challenge
Visibility
Job Documentation
…provide standardized & web-based documentation
…avoid unnecessary job processing (“forgotten” jobs)
…avoid unnecessary slow support processes
…”living” documentation vs. one-time documentation
Efficiency
SAP Central Process
Scheduling by Redwood
... automate job processing where possible (job chains)
…schedule across system boundaries
…event-driven vs. time-driven scheduling
…control end-user jobs (job interception)
Effectiveness
Job Monitoring
…ensure that jobs start/finish at the right time
…ensure job processing within given time windows
…correlate important jobs with business processes
…management by exception
Governance
Job Request
…provide standardized & web-based request form
…integration with standard incident management process
…integration with standard change management process
…integration with documentation, scheduling & monitoring
Clean-up
Job Scheduling
Management Health Check
…ensure even workload distribution
…avoid unnecessary often job processing
…discontinue jobs that are no longer needed
…avoid redundant job processing
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 7Public
Scenario Business Process ”Order to Cash” –
Job Scheduling Management
CRM
Create Sales
Order
SAP ECC - OTO
Create Sales
Order
Order
Rescheduling
Run MRP
Procurement
Process
Manufacturing
Process
Create Outbound
Delivery
Post Goods Issue Create Billing
Document
Warehouse - TT5
Create Outbound
Delivery
Create Picking
Transfer Order
Confirm Picking
Transfer Order Post Goods Issue
SAP ENTERPRISE
PORTAL - EPP
Create Sales
Order
Job S_OTO800_DE_SD_OR_RSDL_D
should run with changed parameters
Business Process
Champion
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 8Public
Job Scheduling Management Process View
IT Department
Application OperationsBusiness Process
Operations
Business Department
Key User / End User
Create Job Request Plan Job Request
Approve/Reject Job
Request
Receive
Approval/Rejection
Document Job
Test Job
Schedule Job
Run Job
Document Job
Operation Controls
Center
Monitor Job
Root Cause Analysis
Monitor Job
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 9Public
SAP Solution Manager integration using XBP Interface
SAP Solution Manager 7.1
Job Monitoring
Job Request
Incident Mgt.
Job Documentation
Web FormEnterprise Portal/ Intranet
End/Key user request – JR message
creation in background
Job documentation
automatically
populated with
respective CR data
Change Request Management
Schedule jobs using SAP
CCMS Scheduling Interface
SAP System
Pull Monitoring information
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 10Public
SAP Solution Manager integration with SAP CPS Solution Manager Scheduling Enabler (SMSE)
SAP Solution Manager 7.1
Job Monitoring
Job Request
Incident Mgt.
Job Documentation
SAP NW 7.x
RedwoodProcess Server
Job Scheduling
SAP Central Process
Scheduling by Redwood*
Web FormEnterprise Portal/ Intranet
End/Key user request – JR message
creation in background
Job documentation
automatically
populated with
respective CR data
Change Request Management
Transfer job documentation
(incl. basic scheduling)
Push Monitoring information SAP System
SMSE
SMSE XBP Interface
* Or any other Scheduler certified for SMSE
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 11Public
SAP Solution Manager Lean Job Request Scenario With Arbitrary Scheduling Tool
SAP Solution Manager
Job Monitoring
Job Request
Job Documentation
Web FormEnterprise Portal/ IntranetEnd/Key user request – JR message
creation in background
SAP System
Job documentation
automatically populated
with respective job
request data
External Job Scheduler
Pull Monitoring information
from Back-end
Manual Transfer of job
documentation (copy & paste)
XBP Interface
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 12Public
Job Management Work Center – Central Integration Point
basic or detailed job request to schedule a new job, change an existing job, or
delete a job
central object of the Job Scheduling Management standard, allows to centrally
manage, schedule, and document in detail the background processing of your
entire system landscape.
Monitoring and Alerting based on MAI
Recommended background jobs in your system landscape, organized by
system. Typically used for housekeeping jobs.
Reporting on Jobs and Job Workload based on JSM Health Check
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 13Public
Job Management Work Center – Central Integration Point
Access to Job Status Monitoring for SAP Scheduled jobs, and Job scheduled
on SAP CPS
Setup and administration access for Work Center
Analyse workload situation when scheduling Jobs
Central Access to analysis functions on managed systems
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 14Public
Job Scheduling Management - Work Center
Job Request initially maintained in web
form (e.g. by business) is containing all
available Job data, and saved as Job
Request document
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 15Public
Job Management - Work Center
Job Request document in SAP Solution
Manager can be now picked up by IT via
the Work Center UI choosing the CRM
document No.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 16Public
Incident – Overview
The Job Document contains all the information that was
already maintained in the corresponding Job Request and
the Job Document is also linked to the Job Scheduling
Management assignment block.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 17Public
Job Documentation – Overview
The Job Document that was created in
reference to the Job Request can also be
picked up and further processed by IT via
the Work Center UI.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 18Public
Planning – Check if New Job Request Fits Into Existing Schedule -
Analyze Jobs with Gantt Chart
Jobs displayed
per server /
work process
Detailed information
via mouse - over
Choose Solution
Context
In Managed System, use BACKGROUND_JOB_ANALYSIS tool in transaction ST13 to check job workload
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 19Public
Job Documentation – Scheduling Maintenance
Configure corresponding job scheduling from within job documentation
1
2
3
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 20Public
Scheduling in SAP Central Process Scheduler
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 21Public
Job Documentation – Monitoring Maintenance
1
2
3
Configure corresponding job monitoring from within job documentation
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 22Public
Job Documentation – Access from all Locations
Managed System
Alert Inbox
SAP CPS
Integration of MAI based Job Monitoring into
Job Scheduling Management
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 24Public
Agenda
Overview
Configuration - Enhancements in Job Documentation and Job Monitoring
Monitoring – New Job Monitoring Application
Alerting – MAI and Unified Alert Inbox
Reporting – New Reporting UI and Interactive Reporting
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 25Public
Overview - New Unified Job Monitoring
So far we had two different kinds of job monitoring areas. Job monitoring via
Business Process Monitoring and via Technical monitoring.
Now the job monitoring was harmonized in all areas:
Unified Configuration UI:Using one configuration UI for all entry points. Allow re-use of monitoring objects. Assign
monitoring objects to job documentations.
Unified Infrastructure: Using one single infrastructure for job data collection. MAI (Monitoring and Alerting Infrastructure)
with SAP Solution Manager’s Extractor Framework is used. CCMS is not used by Unified Job
Monitoring.
Unified Alert Inbox:Using same alert Inbox in BPO, JSM and Technical Monitoring.
Unified Monitoring Application:Using UI5 based Job Monitoring application.
Unified Reporting:Using same alert and job reporting functions, independent of monitoring area
Technical Monitoring(Technical Scenarios)
Business Process
Monitoring
(Business Processes)
Unified Job
Monitoring
Job Management (Job Documentations)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 26Public
Overview - Supported Job Types
Pull – Data collected from managed
system via RFC pull from Solution
Manager
Push – Data is pushed from CPS to the
Solution manager ABAP stack
Job Type Job Selection Schedule inherited
(start time,
frequency)
Add jobs
directly
Data
Collection
mode
Managed
system
CPS
Redwood
Managed
system
CPS
Redwood
ABAP Jobs X X X X X Pull, Push
BW Process chains X Only
Header(Elements
from
managed
system)
No No No Pull
SBOP Jobs X X X X No Pull, Push
SAP Data services X Header No No No Pull, Push
Overview
Configuration - Enhancements in Job Documentation and Job Monitoring
Monitoring – New Job Monitoring UI
Alerting – MAI and Unified Alert Inbox
Reporting – New Reporting UI and Interactive Reporting
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 28Public
Contexts for Job Monitoring in Job Documentation
Logical Component / System Technical ScenarioSolution
Job Documentation
Several Contexts can be assigned to one Job Documentation
Job Monitoring can be setup with reference to these contexts
The same Monitoring Object can be re-used in multiple contexts
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 29Public
Job Monitoring Entry Points
You can create a job monitoring object
in the Technical Monitoring work center, by
creating a technical scenario that contains the
technical systems to monitor.
via the Business Process Operations work
center from an existing solution. You assign the
business context to the monitoring object.
from a Job Documentation in Job
Management work center.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 30Public
Create or Change Monitoring Object via Job Documentation
• If no monitoring object has been
assigned to the job documentation, you
can create a new monitoring object.
• Job type and source for the job
identification data (external
scheduler/managed system) depend on
job type and the interface type defined
in the job documentation.
• Otherwise you can change the existing
object.
• Further configuration steps are just as
with Business Process Monitoring or
Technical Monitoring. See guided
procedure at transaction solman_setup
→ Technical Monitoring → Job & BI
Monitoring → Job Monitoring)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 31Public
Configure Monitoring - Add Jobs from Managed System
Add Jobs → from Managed System.
This allows you to search for jobs on the managed system using search criteria.
Select the job and create its monitoring object using the “Add selected jobs as monitored object“ button
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 32Public
Configure Monitoring - Add Jobs from External Scheduler
Add Jobs → from External Scheduler
This allows you to search for jobs for the managed system via SAP CPS
Select the job and create its monitoring object using the “Add selected jobs as monitored object“ button
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 33Public
Configure Monitoring - Alert Configuration and Notifications
To configure alerts, move to Step 2
“Configure Alerting”.
Select the relevant alerts for the
monitoring object and set the required
values.
Notification Settings can then be
configured by moving to Step 3. Email,
sms, Incidents for the monitoring object
can be configured here. When a yellow
or red alert are triggered a notification
can be sent to the Maintain Recipient
Lists or Maintain Global Recipients.
Save, Generate and Activate your
Monitoring Configuration.
Overview
Configuration - Enhancements in Job Documentation and Job Monitoring
Monitoring – New Job Monitoring Application
Alerting – MAI and Unified Alert Inbox
Reporting – New Reporting UI and Interactive Reporting
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 35Public
Monitoring Information in Job Documentation Detailed Overview
New tab “ Monitoring Information“ on the detailed view of Job Documentation query result list.
Monitoring Information shows the assignment to the Solution Context, Business Process Context and
Technical Scenario.
Indicates whether Monitoring is active
Indicates which type of Monitoring is in place (Monitoring using MAI if ticked. Otherwise Classic Job Mon
Monitoring)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 36Public
New Job Monitoring Application
New Job Monitoring Application available for MAI
based Job Monitoring.
Multiple access points to this new Job Monitoring
application from the Job Management Work
Center, Job Documentation and Technical
Monitoring Work Center
The Job Monitoring UI
Provides ratings from live data collection
Persists a fixed number of instances of a recurring jobs
(configurable)
Alert situation of the Monitored Object is visible
Allows the creation of manual incidents and notifications
Provides a summary of technical information of the
monitored Object
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 37Public
New Job Monitoring Application – Job Detail Info
When selecting a job instance, detailed job information are displayed on right screen side.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 38Public
When there is an alert it is denoted by the symbol.
The number to the right of the icon refers to the
number of alerts for the Monitored object.
Click on the symbol to get to the Alert Inbox.
The alerts can be processed as normal (assigned,
creation of incidents, creation of notifications,
confirmed etc.).
New Job Monitoring Application - Link to Alert Inbox
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 39Public
Access points for new Job Monitoring Application
Job Monitoring Application can be launched from …
Job Management Work Center-> Job Monitoring-> JobMonitor.
Job Documentation ->Systems tab
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 40Public
Access points for new Job Monitoring Application
Job Monitoring Application can be launched from …
Job Management Work Center-> Query Result list-> Detailed
Documentation of Job -> Monitoring Information tab
Job Management Work Center-> Monitoring-> Job Monitoring
Launch it for either a system, solution or scenario
Technical Monitoring Work Center-> Job and BI Monitoring
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 41Public
Monitoring of all jobs in CPS (starting with SP14)
Monitor arbitrary jobs in SAP CPS
via Technical Monitoring or
Business Process Monitoring.
Monitoring of the following metrics
will be possible.
Status
Duration
Not started on time (also with
reference to a chain header)
Out of time Window
Start Delay
End Delay
Overview
Configuration - Enhancements in Job Documentation and Job Monitoring
Monitoring – New Job Monitoring Application
Alerting – MAI and Unified Alert Inbox
Reporting – New Reporting UI and Interactive Reporting
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 43Public
Monitoring Infrastructures for Job Management Work Center
Alert Inbox
Alerts for Job Mon on MAIJob Monitoring
SetupAlerts for Classical Job Mon
Unified Alert Inbox
Job Monitoring Alerts are visible in either the Alert Inbox or the Unified Alert inbox in the Job Management
Work Center depending on the setup chosen (MAI or Classic Job Mon):
• For Job Monitoring for solutions with MAI alerts are visible in the Unified Alert Inbox
• For Job Monitoring for solutions with classical Job Mon alerts are visible in the Alert Inbox.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 44Public
Alerting in Job Management Work Center
Navigation via single alert selection
Access to Configuration of Managed
Object (Job Monitoring Setup)
Link to alert details
The business context is displayed here. Note that in Job Mon on MAI,
monitoring objects can belong to more than one solution
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 45Public
Unified Alert Inbox – Show Details
2
“Show Details” provides all metrics and more information of the monitored job,
for example:
Duration of the job
End time of the Job
Status when job finished
Executing User
...
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 46Public
Unified Alert Inbox – Guided Procedure Integration
For ABAP type job alerts a generic guided procedure is delivered
Integration from the guided procedure into the job specific job
documentation content exists
Overview
Configuration - Enhancements in Job Documentation and Job Monitoring
Monitoring – New Job Monitoring Application
Alerting – MAI and Unified Alert Inbox
Reporting – New Reporting UI and Interactive Reporting
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 48Public
New Reporting UI
Reporting UI
Provides data from BW store
Showcase the status and performance of a monitored object over a period of time
Trend chart of alert history of the Monitored Object
Direct Jump-In from Monitoring UI for selected objects
Alternatively integration into Interactive Reporting with classical web template
drill down features
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 49Public
New Reporting UI Access Point
Access the new Job Monitoring application and then choose Reporting.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 50Public
New Reporting UI
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 51Public
Interactive Reporting - Access Points
Access points for Interactive Reporting:
From Technical Monitoring – Technical Scenario
From BPO Work Center (New) – Business Process
Access from Job Management Work center not yet available, planned for next SP level
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 52Public
Interactive Reporting – Status Overview
2 ‘Status Overview’ provides the number
of red alerts per metric
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 53Public
Interactive Reporting – Performance Overview
Performance overview allows you to
drill down performance metrics for
every single instance running on the
selected timeframe.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 54Public
Further Features with Solution Manager 7.1 SP09+ (EhP2)
SolMan Setup Integration
JSM Setup is fully integrated into Sol Man Setup including a new Enhanced Role Model
Mass Creation of Job Documentations
Job Documentation can be created from Excel Workbook
All Details provided in SAP Note 1791153 “Create Job Documentation from IDoc”
– Documents provided
o Workbook Template
o Template project (LSMW)
o JSM IDoc User Guide
Job Progress Monitoring
Monitoring of Job Chains using Mobile Devices
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 55Public
Use Case for SAP Job Progress Monitor
Monitoring of long-running and complex Job Chains
• Business defines goals (Runtime, End time) for parts of a job chain (Crit. Path)
• Progress of execution will be shown (“Progress bar”)
• Runtime prediction gives early indicators for goal misses (Estimated End Time)
• Access Mobile Devices
Progress: 33% Progress: 66% Progress: 100%
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 56Public
Job Progress Monitoring - High Level Overview
SAP Solution Manager
SMSE-certified
Scheduler, e.g. SAP
CPS by Redwood
JPM Calculation EngineJob History Data
SAP NetWeaver Gateway
iOS and Android devices
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 57Public
Role:Any member of the business process operations or technical
operations team.
Target segment: Information Technology
Version: 1.0.0
Planned availability: November 2013
Prerequisites:
SAP Solution Manager 7.1 SP 10; SMSE-certified Job Scheduler
like SAP CPS by Redwood
Optional: SUP 2.2; Afaria 6.6
Mobile device support:iPhone/iPad (iOS 6.0 and higher); Android Phone and tablet (4.0
and higher)
Video: n/a
SAP Job Progress Monitor
Production support team wants to monitor the status and progress of batch processing
centrally and in real-time.
Production support team wants to know, for a running job when it will finish.
Mobile Business Impact
Typical Business Challenges
Features and Capabilities
Facts and Figures
Updated: 3Apr2012
Ensure business continuity for critical jobs and job chains by providing real time
information
Group multiple job chains together and monitor overall group progress and the current
activity distribution (percentage of active, scheduled, completed, and canceled jobs); drill
down to job details
Job Chain status information as well as runtimes and estimated and actual end times of
job chains can be accessed by mobile applications anywhere and anytime
Snapshots of job chain progress can be send by e-mail
The SAP Job Progress Monitor mobile app facilitates the monitoring of your business
processes and the progress of your job chains in real time anywhere and anytime. It allows
business process owners to monitor job chains and view job details right from their device.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 58Public
Overview
If chains or jobs exceed the
thresholds for runtime or
estimated end time a
message will be created.
Distribution
of all job
status
Getting control over End-User jobs
Intercepting Jobs & Re-directing users from SM36 to the SAP Solution Manager
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 60Public
One Main Challenge of Job Scheduling Management – Control Over
End-User Jobs
Problem: Many customer systems “suffer” under a high number of background jobs scheduled by end-users
End-user jobs undermine central scheduling
Workload balancing undermined Risk of system overload especially during Period End Closing
No monitoring & error-handling procedures defined for end-user jobs, i.e. SLAs usually ignore the fact of end-user scheduled jobs
No documentation exists for end-user jobs
End-user jobs do not follow general naming conventions
Challenge: Scheduling authorization (transaction SM36) cannot be taken away due to company policy or as the scheduling happens as part of a business transaction
Goal: Smooth transition from end-user scheduled jobs into a standardized & centralized Job Management process
No scheduling authorization should be taken away
All periodic jobs should be documented and follow a standard procedure
All one-time jobs should bypass the formal process but should be controlled anyway via job interception
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 61Public
Redirect and Intercept- Concept
Redirect
• Occurs when users tries changing jobs from Basis Transactions
• Jobs cannot be scheduled directly on the Managed System
Intercept
• Users can schedule jobs directly on the Managed System
• Job is intercepted when ready to be executed
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 62Public
Execute program CRITERIA_MANAGER (transaction CRIT)
Add a new Criterion of Type “Creating Batchjobs via Solutionmanager”
For this type: Add a new criterion specifying which users should be included/excluded from re-direction
Activate the newly created profile
Re-directing end-users Maintenance via program CRITERIA_MANAGER
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 63Public
Re-directing end-users Job Request Form
Depending on the scheduling, the SAP Solution Manager
decides if the job is scheduled immediately or if a job
request is created
User & Business Partner
information is filled
automatically
Job Request information is filled automatically, so that only process &
requirement information needs to be provided by the user
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 64Public
Job Interception - Background
Scheduled Released Ready Active
Canceled
Finished
Intercepting
Interception concept (for workload balancing) available with XBP Version 2.0 SAP Basis Release 4.6C
Allows the external scheduler to take back the release or start condition of less important jobs and to take over control of these jobs in the system. Thus, the jobs can be submitted at times of lower system activity.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 65Public
Execute program CRITERIA_MANAGER (transaction CRIT)
Add a new Criterion of Type “Interception”
For this type: Add a new criterion specifying which jobs and/or jobs of which user and/or of which job calls should be
included/excluded from job interception
Activate the newly created profile
An external scheduler like SAP Central Process Scheduling by Redwood would use function modules BAPI_CM_CRITERIA_SET,
BAPI_CM_PROFILES_GET, BAPI_CM_PROFILE_CREATE, BAPI_CM_PROFILE_ACTIVATE in order to perform those activities
Job Interception Maintenance via program CRITERIA_MANAGER (since NW7.0)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 66Public
Job Interception Job Overview SM37 in backend system
While user BPEXPERT was able to
schedule, release and run jobs in the past,
he is now only able to schedule them but
they get all intercepted.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 67Public
Job Interception Configuring SAP Central Process Scheduler by Redwood
Within SAP CPS you can
then define several different
interception rules per
backend system and
configure how SAP CPS shall
proceed with which
intercepted jobs.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 68Public
SAP Solution Manager
Job Request Process for periodic jobs
SAP Solution Manager 7.1
Job Documentation
End-User calls transaction
SM36
Job request creation in
background
Schedule job directly via XBP or
transfer job documentation (incl.
scheduling data) to SAP CPS
SAP System
Dialog pops-up & leads to Web
Form which is autom. filled with
system & user data
Job documentation
automatically populated
with respective job
request data
Schedule job
centrally via SAP
CPS
Web Form
SAP NW 7.0
RedwoodProcessServer
Job Scheduling
SAP Central Process
Scheduling by Redwood
Job Request
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 69Public
SAP Solution Manager 7.1
SAP Solution Manager Job Request Process for one-time jobs
End-User calls transaction
SM36
SAP System
Dialog pops-up & leads to Web
Form which is autom. filled with
system & user dataWeb Form
One-time job is directly
scheduled via XBP
interface
Job is intercepted via XBP
interface based on interception
table
(Re-)Schedule job centrally via SAP
CPS based on rules
Job Documentation
SAP NW 7.0
RedwoodProcessServer
Job Scheduling
SAP Central Process
Scheduling by Redwood
Job Request
SAP CPS Introduction
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 71Public
SAP CPS – Key featuresA
n S
AP
Pro
du
ct
Va
lida
ted
an
d
Su
pp
ort
ed
by S
AP
SAP CPS is built, tested, validated, shipped and supported by SAP
Available in all SAP supported languages
Validated for each release, each service release and each support package by SAP as any other SAP
component on any SAP supported Operating System and database
Available via SAP Service Marketplace and as part of SAP NetWeaver Application Server Java.
Support via SAP component XX-PART-REDWOOD-CPS
SAP Central Process Scheduling by Redwood (SAP CPS) is an SAP product and available via SAP
channels
SAP CPS is the only scheduling solution delivered out-of-the-box with SAP NetWeaver and available
as OEM version for all SAP NetWeaver customers (SAP NetWeaver 7.0 and later)
Un
iqu
e
Inte
gra
tio
n SAP CPS integrates with
Financial Closing Cockpit
Business Warehouse
SAP Netweaver (Administration, Backup, Traceability)
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 72Public
SAP CPS for SAP NetWeaver Comparison of SAP job scheduling options
CCMS1
Basic Job Scheduling
SAP ERP
SAP CPS (Basic Version)
CCMS
Basic Job Scheduling
SOA ready
Execution control optimization
Intuitive web UI
Local queue management
Time zone management
Java scheduling
Intelligent job definition
Show parent-child dependencies
Event driven scheduling
Contextual processing
Job chain management
Dynamic calendaring
SAP Solution Manager integration
Basic load balancing
Job interception
Central point of view
SAP CPS (Full Version)
CCMS
Basic Job Scheduling
SOA ready
Execution control optimization
Intuitive web UI
Local queue management
Time zone management
Java scheduling
Intelligent job definition
Show parent-child dependencies
Event driven scheduling
Contextual processing
Job chain management
Dynamic calendaring
SAP Solution Manager integration
Basic load balancing
Job interception
Central point of view
Alerting
Complex load balancing
Web Services and SAP BusinessObjects jobs
Jobs & events on operating system level
Business Automation Enabler e for all scenarios
Scripting / Reporting
Workload failover
Dynamic mass activities
Import/Export functionalities
Cross system scheduling
Process Monitor, User Messages, Documents
Features among others:
• Load Balancing
• Alerting, emailing, reporting,
auditing
Restriction:
• no non-SAP Jobs
• no Alerting, emailing, reporting,
auditing
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 73Public
SAP CPS for SAP NetWeaver Architecture of SAP CPS
Java schema in DB
SAP NW AS Java
Web – UIProcess
Server
CPS Job Repository
Process
ServerProcess
Server
Process
Server
Process
Server
SAP NetWeaver AS JAVA
SAP Application
(As of NW7.1)
JXBP
BW-
SCH
SAP NetWeaver BW
SAP CPS Data
SAP CPS
JXBP: Java eXternal Batch Processing
BW-SCH: Business Warehouse Scheduling
XBP: eXternal Batch Processing
WS: WebServices
Business Objects
OSPlatform
Agent
Application
Non-SAP SystemPlatform
Agent
WS
SAP NetWeaver AS ABAP
SAP Application
(All releases)
XBP
SAP NetWeaver AS ABAP
Queue
Queue
Queue
Queue
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 74Public
SAP CPS Repository and Scheduling Procedures
Create Job/Job Chain Definition
Define Job task e.g. ABAP report
Define Job logic i.e. Sequential or parallel execution of job tasks
Submit Job/Job Chain
Enhance Job/JobChain Definition with scheduling behaviour
Create Job Definition
• Define a entity of Job e.g. 1 step abap report
Create JobChain Definition
• Define a logical flow of jobdefinitions and job instructions
Submit Job / JobChain
• Add time and event driven scheduling behaviour to the job/jobchain definition
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 75Public
Job Scheduling Management with Central Process Scheduling and
Solution Manager
LandscapeSAP Solution Manager
Solution
documentation
Job
documentation
Business process
monitoring
Job request form
Service desk
Change
management
SAP Central
Process
Scheduling
create
message
request/
approve
change
Generate
requires and
uses
setup
relevant
parts
schedule
job
execute
and
monitor
job
Push
monitoring
data
Job Scheduling Management Health
Check Analyzing the respective backend workload caused by background jobs
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 77Public
One Main Challenge of JSM – Transparency Over Total Background
Job Workload
Problem: No sufficient transparency exists how much system workload is caused by
background jobs and which jobs are causing most problems
Overall system workload that is caused by background jobs shall be reduced
End user scheduled jobs that bypass central scheduling and cause high workload shall be identified
System bottlenecks (like lack of work processes) shall be identified
Ensure even workload distribution across servers
Goal: Provide SAP BW based bar charts for analysis
Identify
Longest running jobs
Jobs that run and/or cancel most often
Jobs with longest Start Delay times
Show distribution of background jobs
Across application servers
Across creating/scheduling users
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 78Public
Job Scheduling Management Health CheckArchitecture Overview
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 79Public
Job Scheduling Management Health Check Technical Prerequisites
Minimum:
SAP Solution Manager 7.0 with SP23 & BI_CONT 7.04 SP07 (or higher) and ST-A/PI 01M* (or higher) on the
respective backend system (SAP BASIS 620 or higher).
SAP Solution Manager 7.1 with SP01 & BI_CONT 7.05 SP01 (or higher) and ST-A/PI 01M* (or higher) on the
respective backend system (SAP BASIS 620 or higher).
Recommended (if you also want to analyze job step data from table TBTCP):
SAP Solution Manager 7.0 with SP27 & ST-BCO 400 SP0 (or higher) and ST-A/PI 01M* (or higher) on the
respective backend system (SAP BASIS 620 or higher with SAP Note 1564604 implemented).
SAP Solution Manager 7.1 with SP02 & ST-BCO 710 SP0 (or higher) and ST-A/PI 01M* (or higher) on the
respective backend system (SAP BASIS 620 or higher with SAP Note 1564604 implemented).
See also SAP note 1516666 for details of the Setup Guide.Note: * is used since the ST-A/PI has different versions available for different SAP Products such as CRM, ECC, etc.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 80Public
Job Scheduling Management Health Check
Dashboards
After the activation of the JSM Health Check, three different reporting views with different
granularity can be accessed directly via the JSM Workcenter
Daily view (containing data from actual day)
Weekly view (aggregated, containing data from last week)
Monthly view (aggregated, containing data from last six months)
Each view contains a set of key performance indicators (e.g. Top 10 Execution Server) with the
following distinctions
(Total) number
(Total) duration
Tabular Drilldown into details (which can be exported to Microsoft Excel)
The data transfer between the different Info Cubes used (aggregation) and the reorganization
(housekeeping) is executed automatically in background.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 81Public
Example Screenshots 1/3
Comparing Job Status: Finished vs. Canceled
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 82Public
Example Screenshots 2/3
Workload Distribution by User
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 83Public
Example Screenshots 3/3
Workload Distribution by Execution Server
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 84Public
Example Screenshots: Tabular Drilldown
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 85Public
Job Management Suite
SAP Solution Manager & SAP Central Process Scheduling by Redwood
SAP Solution Manager SAP Central Process
Scheduling by Redwood Standardized job request form
(web-enabled)
Standardized, central job
documentation
Job documentation templates
Business process-orientated job
monitoring
Trend reporting based on
monitoring data
Integrated change request
management with approval process
SAP backend related job reporting
Central job scheduling
Event-driven scheduling
ABAP, JAVA, OS and non-SAP*
scheduling
Job chain management across
system boundaries*
Time-zone & calendar management
Job interception
Workload balancing
SAP Service Desk integration
Business Automation Enabler (e.g.
Closing Cockpit) Full control over end-user scheduling: Redirecting end-user into job request process & rule-based job
interception
Request
Docu-
ment
Monitor
Schedule
Optimize
Report
Job
Management
* Chargeable SAP CPS version
Closed-loop
integration
Roadmap for Job Scheduling
Management
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 87Public
Motivation for Job Scheduling Management ProjectBenefits & Challenges
Goal Benefit Challenge
Visibility
Knowing what is executed
when & why & who is
responsible
…provide standardized & web-based documentation
…avoid unnecessary job processing (“forgotten” jobs)
…avoid unnecessary slow support processes
…”living” documentation vs. one-time documentation
Efficiency
Utilizing time & scarce
hardware resources most
efficiently
... automate job processing where possible (job chains)
…schedule across system boundaries
…event-driven vs. time-driven scheduling
…control end-user jobs (job interception)
Effectiveness
Ensuring that IT is a business
enabler
…ensure that jobs start/finish at the right time
…ensure job processing within given time windows
…correlate important jobs with business processes
…management by exception
Governance
Providing a standardized
request process without media
breaks
…provide standardized & web-based request form
…integration with standard incident management process
…integration with standard change management process
…integration with documentation, scheduling & monitoring
Clean-up
Freeing-up scarce hardware
resources
…ensure even workload distribution
…avoid unnecessary often job processing
…discontinue jobs that are no longer needed
…avoid redundant job processing
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 88Public
Business Process
Operations
Central Monitors & Alert Inbox Incid
ent M
anag
emen
t
Chan
ge M
anag
emen
tContinuous
Optimization Process
Central monitors, which permanently report the status of the business processes and related IT
landscapes.
An infrastructure, which pro-actively monitors the solution 24x7 without manual effort, and which
triggers and correlates alerts in case of problems.
A small team of operators, who only work on the alerts in a standardized way.
An ongoing optimization process, which analyzes the root cause of major problems or alerts.
Reporting functionality and dashboards, to provide detailed information to all IT support levels.
Run SAP Like A FactoryMain Concept: Operations Control Center
Input
Improve
TriggerDetectAnalyzeSolve
InputApplication
Operations
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 89Public
Business Process Operations Roadmap to “Run SAP like a factory” – Focus Job Scheduling Management
IT Business
Ph
as
e 1
Ph
ase 2
Ph
ase 3
Use JSM Health Check
to get transparency on
job workload, to initiate
Job Schedule
Optimization
Activate JSM Work Center and use
it as „central“ SM37
Monitor important jobs
& BW Process Chains
for core business
processes
Document jobs & job
chains centrally and in a
standardized way
Provide
standardized Job
Request form to
business user
Use JSM Health
Check trend
reporting to react
more pro-actively
Implement SAP
CPS as central
scheduling tool from
SAP Solution
Manager
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 90Public
Run SAP Like a Factory Methodology and Roadmap
Run SAP Like a Factory provides
A methodology for the implementation of End-to-End Solution Operations
A Roadmap as part of this methodology, to implement End-to-End Solution Operations
Run SAP Like a Factory Roadmap
Provides information about what needs to be implemented
How-to descriptions in implementation methodology and Best Practices documents.
Is structured on a time axis
Guides you in phases through the project.
Roadmap Key phases
Scope definition of the future operations processes
Preparation of a detailed project plan
Implementation of the processes
Operation and optimization of your SAP solution.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 91Public
Business Process Operations Roadmap
Choose
Implementation
Project in Solution
Manager
Assign Roadmap
Work with Roadmap &
Implementation Project
Ensure roadmap is
available
with ST-ICO SP35
2
1
3
4
Further Information
New Features with Solution Manager SP09+
SAP Service Marketplace links
Compare SM36 and SAP CPS
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 93Public
Further Information – Links
Run SAP like a Factory → Business Process Operations
http://support.sap.com/support-programs-services/solution-manager/processes.html
Job Scheduling Management on SCN Wiki
http://wiki.scn.sap.com/wiki/display/SM/Job+Scheduling+Management
E2E Standard about Job Scheduling Management
http://support.sap.com/support-programs-services/methodologies/support-standards.html
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 94Public
Comparison of SM36 and SAP CPS (1/2)
SM36 SAP CPS
Scheduling of SAP jobs only Scheduling of SAP & non-SAP jobs
Local Scheduling for one system only Central Scheduling for entire system landscape (SAP & non-
SAP)
Mainly time-driven scheduling Mainly event-driven scheduling (higher throughput)
Only three different job classes A, B, C Job priorities between 1-100
Only two queues (class A vs. class B and C) Several logical queues can be created (e.g. per application)
No job chain functionality Job chain functionality within and across system boundaries
No automation possible Process automation depending on raised events across
system landscape
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 95Public
Comparison of SM36 and SAP CPS (2/2)
SM36 SAP CPS
Not possible to schedule periodic jobs only at certain time
frames (business hours)
Several time windows & submit frames can be defined and
included/excluded into each other
One job per variant (e.g. per plant) One job definition can be used with different parameters
Simple workload distribution (depending on free BTC work
processes)
Sophisticated workload distribution (depending on CPU
utilization, Memory paging etc. )
Job dependencies hardly considered Job dependencies across systems (SAP and non-SAP)
considered
No control over jobs that are directly scheduled by end-users End-user jobs can be intercepted
No control over parent-child jobs Possible to check if all related child jobs are successfully
finished
Integrates with SAP Solution Manager Integrates with SAP Solution Manager
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 96Public
Thank you for your attention.
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 97Public
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services
are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or
release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for
any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place
undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
top related