on 09-05-2012 5:52 PM
I need your help setting up delay time between 2 SAP background jobs. I am using events to trigger both the jobs. After completion of the 1st job, I want to delay the 2nd job for 30seconds. Any help is appreciated in providing the solution.
Thx
Jeff
Thx every body for pitching in.
I am short of ABAP resources, what I did is I included a consistency report, which runs for 45seconds, in between these 2 jobs. Problem solved.
thx
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
Try this ABAP. You can set up a variant for the parameter and add ABAP call in the process chain.
Kind Regards
Alistair Glover.
REPORT Z_CHAIN_DELAY.
**This program allows you to set a delay of 1 to 99999 seconds.
**It is to be used in process chains where a delay is required.
**
**For example in APO this is between warning users that they will be
**logged off and kicking them out prior to batch jobs.
PARAMETERS: DELAY TYPE I OBLIGATORY LOWER CASE.
WAIT UP TO delay SECONDS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
I see it now. May be you can create a wrapper program(ABAP) which triggers the first event associated with the first job and make a loop(with in the defined interval (Usually the first background job execution time) ) with in the program to check for the job status and trigger the second event once the job is completed successfully.
Regards,
Reddy.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.