Application Development 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: 

Regarding Running job for so much time

Former Member
0 Kudos

Hi all,

I have a zprogram which is executing aroung 15000 sec , when i run with the same varient in th other time it is getting finished in 4000 sec, what would be the reason behind this ...

Please suggest me some thing on this..

and also tell me how the stats will help me to solve this problem

Thanks,

Suresh

3 REPLIES 3

Former Member
0 Kudos

Hi Frd

In Ur Program u may using LOOPING ...this may take long time for execute the program and while giving some varient ,it will select corresponding values in select statement and reduces the LOOPING time.

Change u logic ,it will reduce ur execution time.

Reward Me Point

By

Pari

Sm1tje
Active Contributor
0 Kudos

when i run with the same varient in th other..... The other WHAT? Other system, or....?

Transaction SM30, runtime analysis might give you a hint as to where the main problems lie. Is it a select statement, subroutine, look here, and you will find out.

Also use the code inspector for checking your report, can also give you some valuable information.

ThomasZloch
Active Contributor
0 Kudos

If your program reads a lot of data from buffered tables, it will take longer to read all values from the database the first time around. When you run the same program with the same selection again, this data will already be buffered on the application server and can be retrieved much quicker.

Cheers

Thomas