BCKPRSNG
BCKPRSNG
BACKGROUND PROCESSING
All the non-dialog and time consuming programs can be executed in the background. For
background processing, R/3 system provides the backgorund service with its background work
processes, also referred to simply as background processes.
Unlike dialog processing, during which each logical Unit of work (LUW) is assigned by the
dispatcher to the next free dialog process, in the background processing one process is assigned
to a background job for the duration of processing.
You set the time at which the background job should start. You can trigger the job using either a
set time or an event.
A background scheduler is active within the instances of the R/3 system. At specified intervals, the
background scheduler checks if there are any background jobs to be processed.
The background scheduler is program that is interpreted and processed within a specified dialog
process. The background scheduler automatically selects the dialog process when the R/3 system
is started
By default, the time interval for the background scheduler to become active is 60 seconds. The
administrator can change this time in the instance profile by setting the parameter rdisp/btctime.
One event scheduler is active on the application layer of the R/3 system. You can select the
instance for the event scheduler by setting the parameter rdisp/btcname = <computer name> in
the default profile (DEFAULT.PFL).
The R/3 system is delivered with a set of events. Follow the path Tools à CCMS à Jobs à
Define Events à System Event Names à Display
After you click the Enter icon, you get a list of system events
You can also define your own events. Follow the same path and select the user events name
section
Events can be triggered by following the path Tools à CCMS à Jobs à Raise Event
Following the path Tools à CCMS à Jobs à Definition or by executing the transaction code
SE36 background jobs can be defined.
To schedule a background job, you basically need to provide with the job name, job class, Target
host name, start date and time and processing step information.
Class A jobs have the highest priorities. These jobs ensure the functioning of R/3 and are time
critical
You can set the start time and date by clicking on the Start date button on the application toolbar.
Here you can also set periodic values to execute the job
To execute a ABAP program in background an variant has to be defined. You can define a variant
by following the path Tools à ABAP Workbench à Goto à Variants à Create . You enter a
variant name and a parameter value and then save it.
You should also define the steps to process the background jobs. A background job should have
at least one step defined.
External commands consists of a logical name and an assigned external program with selected
parameter values, which can vary depending on the operating system
You can define an external command from the CCMS menus. Follow the path Configuration à
External Commands à Change à Command à Create.
The R/3 system already contains many external commands. You can also create additional
external commands.
Enter the external command name, OS command and the parameter with which the OS command
should be executed. The OS command lies below the external command name.
A command defined in such a way can be used both when you define background jobs and from
the CCMS
Choose Jobs à External commands, or use the trasaction code SM49, select a command, and
then choose Command à Execute
You can monitor and analyze the background via the menu path CCMS à Jobs à Maintenance.
Alternatively you can also use the transaction code SM37
Depending on the selection made, a list of background jobs is generated alone with their status
To display the job log, double click on a job. These job logs give you some very valuable
information such start time, date, job status like whether the job finished successfully or was
cancelled etc.
You can increase / decrease the number of background processes available in the system using
the parameter rdisp/wp_no_btc in the instance profile.
You can use authorizations to control the actions that are performed by a user in background
processing.
Authorization Meaning
For an R/3 system to function to satisfaction there are certain jobs that need to carried out at
regular intervals. It is the systems administrators’ responsibility to schedule and monitor these
jobs.
RSCOLL00 Collects the general statistical data for R/3 system Hourly
perfomance analysis.
COLLECTOR_FOR_PERFORMANCEMONITOR
RSBPCOLL Collects the statistical data to analyze the average run time Daily
of periodically executed jobs
RSBTCDEL Deletes all logs successfully completed jobs Daily
Client-dependent
RSPO0041 Deletes obsolete spool objects Daily,
depending on
Client-dependent the print
activities
RSPO0043 Deletes spool lists, which are remnants of canceled Daily
background programs
If you need further information on these programs then goto SE38 and have a look at the
programs documentation.