Controlling Batch Input Sessions 
Batch Input Sessions are a special type of SAP job that process incoming data. A particular OS directory is designated in SAP as the Batch Input Folder. Other applications can then send data in a special SAP format called iDocs to the SAP System by placing a file in this directory.
To process the incoming data, you submit the ABAP program RSBDCSUB. This program reads the batch input folder and submits a new SAP job for every file found in this folder. Unfortunately, RSBDCSUB does not wait for the processing jobs to finish.
It is, therefore, very difficult to build dependencies within SAP using RSBDCSUB, because the start job does not wait for the processing to finish and it is not known beforehand what the child jobs will be. With the standard CCMS scheduler you are forced to resort to ABAP programming to find the child jobs and then wait for them to finish.
If you use BC-XBP 2.0, SAP CPS will automatically realize that RSBDCSUB has created child jobs and will automatically delay setting the RSBDCSUB job to a finished state until all these jobs are finished. So when BC-XBP 2.0 is used, you can schedule RSBDCSUB just like any other job. This behavior also works when the RSBDCSUB job is intercepted. In both cases any dependencies made on this job in SAP CPS will only start once all child jobs are finished.
Navigate to .
Choose Submit form the context menu of the SAP_AbapRun job definition.
Fill in SAP System, SAP job name and enter RSBDCSUB into the ABAP program field.
Choose Submit and navigate to to locate the jobs.