Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
ONEASITBATCH JOB MANAGEMENT
Copyright © 2017 ONEASIT Solutions
2
2
BJM
Batch Job Management
BJM is a full ABAP batch control tool that allows companies to take control
of their SAP complex batch job chains. An event-based triggering, real-time
alerting and dynamic critical path management, ensure timely availability of
business applications. BJM delivers:
• Easy and user-friendly customizing tool. Users can create, change or
display the company batch chain without need of complex trainings and
without much IT knowledge. Reduce administration costs, as the tool
requires minimal human, hardware or software resources.
• Real Time notification. Users can be informed on real time when issues
occur by mail, SMS. Application logs are created and can be used to
create BPEM cases for extra-business follow up of critical batch chain
error
• Central monitoring and error handling procedures. A very intuitive
monitoring allows administrator and even business users to easily
identify errors in the processes.
• Central documentation repository. In each step of a chain it’s possible
to add a description of the process, failure procedures, etc.
• Full ABAP tool development
• Event and rule based
• Documenting and central scheduling of jobs
• Central monitoring and error handling procedures
• Scheduling by simple management of complex rules
Key Features
Key Benefits• Improve availability of critical business services.
• Respond to real time business events.
• Increase visibility and control and allow better business responsiveness
• Reduce IT costs while improving service delivery
• Speed up deployment of batch services
3
3
BJM
Main Modules
BJM consists of four main modules:
• Job Definition – Create jobs and job
chains and related documentation and
error handling procedures
• Job Monitor – Follow up the
execution of a chain or several chains
• List Schedule – Monitor the
execution of a Chain but the
information is shown in a tabular view
• Schedule Chains – A chain can be
schedule in this module with different
trigger events, rules and action
parameters
Job Definition
A Job Chain is a set of Jobs, Rules, Actions and Sub-Chains that can be
executed in parallel or in sequence following a certain order.
4
4
BJM
Rules
Rules are pre-defined checks that can get the value TRUE or FALSE. Each
rule is linked to an ABAP class, the implementation of new rules can be
made in the customer name space and customized. The BJM Tool includes
several Rules by default like:
• Previous JOB OK → gets the value TRUE if the previous job was
executed successfully
• Previous JOB NOK → gets the value TRUE if the previous job was
NOT executed successfully
• Previous Job Finished → gets the value TRUE if the previous job was
executed successfully or unsuccessfully
• File Exists → gets the value TRUE if a file exists in a SAP Application
Server or in an External FTP Server
• File Not Exists → gets the value TRUE if a file does NOT exist in a SAP
Application Server or in an External FTP Server
• Dependency Job OK → gets the value TRUE if a specific job was
executed successfully (could be the previous Job or any other Job)
• Dependency Job NOK → gets the value TRUE if a specific job was
NOT executed successfully (could be the previous Job or any other Job)
• Dependency Job Finished → gets the value TRUE if a specific job was
executed successfully or unsuccessfully
• Dependency Job Wait → special rule used when a batch chain needs
to wait for a Job or Action to finish (either from the same batch chain or
from any other batch chain)
• Wait for mass activity →Parent child functionality that allows the
control of a mass activity
Theoretically the BJM Tool could be enhanced with any Rule as long as a
new class is implemented that uses /ONS/CL_BJM_RULE as super class.
5
5
BJM
Actions
Actions are special activities we want to perform in a Job Chain. The BJM
Tool has several actions by default, like:
Copy File Copy a file from/to a SAP Application Server or External FTP
Server
Move File Move a file from/to a SAP Application Server or External FTP
Server
Delete File Delete a file from a SAP Application Server or External FTP
Server
Email File Email a file located in a SAP Application Server/External FTP
Server to a email address or a distribution list
Notify by Email Send a text email to an email address or a distribution
list
Notify by SMS Send a text SMS to a mobile or a list of mobile phone
numbers
Theoretically the BJM Tool could be enhanced with any Action as long as
we implement a new ABAP class for each new Action.
Each Action and Rule can have zero or more parameters. These
parameters are specified in the Schedule Chain Module and not in the Job
Definition Module. With this approach, Job Chains can be reused allowing
for instance that the same Job Chain is executed 2 times a day but with
different parameters in each execution.
Sub-Chains are chains that are used to define other Chains. For instance, a
Chain called “Billing and invoicing” can exist that includes all Jobs, Actions
and Rules to bill and invoice the customers of a company. The “Billing and
Invoicing” chain can then be used in 2 different larger chains, one executed
every working day and the other executed in the weekends
6
6
BJM
Documentation
It’s also possible to add documentation in each job, event, rule and actions
and all steps inside a batch chain
BJM can control parent/child jobs boxes, this is common in ISU/FICA mass
activities where a process is executed in parallel jobs that are created by a
main program (Ex. RFKK_MA_SCHEDULER). A specific check can be
executed that reads the status of each child job and allow the batch chain
to react depending on that status of the child jobs (Action can be triggered if
a certain number of child jobs cancelled).
Parent Child Functions
Chain Variables
In ISU/FICA, a very important parameter is the batch date, which is the date
when the batch chain started or that should be used a reference date on
some very important batch chain jobs. BJM can control batch variables that
can then be used in every step of a chain, even to replace the standard job
variants variables values.
ç
7
7
BJM
Chain Variables
In ISU/FICA, a very important parameter is the batch date, which is the date
when the batch chain started or that should be used a reference date on
some very important batch chain jobs. BJM can control batch variables that
can then be used in every step of a chain, even to replace the standard job
variants variables values.
Application Log per Step
During the execution of a chain, an application log is created for each step
(Rule, action, check), this allow users to easily what was executed and get
right to the root cause on issues that can occur. This logs can be accessed
via the cockpit by double clicking on a step that is not linked to a standard
SAP batch job (For SAP standard jobs, the display of the standard SAP job
log is also available via double click).
ç
8
8
BJM
Job Monitor
This module contains an overview of all chains executed, in execution or
scheduled to be executed. By selecting one or more chains, all the chain
steps and their statuses are shown. In this context, a step can be an Event,
a Rule, an Action a Job or a Chain:
The following status allow users and administrators to have a simple and
quick view of the status of a chain and each step of the chain:
• Initial – Step not yet started
• Scheduled – Step scheduled
• Processing – In execution
• Finished – Finished successfully
• Cancelled – Finished with errors
• Paused – Chain execution was paused
• Stopped – Chain execution was stopped
Beside the status, a step has also a result that could be:
• Initial → Initial result
• OK → For Rules means True, for Jobs/Actions means Successful
• Not OK → For Rules means False, for Jobs/Actions means
Unsuccessful.
A Batch Chain can be Paused, Stopped, Deleted or Restarted. This feature
of the BJM Tool it’s very useful and can be used in several situations:
• A Daily Batch Chain should be delayed today due to a problem in the
system: It’s possible to Pause the Batch Chain and Restart it when the
problem was solved.
• A Daily Batch Chain cannot be executed today: It’s possible to Delete
the batch chain (just for today).
• A Batch Chain is being executed but needs to be paused for a while. By
clicking in the Pause button no new Jobs are launched until the batch
chain is Restarted
• A Batch Chain is being executed but it should not continue. The batch
chain can be stopped.
9
9
BJM
List Schedule
The List Schedule module can also be used to monitor the execution of a
chain but the information is shown in a tabular view:
For complex chains, this view could be useful to see which steps are being
executed at a certain time. This module could also be useful to export to a
spread sheet the result of a chain execution. However, since all steps are
shown as a list, it’s not so easy to understand what are the dependencies
among all the steps.
Schedule ChainThis module is used to schedule a Chain created in the Job Definition
module.
The execution of a Chain is triggered by an event. The BJM Tool has
several events by default:
• Immediate Start → event used to execute a Chain immediately
• Start Date/Time → event used to execute a Chain in a specific Date and
Time.
• On File Creation → even used to execute a Chain when a specific file is
created or copied in a SAP Application Server or External File Server.
• On File Removal → even used to execute a Chain when a specific file is
removed from a SAP Application Server or External File Server.
10
10
At Oneasit Solution, we believe that working with our customers and
partners is the best way to improve our tools and also the best way to give
customers what they think it’s important for them to run their business.
Feedback from our customers it’s very important for us and we take that
feedback very seriously in consideration. Our tools are build in a way that
any extra requirements or related functionalities can be added, either as a
specific customer development, as an enhancement or as a general
improvement of the tool. You feedback counts a lot for us.
BJM
Batch Job Management is the less expensive SAP batch monitoring and
control tool in the market, but as powerful as any other similar tool. Using
BJM will allow users and administrator to save time in monitoring complex
batch chains.
Continuous Improvement
Return on investment
Innovation
AddressOneasit Solutions
Business Center Ideia Atlântico
4719-005 Braga
Portugal
Social Medialinkedin.com/company/oneasit-solutions
GET IT IN TOUCHWe want to hear from you