Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with BDC background scheduling

Former Member
0 Likes
476

Hi Friends,

I have to schedule my BDC program to rum for every one minute, I am able to run the program successfully in foreground.

DATA:  L_OPT LIKE CTU_PARAMS.

L_OPT-DISMODE = 'N'.
l_opt-updmode = 'S'.
L_OPT-RACOMMIT = 'X'.

call transaction 'IW22'
               using  BDCdata
               OPTIONS FROM L_OPT .

If i schedule immediately also its running successfully, is there any problem with the duration ,. I need to run this for every one minute.

Any ideas.

Regards

Satish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
443

Hi

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.

for RSBDCBTC check the link!!

<a href="http://sapabap.iespana.es/sap/oss/0015999.htm">http://sapabap.iespana.es/sap/oss/0015999.htm</a>

Regards

Raj

2 REPLIES 2
Read only

Former Member
0 Likes
444

Hi

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.

for RSBDCBTC check the link!!

<a href="http://sapabap.iespana.es/sap/oss/0015999.htm">http://sapabap.iespana.es/sap/oss/0015999.htm</a>

Regards

Raj

Read only

0 Likes
443

Hi Raj,

Thanks for reply, well i have solved the problem.

There were so many background jobs are running in my machine, so my program was not getting a chance. I have deleted all others and gave priority as A , it worked.

Regards

Satish