04-18-2008 11:58 AM
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
04-18-2008 12:03 PM
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
04-18-2008 12:04 PM
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.
04-18-2008 12:10 PM
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