2016 Jun 20 11:20 AM
Hi Everyone,
We have written a custom program for Activating, Assigning tech object and update dates for contracts.
We have scheduled a single background job with 6 different programs and the above stated program comes in as 4th step.
and the time spent on that particular step is around 5K seconds, but when we try to execute that single program alone in background it takes only 1 to 1.5 K seconds. Even we tried to de-bug the background jobs, enabled trace(ST12 & ST05) but unable to spot on what is causing the delay.
Currently the job class is 'C' and we are planning to change this to 'A'.
kindly let us know for any suggestions on this issue.
BR
Balaji
Hi Everyone,
We have written a custom program for Activating, Assigning tech object and update dates for contracts.
We have scheduled a single background job with 6 different programs and the above stated program comes in as 4th step.
and the time spent on that particular step is around 5K seconds, but when we try to execute that single program alone in background it takes only 1 to 1.5 K seconds. Even we tried to de-bug the background jobs, enabled trace(ST12 & ST05) but unable to spot on what is causing the delay.
Currently the job class is 'C' and we are planning to change this to 'A'.
kindly let us know for any suggestions on this issue.
BR
Balaji
2016 Jun 20 1:30 PM
You should have collected clues by using ST12 (abap runtime and SQL). Is it the same amount of data processed? As the job was around 4 times slower, did all of the program routines run exactly 4 times slower, or did you notice one or more spending more time?
If you change the job class, then I guess you suspect there were workprocesses used by other programs at the same time, so ask the admins to investigate the overall load.
Edit : I didn't understand why you're talking about "BATCHID".
2016 Jun 20 3:13 PM
Hi Sandra,
Thanks for your reply.
Here we are considering only one program which comes at 4th step and it is only taking more time & rest of the programs are getting executed within considerable time.
The job(6 different programs) is executed by the BAtch id( user type - C) and i tried to execute that 4th step program alone in background using my user id( user type - S ).
Through ST12 we were able to capture only statements which has Net calculation under 1 %.
Regards,
Balajisha
2016 Jun 20 3:20 PM
The performance issue cannot be related to the type of user.
You may only determine what happens by analyzing the trace and the global system load (free workprocesses, %cpu). This is a shared work between ABAP developers and administrators.
Without further information, I give up.