Simple Job Request Process User Documentation
Scheduling ABAP Jobs with Redwood CPS / SAP BPA
SAP Solution Manager 7.2 SP08 - Job Management
2© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
IT Task / Best Practice when Scheduling Batch Jobs
Document Job:
a) What needs to be executed?
b) When and how often?
c) Who / which process needs the data?
d) What to do in case of exceptions?
Validate Job:
a) Are all information provided?
b) Is the job name following the convention?
c) Do the executables exist in the system, where the job shall run?
d) Are there scheduling conflicts / or a redundant job?
Test Job:
a) Is the coding performance efficient, especially, if custom coding or user exists
exist?
Schedule Job:
a) IT enters needed information into scheduler or into system (e.g. SM36)
Monitor Job:
a) IT needs to make sure job runs as requested (i.e. run at the requested times,
does not cancel / produce errors with “normal” runtime)?*Optimization in case of monitoring reveals problems with
individual job or overall job schedule
Document Job
Validate Job
Schedule Job
Job
Management
Monitor Job
Test Job
Optimize Job*
3© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Challenge when Scheduling of Business / Application Jobs
Job is needed for a specific business process, in a specific business system, i.e. a program with specific input to be executed at specific times.
How to efficiently
a) collect the data needed for job scheduling?
b) do a basic quality check?
c) do the actual job scheduling?
d) ensure that jobs are running as requested / documented, and do not harm the system / other jobs and users?
e) ensure, that old jobs are getting retired (e.g. when a business process has been replaced?
?
4© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Job Scheduling Management – By Role
Requestor Reviewer / Approver Job Scheduling Responsible
Fill Job Request Form:
a) Fill job information
b) Fill job start condition
c) Get job name proposed
Review / Approve Job:
a) Validate* job information
b) Complete job information
Set request on status Approved
Schedule Job:
Complete job scheduling details:
a) Create Job Definition
b) Assign Time Window and Submit Frame
c) Schedule Job
Set request on status Completed
To be ensured / validated:
• Program / Variant / Execution User / Printer / … exist in remote system and are not in “black-list”
• Job Schedule is provided and makes sense
• Job is really needed, i.e. there is no other job, that runs the program (and variant) already
• Job Name meets naming convention
Submit request
5© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Job Scheduling Management – By RoleUsing Solution Manager with External Scheduler
SAP Solution Manager – Job Document
Requestor Reviewer / Approver Job Scheduling Responsible
Fill Job Request Form:
a) Fill job information
b) Fill job start condition
c) Get job name proposed
Submit request
Review / Approve Job:
a) Validate job information
b) Complete job information
Set request on status Approved
Schedule Job:
Complete job scheduling details:
a) Create Job definition (automation via
BAdI and Redwood script possible)
b) Assign Time Window and Submit Frame
c) Schedule Job via SMSE interface
Set request on status Completed
Job Document status is set on Production
Solution Manager 7.2 SP08
6© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Job Scheduling Management – By RoleUsing Solution Manager with External Scheduler and External Ticketing
SAP Solution Manager – Job Document
Requestor Reviewer / Approver Job Scheduling Responsible
Fill Job Request Form:
a) Fill job information
b) Fill job start condition
c) Get job name proposed
Submit request
Review / Approve Job:
a) Validate job information
b) Complete job information
Set request on status Approved
Schedule Job:
Complete job scheduling details:
a) Create Job definition (automation via
BAdI and Redwood script possible)
b) Assign Time Window and Submit Frame
c) Schedule Job via SMSE interface
Set request on status Completed
Job Document status is set on Production
External Ticketing Tool
Reviewer / Approver Job Scheduling Responsible
Process ticket Process and complete ticket
Requestor
Create ticket
Solution Manager 7.2 SP08
7© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
ABAP Job Scheduling into SAP System using Solution Manager & RedwoodArchitecture
SAP Solution Manager
Job Document (version-able)
Contains
a) Executable Information
(Program / Variant, …)
b) Business Owner
c) Job Schedule
d) Error Handling
e) …
Solution Documentation / BPMN
Can b
e lin
ked
8© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
ABAP Job Scheduling into SAP System using Solution Manager & RedwoodArchitecture
SAP Solution Manager
Job Document (version-able)
Contains
a) Executable Information
(Program / Variant, …)
b) Business Owner
c) Job Schedule
d) Error Handling
e) …
Solution Documentation / BPMN
Can b
e lin
ked
Redwood CPS / SAP BPA Scheduler
Process / Chain Definition
Contains
a) Executable Information
(Program / Variant, …)
b) Job Schedule
SAP System / SAP Basis
Job Instance t1
Job Instance t2
Job Instance t3
Submit via XBP
Submit via XBP
Submit via XBP
9© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
ABAP Job Scheduling into SAP System using Solution Manager & RedwoodArchitecture
SAP Solution Manager
Job Document (version-able)
Contains
a) Executable Information
(Program / Variant, …)
b) Business Owner
c) Job Schedule
d) Error Handling
e) …
Solution Documentation / BPMN
Can b
e lin
ked
Redwood CPS / SAP BPA Scheduler
Process / Chain Definition
Contains
a) Executable Information
(Program / Variant, …)
b) Job ScheduleProcess / Chain
Definition can be
submitted via
SMSE
Process / Chain
Definition can be
linked.
SAP System / SAP Basis
Job Instance t1
Job Instance t2
Job Instance t3
Submit via XBP
Submit via XBP
Submit via XBP
10© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
ABAP Job Scheduling into SAP System using Solution Manager & RedwoodArchitecture
SAP Solution Manager
Job Document (version-able)
Contains
a) Executable Information
(Program / Variant, …)
b) Business Owner
c) Job Schedule
d) Error Handling
e) …
Solution Documentation / BPMN
Can b
e lin
ked
Redwood CPS / SAP BPA Scheduler
Process / Chain Definition
Contains
a) Executable Information
(Program / Variant, …)
b) Job ScheduleProcess / Chain
Definition can be
submitted via
SMSE
Process / Chain
Definition can be
linked.
SAP System / SAP Basis
Job Instance t1
Job Instance t2
Job Instance t3
Submit via XBP
Submit via XBP
Submit via XBP*Possible with Solution Manager 7.2 SP08
(chargeable down port to SP04 possible)
Creation of
Process / Chain
Definition via
BAdI and Script *
13© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (1/8)
Requestor can create request from Solution
Manager Launchpad or calling URL from a portal
https://<server>:<port>/sap/bc/ui2/flp?sap-client=<client>&sap-language=EN#Action-SimpleJobDoc
14© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (2/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
15© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (3/8)
16© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (4/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
ZTEST_ABC_TDM_JOB
17© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (5/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
18© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (6/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
ZTEST_ABC_TDM_JOB
19© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (7/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
Via BAdI external
incident can be created
instead of ITSM ticket.
20© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Filling of Job Request Form and Submission (8/8)
1) Select Job Request Type
2) Select System
3) Maintain Job Description (input
& output)
4) Enter Business Information
1) Enter Business Owner
2) Enter Business Group
3) Select Region, Country,
Business Area *
4) Enter Business Impact
5) Maintain Job Steps
6) Maintain Job Start Condition
7) Get Name Proposed
8) Submit
*via enhancement data can fetched from
CPS application hierarchy
22© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (1/6)
https://<server>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html#Action-
SimpleJobDoc?FPM_EDIT_MODE=R&JOBDOC_ID=<GUID>&JOBDOC_VERSION=<version>
Reviewer can see new request from Solution
Manager Launchpad or calling URL from a portal
23© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (2/6)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Complete request with
technical information
3) Execute Validation checks
4) Set request on validated
Click to open.
ZTEST_ABC_TDM_JOB
24© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (3/6)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Complete request with
technical information
3) Execute Validation checks
4) Set request on validated
ZTEST_ABC_TDM_JOB
25© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (4/6)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Complete request with
technical information
3) Execute Validation checks
4) Set request on validated
ZTEST_ABC_TDM_JOB
26© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (5/6)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Complete request with
technical information
3) Execute Validation checks
4) Set request on validated
ZTEST_ABC_TDM_JOB
27© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Validation and Completion of Job Information (6/6)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Complete request with
technical information
3) Execute Validation checks
4) Set request on validated
29© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
https://<server>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html#Action-
SimpleJobDoc?FPM_EDIT_MODE=R&JOBDOC_ID=<GUID>&JOBDOC_VERSION=<version>
Scheduler can see new request from Solution
Manager Launchpad or calling URL from a portal
30© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
Click to open.
ZTEST_ABC_TDM_JOB
31© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
ZTEST_AB…
32© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
33© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
ZTEST_ABC_TDM_JOB
34© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
ZTEST_ABC_TDM_JOB
35© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
ZTEST_A …
36© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into CPS or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
37© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
Batch Team Schedules Job from Job Document (into BPA or SM36)
1) Open Job Document from the
list of documents or use URL
from Service Now ticket
2) Access Scheduling
3) Assign Time Window and
Submit Frame (make sure
they exist in CPS)
4) Create CPS job definition
(automated via BAdI)
5) Release job
6) Set request on completed
ZTEST_ABC_TDM_JOB
Run ZTEST_ABC_TDM_JOB
38© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Public
SAP Help Portal SAP Solution Manager 7.2 SP08
▪ Job Management 7.2 on SAP Help Portal
SAP SCN Wiki
▪ Job Management
Further Information
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.
The information contained herein may be changed without prior notice. 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 or its affiliated
companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affil iate 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
platforms, 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, and they
should not be relied upon in making purchasing decisions.
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. All other product and service names mentioned are the trademarks of their respective companies.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
© 2019 SAP SE or an SAP affiliate company. All rights reserved.