Entering content frameProcess documentation Establishing a Job Chain Locate the document in its SAP Library structure

Purpose

You can execute end of day processing in two ways:

With the help of the job chain control you define which processing steps the system is to execute automatically.

Prerequisites

First you have to define the sequence in which you want the reports in the job chain processed. You do this in the Implementation Guide (IMG) by choosing Periodic tasks ® Specify sequence of mass processing. If you wish to use your own reports you will need to specify this in the Implementation Guide (IMG) by choosing Periodic tasks ® Include own reports for mass processing.

Including own reports for mass processing:

Here all the reports are listed that may be selected in a chain. You can specify both reports supplied by SAP, as well as your own reports. Note that inconsistencies can arise due to the column "Continue", as there can be dependencies between the reports. We recommend you only use the column for reports you have written yourself.

Specifying the sequence of mass processing:

With the help of this transaction you can define any chains you like. The procedure comprises two steps. First you assign the chain ID and the corresponding chain name and then the reports belonging to it.

You can include the following reports in mass processing (the line for standing orders only applies for banks).

Job name

Meaning

RFBKPDT2

Set date for payment transactions

RFBKPDT4

Set date for payment transactions in test

RFBKKC20

Cash concentration

RFBKCONC

Account balancing

RFBKBSST

Bank statement

RFBKCHACCUR

Account changeover

RFBKCLEB

Set balancing posting date

RFBKSOCR

Standing order

RFBKACCL

Account closure

RFBKCONA

Interest accrual/deferral

RFBKGL01

General ledger transfer

RFBKGLBSPREP

Balance sheet preparation

At the start of a chain, report: RFBKCHAINSTART is available to you.

These reports must also be provided with a standard variant. You can also provide parameters and selection options of variants using variables. On this subject, read the following documentation: Maintenance of Selection Variables in Table TVARV

Process flow

  1. With IMG activity Include own reports for mass processing you can ensure that all the reports exist. Since only the jobs listed here are available in IMG activity Specify the order of mass processing, you can also control which jobs you wish to include in your job processing chains.
  2. Define which reports are to run in a chain.
  3. Define the variants belonging to the reports. This includes the maintenance of the parameters and selection options in table TVARV.
  4. With IMG activity Specify the sequence of the mass processing, define the chain and the reports running in it with the corresponding variants.
  5. Schedule a job with report RFBKCHAINSTART.

Note Note:

For test purposes, use report RFBKPDT4, for production, report RFBKDT2. Report RFBKPDT2 has a check that prevents you setting the payment transaction date in the future.

With report RFBCHAINSTART you can start the chain both in online operation and in batch mode. For online operation, choose Periodic tasks ® End of day processing ® Start in the application.

For an example of how a job chain can be defined, see Proposal: Process Flow of End of Day Processing.

Result

End of day processing is automatically triggered and executed.

Note Tip:

To improve performance, you can have the processing steps processed in the system in parallel. You set up parallel processing in the Implementation Guide (IMG) by choosing Periodic tasks ® Parallel processing. There you set how many jobs per application type and per target computer are to be processed. This distribution depends on the number of target computers and the available batch processes. Do not distribute more jobs than there are batch processes available.

Leaving content frame