0% found this document useful (0 votes)
30 views31 pages

4SAP Background Workprocessor

4SAP_Background_Workprocessor

Uploaded by

Sahi Nagarajan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views31 pages

4SAP Background Workprocessor

4SAP_Background_Workprocessor

Uploaded by

Sahi Nagarajan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

SAP S/4 HANA BASIS ADMINISTRATION

BASIS ADMINISTRATION
Background processing
WHAT THIS TOPIC?
I am Dialog Work processor. I am not able to run
the report for generating payroll for 10k. My
memory is exhausting

Generation of
payroll for
10K
employees

Background Work
Dialog Work Processor
Processor
I am Background Work processor. I can
handle this easily. Run the report in
background Mode
Why is Background Processing Required?
Users can schedule jobs any time and an
infinite number of times.

SAP background jobs can decrease


manual effort and automates the task.

It optimizes the SAP computing


resources

It can decrease the system load by


scheduling a job in non-working hours.
Job Job Job
Scheduling Processing Overview
How to define a job – SM36

1 – Give the Job Name


Jan - 2007

8
To create a background job, use
transaction SM36.

Job Name and Job Class are required fields. The


Job Class is the priority level of the job (A, B, or C
with A being the highest priority).

9
1. Give the Job Name & click on Step
2. Click on ABAP Program and
provide details such as Program
Name & Variant
3. Review the Overview of Step
Details
Jan - 2007 10
• A variant is a set of filters and input parameters that
you define to view specific subsets of data from the KPI
or the report.
Jobs can be scheduled to run Jobs can be scheduled to Jobs can be scheduled to run
immediately or at a particular run after another job has after an event has been
date/time. been completed. “raised/triggered”.

Jan - 2007 12
Job
Scheduling

By checking the ‘Periodic


Job’ option, you can
specify that the job run at
With the ‘Period Values’
regular intervals.
pushbutton, you can
schedule the job to run
hourly, daily, weekly,
monthly, etc.

13
Job
Scheduling

When selecting the ‘After Job’


pushbutton, you must specify the
name of the job that must be
completed before this job will run.

If you check the ‘Start status-depend.’


option, this job will run only if the
specified job ends successfully.

14
Scheduling Job After an Event

When selecting the ‘After Event’


pushbutton, you must specify the name
of the event that must be raised before
this job will run. You can distinguish
between different occurrences of a
particular event by specifying a
parameter.

If you check the ‘Periodic Job’ option, the system starts a new
job each time the specified event is raised.

15
Job
Processing

JOB
JOB

JOB
Background Background
scheduler Dispatcher
Work Processor

16
Job
Processing
Job
Processing

Scheduler

Start Module

Job Log
Spool Job Step #1
List Message
Write

End Module
Job overview

SM37

Job Status

Job
overview

20
• A job can have the following statuses:
• Scheduled
The steps of which the job consists have already been
defined, however the start condition must still be defined
• Released
The job has been completed defined including its start
condition. A job cannot be released without a start
condition. Only an administrator or a user with the relevant
authorizations for background processing can release a job.
This ensures that unauthorized users cannot execute jobs

Status of a without approval


• Ready
The start condition of a released job has been fulfilled. A

Job job scheduler has placed the job in the wait queue for a
free background work process
• Delay
• The execution of the job is delayed due to unavailability
of free Background work processes.
Job
Overview

System and Program


Messages

23
tcode SJOBREPO

24
SM64

Event based
scheduling

26
27
• There are two types of users involved in
Background background processing —
• A background user is a dialog user, and this user
Users owns all jobs in the system — It is advised to use a
background user rather than any other dialog
users to create background jobs
• When a job step is defined — you need to define
the name of the user in whose name the step
would be executed. The specified user is used for
the authorization checks during the execution of
the step. By default, the name of the logged-on
user appears in this field. As a best practice use a
system user with SAP_ALL authorization for this
purpose Example: BATCH_USER

28
Execution target

No Execution Target Yes Fixed Instance or


Load Balancing
Mentioned ? Job Server Group

Job Server Group


t-code SM61

29
• What is Background Processing
• Why it is required
• Phases of Background Processing
• Job Scheduling Steps
• Job Processing Steps
• Job Overview Steps
• Job Statuses
• Job Log Overview
• Standard Jobs in ECC & S/4 HANA
• Event Based scheduling
• External Operating System Command
• Background Users
• Exectuion Target

KEY TAKEAWAYS:
Thank you.
Take a short break before starting the next
session

You might also like