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

Sceduling a background Job Dynamically

former_member853013
Participant
0 Likes
334

Hi all,

Is it possible to schedule a job by dynamically.

I have to schedule a job to run a program based on the entries.

suppose, itab contains 400 plus entries.

I have to schedule a job for every 100 entries. and once the first job is finish then only next job should run.

Please suggest me a solution.

Thanks in advance.

Eswar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
313

In your program you can create a job with multiple steps 1 for each 100 records.

The function module used to create the job is called 'BP_JOB_CREATE'

You within your BDC you would have a counter that ensures that only 100 records at a time where put into a session.

Each session name could be incremented by 1.

Hopefully this helps.

Regards

J

1 REPLY 1
Read only

Former Member
0 Likes
314

In your program you can create a job with multiple steps 1 for each 100 records.

The function module used to create the job is called 'BP_JOB_CREATE'

You within your BDC you would have a counter that ensures that only 100 records at a time where put into a session.

Each session name could be incremented by 1.

Hopefully this helps.

Regards

J