12-04-2008 3:52 PM
Hi All,
I have scheduled a program in background.But i am getting short dump as TIME_OUT.
I am getting the following dump.
********************************************************************
Runtime Errors TIME_OUT
Occurred on 04.12.2008 at 06:11:26
Time limit exceeded.
What happened?
The program "SAPLZ_PTI_FILE" has exceeded the maximum permitted runtime without
interruption, and has therefore been terminated.
002430 WHEN 'WA_INSTALL-ANLAGE'.
002440 DATA: c_anlage(10) TYPE n.
002450 c_anlage = lw_sdata-symvalue.
> SELECT SINGLE aklasse FROM eanlh INTO p_aklasse ---->dump occurs here
002470 WHERE anlage = c_anlage
002480 AND bis = '99991231'.
002490
002500 *- Sluitveld geeft einde van te verwerken IDOC-data
002510 WHEN 'GV_EINDVELD'.
*************************************************************************
This code is executing inside a loop.
Anybody has the solution for this?
Please help me, in solving this problem.
Thnaks
Taj
12-05-2008 1:16 PM
you need to SELECT aklasse FROM eanlh INTO internal_table for all entries(where you are currently looping.
then in loop insted of select single wite Read internal_table with key
12-05-2008 1:16 PM
you need to SELECT aklasse FROM eanlh INTO internal_table for all entries(where you are currently looping.
then in loop insted of select single wite Read internal_table with key
12-05-2008 1:19 PM
first of all using a select statement in the loop is not avisable.
use a read statement instead of loop.
thanks,
poonam.
12-05-2008 2:19 PM
Your Select statement has got nothing to do with the dump.
It is a TIME OUT dump which simply means that maximum allotted time was exceeded. Try to do some performance tuning on your report. Just walk through the report in debug mode to just check if it falling in some infinite loop. Or you could try to limit the amount of data being processed through your selection parameters.
If nothing above works. Request your basis to somehow increase the time limit further.
These are the only ways. Most importantly Do Performance Tuning. All The Best !
Try transaction se30. It will help.