In most cases, batch input sessions can be processed automatically. It is not
necessary for a session to wait until a system administrator explicitly starts
the processing of the session.
This section explains how to have sessions started automatically soon after
the session has been generated in an R/3 System.
Prerequisites
The ABAP program RSBDCSUB must be scheduled as a periodic job in the R/3
background processing system. RSBDCSUB checks for and starts any batch input
sessions that have not yet been run. It schedules such sessions for immediate
execution in the background processing system.
Procedure
Schedule RSBDCSUB to run periodically in one or more background jobs.
If you have regularly scheduled batch input runs, you can schedule separate
jobs for each of the scheduled data transfers. The start time for the RSBDCSUB
job can be set according to the batch input schedule. And you can use a variant
to restrict RSBDCSUB only to the batch input sessions that you expect.
With RSBDCSUB, you can use all of the selection criteria offered on the batch
input main menu to select sessions to run:
session name
date and time of generation
status: ready to run or held in the queue because of errors
Result
Batch input sessions are started automatically rather than by hand. The
RSBDCSUB program can be set up to start all sessions that arrive in an R/3
System, or it can be fine-tuned to start only batch input sessions that you
expect.