Application Development and Automation 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: 
Read only

Time limit exceeded.

Former Member
0 Likes
6,376

Hi All,

I'm facing a short dump, the short text for which is.

The program "XXXXXXX_XX" has exceeded the maximum permitted runtime without                 
    interruption and has therefore been terminated.

The dump is occurring just at the start of the RFC as shown in "Source Code Extract".

Source Code Extract                                                                              
Line SourceCde                                                                                  
>>>>>FUNCTION YYY_YYY_YYY.                                                            


Following is the screenshot of where it got terminated.

  

Information on where terminated                                                                  
    Termination occurred in the ABAP program "XXXXXXX_XX" - in " ".                             
    The main program was "ZZZZ".                                                            
   
    In the source code you have the termination point in line 1                                  
    of the (Include) program "XYXYXYX".                                                      

    |                    Main memory destroyed                      |                            
    The error occurred because of a main memory overwrite. There may                             
    be an internal error in the R/3 System.                                                      
   
    The amount of memory occupied at the time of the termination was:                            
    > Roll area......................... 0 bytes                                                 
    > Extended memory area (EM)......... 0 bytes                                                 
    > Fixed area........................ 0 bytes                                                 
    > Short area........................ " " bytes                                               
    In the work directory of the SAP system (e.g. /usr/sap/C11/D00/work ),                       
    there may be files called 'mm.dump' and 'mm.info'.                                           
    Save these files under other names. 

Can anyone help me on this.

Hi All,

I'm facing a short dump, the short text for which is.

The program "XXXXXXX_XX" has exceeded the maximum permitted runtime without                 
    interruption and has therefore been terminated.

The dump is occurring just at the start of the RFC as shown in "Source Code Extract".

Source Code Extract                                                                              
Line SourceCde                                                                                  
>>>>>FUNCTION YYY_YYY_YYY.                                                            


Following is the screenshot of where it got terminated.

  

Information on where terminated                                                                  
    Termination occurred in the ABAP program "XXXXXXX_XX" - in " ".                             
    The main program was "ZZZZ".                                                            
   
    In the source code you have the termination point in line 1                                  
    of the (Include) program "XYXYXYX".                                                      

    |                    Main memory destroyed                      |                            
    The error occurred because of a main memory overwrite. There may                             
    be an internal error in the R/3 System.                                                      
   
    The amount of memory occupied at the time of the termination was:                            
    > Roll area......................... 0 bytes                                                 
    > Extended memory area (EM)......... 0 bytes                                                 
    > Fixed area........................ 0 bytes                                                 
    > Short area........................ " " bytes                                               
    In the work directory of the SAP system (e.g. /usr/sap/C11/D00/work ),                       
    there may be files called 'mm.dump' and 'mm.info'.                                           
    Save these files under other names. 

Can anyone help me on this.

6 REPLIES 6
Read only

Former Member
0 Likes
2,991

HI,

Please check with BASIS and asked them to increase the time period.It may solve your problem.

Read only

vinoth_aruldass
Contributor
0 Likes
2,991

hi,

check your performance of the code..

try to optimize your code..

if it is a standard thing reduce your input range ...

hope it helps,

Vinoth

Read only

Former Member
0 Likes
2,991

hi,

to solve this issue, concentrate on the performance of the program.. so that it ll take less time to execute the entire process..

Usually BASIS guys ll set this maximum time limit for program execution with all the importance factors in mind.

if your program execution takes more time and crosses this limit means, it ll result in dump only..

code your program with less processing time or if you want maximum time for sure means contact your BASIS team and inform this issue.. they ll solve this.

Read only

Former Member
0 Likes
2,991

Hello,

There are settings within SAP that specify how long ABAP programs can run or wait to be executed. Give this error message to your SAP team and they should be able to help you out.

Thanks

Katrice

Read only

Former Member
0 Likes
2,991

As suggested by everyone, first of all check the performance of the code. If that does not help ask basis colleague to adjust the value of the parameter rdisp/wp_max_runtime through the trasnaction RZ11.

Read only

dirk_wittenberg
Contributor
0 Likes
2,991

Hi,

is it a dialog program or a report?

If the later try to run it as batch, batch-processes normally don't abort due to time-out.

Regards,

Dirk