Hi,
trying to change key figure disaggregations and it normally takes less than 10 minutes to make these changes and activiate them. I am getting the following timeout error /SAPAPO/SAPLOO_TS_LCM. kindly find below short dump. kindly guide me.
Category ABAP Programming Error
Runtime Errors TIME_OUT
ABAP Program /SAPAPO/SAPLOO_TS_LCM
Application Component SCM-APO-FCS
Short text
Time limit exceeded.
What happened?
The program "/SAPAPO/SAPLOO_TS_LCM" has exceeded the maximum permitted runtime
without
interruption and has therefore been terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
After a specific time, the program is terminated to make the work area
available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
time limit is
exceeded, the system attempts to cancel any running SQL statement or
signals the ABAP processor to stop the running program. Then the system
waits another 60 seconds maximum. If the program is then still active,
the work process is restarted.
How to correct the error
Programs with long runtime should generally be started as background
jobs. If this is not possible, you can increase the system profile
parameter "rdisp/max_wprun_time".
Depending on the cause of the error, you may have to take one of the
following measures:
- Endless loop: Correct program;
- Dataset resulting from database access is too large:
Instead of "SELECT * ... ENDSELECT", use "SELECT * INTO internal table
(for example);
- Database has unsuitable index: Check index generation.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"TIME_OUT" " "
"/SAPAPO/SAPLOO_TS_LCM" or "/SAPAPO/LOO_TS_LCMFL1"
"LCM_CHECK_ADAPT_TIMESERIES"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOO_TS_LCM" - in
"LCM_CHECK_ADAPT_TIMESERIES".
The main program was "/SAPAPO/TS_LCM_PAREA_CHANGE2 ".
In the source code you have the termination point in line 368
of the (Include) program "/SAPAPO/LOO_TS_LCMFL1".
System environment
SAP Release..... 731
SAP Basis Level. 0008
Regards
Shubh