in sap solution manager

52
Job Management in SAP Solution Manager Public

Upload: others

Post on 01-Oct-2021

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: in SAP Solution Manager

Job Management

in SAP Solution Manager

Public

Page 2: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 2Public

Agenda

• Introduction

• Job Governance

• Job Scheduling

• Job Monitoring

• Job Reporting

Page 3: in SAP Solution Manager

Introduction

Page 4: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 4Public

Typical Situation…Questions

Everybody here is

scheduling jobs in our

SAP systems. How

can I control this?

I have found job

“WDS_TRQ” in the

system. What is it doing?

Who is the owner? What if

it cancels?

The sales order

processing has failed

and nobody noticed.

How can I be informed if

this happens again?

?

Page 5: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 5Public

Job Management is…

… an end-to-end operations standard provided

by SAP for:

• Requesting, changing or deleting jobs

• Documenting jobs

• Scheduling jobs

• Monitoring and alerting

• Job Reporting

Page 6: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 6Public

Different Aspects of Job Management

People

Central Job Scheduling Team

Processes

End to End Job Management

Tools

Job Request

Scheduling

Job Monitoring

123

Page 7: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 7Public

Job Management End-to-End Process

Manage all parts of the E2E process in one work center in SAP Solution Manager!

Request

Document

Monitor

Schedule

Optimize

Report

Job

Management

Page 8: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 8Public

Job 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

Page 9: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 9Public

Typical Situation…Answers

!The “Job Request” is used

in a formal process to

request the scheduling of

jobs. This process includes

approval, documentation

and monitoring setup for the

job.

The “Job Documentation” stores

all job relevant information like job

description, contact persons,

attachments and more.

“Job Monitoring” allows

you to monitor jobs in your

whole SAP landscape! Use

metrics like status, duration,

start- & end delay and

more!

Page 10: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 10Public

What are the benefits of using Job Management?

Visibility

Standardized DocumentationJob Documentation

Avoid outdated Jobs

Single Source of Truth

All Job related Data

EfficiencyScheduling SAP BPA

Automate job processing

Cross System Scheduling

Event driven scenarios

Control end user jobs

Ensure job completion

Link to business processes

Alerts & Notification

Numerous MetricsSupervisionJob Monitoring

Standardized Request Form

Formal Process

ChaRM Integration

ITSM IntegrationGovernance

Job Request

Observe workload distribution

Avoid unnecessary jobs

Identify old jobs

Identify job related issuesClean-Up

Health Check

Page 11: in SAP Solution Manager

Job Governance:

Requesting Jobs

Page 12: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 12Public

Job 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

Page 13: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 13Public

Job Request Process – Work Flow

Job Request

Business/ Key

User

I’d like to schedule a job! https://myURL/requestJobs

Create

Approve/Reject

Let me have a look at this!

Job Request Form

Business Owner Helpdesk

Process

Page 14: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 14Public

Job Request – Motivation

• Do not let end-users schedule periodic jobs

• Minimize vulnerability of systems

• Maximize control and transparency

• Introduce a clear, easy-to-understand formal process

• Provide end-users with web link to request jobs

• Central job management for all systems

• Integration into Job Management End-to-End Process

Page 15: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 15Public

Job Request – Features

• Job Request Web Form, which can be provided via

web link

• Request the creation of jobs

• Request for editing existing jobs

• Request deletion of existing jobs

• Integration with Job Documentation

• Customizable

• Two types of job requests for different audiences

Request: Add Job

Page 16: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 16Public

Two different Types of Job Request: Basic vs. Detailed

Job Request: Detailed

General

Detailed Scheduling

Business Context

Job Request: Basic

General

Simple Scheduling

Business Context

Monitoring

Error Handling

Organization/Contact

Restrictions

Authorizations

Tasks

Attachments

Target Audience: Business User Target Audience: Technical User

Page 17: in SAP Solution Manager

Job Governance:

Job Documentation

Page 18: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 18Public

Job 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

Page 19: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 19Public

Job Documentation Workflow with Job Request

Approved Request

Business User

I’d like to schedule an ABAP job!

Create

Process

Documentation

Information Transfer

IT Operator

General Information

Scheduling

System Configuration

Error Handling

Monitoring

Contact Persons

Attachements

Change Log

Page 20: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 20Public

Job Documentation – Motivation

• Central place to document jobs from all SAP systems

• Provide IT users with easy access to relevant

information, e.g. react upon job failure

• Contain all useful information such as contact persons

or business process context

• Ability to schedule jobs out of documentation

• Ability to setup monitoring out of documentation

• Integration into Job Management End-to-End Process

Page 21: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 21Public

Job Documentation – Facts

• Job Documentation as part of Job Management

section in SAP Solution Manager

• One documentation per job

• Integration with Job Request

• Integration with Job Scheduling, Job Monitoring

• Part of Solution Documentation

• Customizable

• Accessible across landscape (Job Monitoring,

External Scheduler, Transaction SM37)

Job

Documentation

Page 22: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 22Public

Job Documentation – Information Content

Job Documentation

General

Contact

Business Context

Changes

Error Handling

Scheduling

Restrictions

Authorizations

Tasks

Attachments

Organization

Monitoring

Page 23: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 23Public

Job Documentation Integration with Job Request

Request:

Add JobJob

Documentation

Request approved

General

Scheduling

Error Handling

Contact

Restrictions

Authorizations

Organization

Monitoring

Data from the Job Request will be transferred to the Job Documentation once the request is

approved!

Page 24: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 24Public

System Wide Access Points to Job Documentation - Examples

Job Documentation

Job Management

Work Center

Solution Manager Managed System

Business Process

Monitoring

Job Monitoring

Application

SM37

Page 25: in SAP Solution Manager

Job Scheduling

Page 26: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 26Public

Job 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

Page 27: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 27Public

Job Scheduling – Idea

• Replace manual scheduling on every system

• Central place for scheduling

• One scheduling entity for all system

• Ability to schedule on SAP and non SAP

systems (external scheduling)

• Build complex scenarios with dependencies

System 2System 1 System 3

Job A

Job E

Job K

Job L

Job Z

Page 28: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 28Public

Standard vs. Extended (External) Scheduling – Process View

SAP BPA by Redwood

Solution Manager

SAP Systems

Any System

Solution Manager

Standard Scheduling External Scheduling

Page 29: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 29Public

Standard vs. Extended (External) Scheduling – Example

ABAP Job with 3 Steps Process Chain with 3 Steps

Step B

Step G

Step L

Job A Job B

Job F

Job NJob L Job M

Job in SAP Job in Non-SAP OS Job

Page 30: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 30Public

Standard vs. Extended (External) Scheduling – List View

Solution Manager External Tool: BPA

SAP Jobs Any Job Type

Simple Schedule Complex Schedule

Simple Jobs Cross System Jobs

WebDynPro Modern Java Engine

Limited dependencies Complex dependencies

Standard Scheduling External Scheduling

See Appendix

for more

details on

SAP BPA /

CPS

Page 31: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 31Public

External Scheduling: SMSE Interface

SMSE (Solution Manager Scheduling Enabler) enables communication from Solution Manager

to external scheduling tools

• Schedule jobs from Solution Manager in external scheduler

• Document jobs from external scheduler in Solution Manager

• Monitor jobs from external scheduler in Solution Manager

SMSE certified external schedulers are (as of September 2016):

• SAP BPA by Redwood (preferred)

• IBM Tivoli, Automic One Automation (formerly UC4), CA Workload Automation

Page 32: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 32Public

External Scheduling Tool: SAP BPA by Redwood

• External Scheduling Tool

• Real-Time and event based

• Build complex chains

• Automate entire business & IT processes

• Automatically/manually react upon job

issues with operator messages

• SMSE Certified

Page 33: in SAP Solution Manager

Job Monitoring

Page 34: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 34Public

Job 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 Control

Center

Monitor Job

Root Cause Analysis

Monitor Job

Page 35: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 35Public

Job Monitoring – Facts

• Monitor critical jobs in entire system landscape – all

in SAP Solution Manager

• 13 Advanced metrics available

• Job type specific metrics (e.g. DS Jobs)

• Central application to view status of metrics

• Alert and Notification Engine

• Integration with Job Documentation

• Forwarding to third party alerting possible

Page 36: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 36Public

Job Monitoring with/without External Scheduler: Example

Job Monitoring

Job B Job G Job Chain A

ERP DS

OS Job X

e.g. SAP BPA by Redwood

Job Y

BW Non-SAP & CRMWindows

……

Page 37: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 37Public

Job Monitoring Metrics Examples

Status

Cancellation

Duration

Threshold Warning Threshold Alert

Out of Time

Window

Threshold Alert

Time Window

Planned Start Time

Threshold Warning

Start Time

Page 38: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 38Public

Job Monitoring Example

Create Sales Orders Job

Job MonitorLogistics

Order Rescheduling Job

ERPSolution Manager

Monitoring Engine

Status

Status

Parallel Processing

Requirement: maximum runtime 25 minutes

Requirement: only one instance at a time

Duration

Page 39: in SAP Solution Manager

Job Reporting

Page 40: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 40Public

Job Reporting Facts

• Oversee job related situation in systems

• Analyze workload and distribution

• Big picture of finished and cancelled jobs

• Detect peak and low times

Page 41: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 41Public

Which Tools are available for Job Reporting?

Job Reporting

Health Check

• Analyze all ABAP Jobs

• Numerous categories to

analyze system

• Distribution of Jobs

• Daily, weekly and monthly view

• Graphical and list view of

results

Job Resource Analysis

• Use Key Performance

Indicators (KPI) to look at

workload

• Chose KPI from categories like

CPU utilization, memory usage,

etc.

• Analyze system workload to

avoid peak times in the future

Analytics in Job Monitor

• View number of red alerts per

metric

• Adjustable time window

• Analyze system workload to

avoid peak times

Page 42: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 42Public

Job Management Health Check – Categories Examples

All categories are available in both graphical and list view,

e.g.:

• Finished vs. cancelled jobs

• Top Long Runners

• Distribution of jobs over

• Process Servers

• Users

• Job Classes

Also available: tabular drilldown of all jobs older than two years

Number of Jobs

Finished Cancelled

Page 43: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 43Public

Job Resource Analysis – KPI Examples

Main idea of JRA is to analyze the system’s workload

in categories like:

• CPU utilization

• Memory usage

• Background work process utilization

Use one or more KPIs in one view!

CPU Utilization (%)

Time

Page 45: in SAP Solution Manager

Appendix on SAP BPA / CPS

Page 46: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 46Public

Typical Situation…Questions

What are the limitations

when scheduling via

SM36 compared to

SAP CPS / BPA

?

Can you give me a

concrete example, when I

really need an external

scheduler.

There is a free of charge

CPS version in NW 7.x,

what is the difference to

the chargeable version?

Page 47: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 47Public

SAP BPA by Redwood – Key featuresA

n S

AP

Pro

du

ct

Va

lida

ted

an

d

Su

pp

ort

ed

by S

AP

SAP BPA and 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 BPA by Redwood is an SAP product and available via SAP channels

SAP CPS (predecessor of SAP BPA) is the a scheduling solution delivered out-of-the-box with SAP

NetWeaver and available as OEM version for all SAP NetWeaver customers (SAP NetWeaver 7.x)

Un

iqu

e

Inte

gra

tio

n SAP BPA / CPS integrates with

Financial Closing Cockpit

Business Warehouse

SAP Netweaver (Administration, Backup, Traceability)

Page 48: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 48Public

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

Page 49: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 49Public

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

Page 50: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 50Public

Scheduling requirement for which you need an external schedulerAs SAP Factory Calendar always refers to System Time

Requirement: Job, shall run at 10pm Ottawa Canada time, but only on working days (global

system’s system time is CET:

a) As 10pm in Ottawa is 4am in CET, I schedule the job at 4am.

b) To make sure the job runs on working days only, I choose the factory calendar for Canada

Issue: The job runs e.g. on the 05.11.2018 at 4am CET, which is Sunday 10pm in Ottawa!

Page 51: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 51Public

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 BPA (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

Page 52: in SAP Solution Manager

© 2016 SAP SE or an SAP affiliate company. All rights reserved. 52Public

© 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.