Runtime Errors TIME_OUT

guyz,
i am facing the below issue while running DTP to load the master data attr to info object.
previoulsy it was working perfect but from last few days its getting hanged and throwing this error.
also records are very few around 2500.
dont know why its getting hanged.
Runtime Errors         TIME_OUT
Date and Time          10/04/2011 16:35:09
Short text
     Time limit exceeded.
What happened?
     The program "SAPLSENA" 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" " "
    "SAPLSENA" or "LSENAF01"
    "FLUSH_PACKAGE"
    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.
also sometimes when i try to refresh the requests in the manage option of the info object, it doesnt show the previous requests and throws the message
Refresh of the display terminated because InfoCube/DSO cannot be locked
Message no. RSM854
Diagnosis
InfoProvider 0PROD_CATEG cannot be locked with lock argument RSICCONT.
System Response
The display is not refreshed and contains old or incorrect data, that can come from other InfoProviders.
Procedure
Check why the sm12 lock is not yet released on the table RSICCONT; Where necessary delete the lock.
With reproduction of an unauthorized lock, write a message to SAP.
please guide.
cheerz,
raps.

Dear Raps,
The program SAPLSENA is the lock handler tool. It is doing
enqueue/dequeue operations.
The error should come from the program created running in this dialog
process and calls the SAPLSENA program to create the lock.
The problem actually occurs because an application program commits many
separate calls of DEQUEUE function modules, and thus causes the
dispatcher queue in the enqueue dispatcher to overflow. Such an
application program always causes a performance problem. DEQUEUE calls
are started asynchronously, that is, they normally do not give a
response, and the calling program continues without waiting time.
If an overflow of the ENQ dispatcher queue occurs in this case, locks
are kept forever, and processes that are waiting for an enqueue
response, will keep hanging.
Please kindly refer to some notes for more information.
653996     Analyzing lock situations
142054     Processes in status stopped ENQ
97760      Enqueue: Performance and resource consuption
74141      Resource Management for tRFC and aRFC
39412      How many work processes to configure
Please check as well attached note 74141 for RFC load distribution.
Regards,
arvind

Similar Messages

  • Display Infocube Content produces Runtime Errors = TIME_OUT

    Hi,
    Upon trying to display content of an InfoCube (200 records only), I received the following error:
    Runtime Errors         TIME_OUT                                                     
    Date and Time          13.12.2007 11:16:24                                                                               
    Short text                                                                               
    Time limit exceeded.                                                                               
    What happened?                                                                     
         The program "CL_SQL_RESULT_SET=============CP" has exceeded the maximum        
          permitted runtime without                                                     
         interruption and has therefore been terminated.                                                                               
    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.                                                                               
    Trigger Location of Runtime Error                                             
        Program                                 CL_SQL_RESULT_SET=============CP  
        Include                                 CL_SQL_RESULT_SET=============CM006
        Row                                     32                                
        Module type                             (METHOD)                          
        Module Name                             NEXT_PACKAGE                                                                               
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    2 *                                                                       
        3 * Fetches the next bulk of rows into an internal table.                 
        4 *                                                                       
        5                                                                         
        6   DATA:                                                                 
        7     sql_code       TYPE i,                                              
        8     sql_msg        TYPE dbsqlmsg.                                       
        9                                                                         
       10   FIELD-SYMBOLS:                                                        
       11     <line> TYPE ANY,                                                    
       12     <outtab> TYPE STANDARD TABLE.                                       
       13                                                                         
       14                                                                         
       15   IF me->cursor = c_invalid_cursor.                                     
       16 *   result set has already been closed                                  
       17     RAISE EXCEPTION TYPE cx_sql_exception                               
       18       EXPORTING invalid_cursor = 'X'.                                   
       19   ENDIF.                                                                
       20                                                                         
       21 * check that a reference to the output table has been set by            
          22 * a preceeding call of SET_PARAM_TABLE; in this case the attribute  
       23 * LINE_REF contains a reference to a data structure of the          
       24 * table's line type                                                 
       25   IF me->itab_ref IS INITIAL.                                       
       26     RAISE EXCEPTION TYPE cx_parameter_invalid                       
       27           EXPORTING parameter = 'ITAB_REF'.                         
       28   ENDIF.                                                            
       29   ASSIGN me->itab_line_ref->* TO <line>.                            
       30   ASSIGN me->itab_ref->* TO <outtab>.                               
       31                                                                     
    >>>>>   CALL 'C_DB_FUNCTION' ID 'FUNCTION' FIELD 'DB_SQL'                 
       33                        ID 'FCODE'    FIELD c_fcode_next_package     
       34                        ID 'CONNAME'  FIELD me->con_ref->con_name    
       35                        ID 'CONDA'    FIELD me->con_ref->con_da      
       36                        ID 'CURSOR'   FIELD me->cursor               
       37                        ID 'BOUND'    FIELD me->outvals_bound        
       38                        ID 'OUTVALS'  FIELD me->parameters->param_tab
       39                        ID 'OUTTAB'   FIELD <outtab>                 
       40                        ID 'LINE'     FIELD <line>                   
       41                        ID 'UPTO'     FIELD upto                     
       42                        ID 'ROWCNT'   FIELD rows_ret                 
       43                        ID 'SQLCODE'  FIELD sql_code                 
       44                        ID 'SQLMSG'   FIELD sql_msg.                 
       45                                                                     
       46   IF sy-subrc = 0.                                                  
       47 *   some rows fetched                                               
       48     ADD rows_ret TO rows_fetched.                                   
       49                                                                     
       50 *   set the OUTVALS_BOUND flag; this avoids "reassignement" of the  
       51 *   output variables the next time this method is called, i.e. the                                             
    Can someone help me to solve this problem. Thanks!

    Hi,
    Chk the below line from the dump in line 3 - 'Fetches the next bulk of rows into an internal table'
    what that error means is the volume which u r trying to view is beyond the size of the internal table buffer and because of that it is leading to a dump.
    As the previous reply suggests try to increase the size of table buffer which will help you display much larger volumes.
    Selection of fewer columns would be much quicker and easier to analyse data quickly.
    Regards

  • Transaction IA12:ABAP runtime errors:TIME_OUT

    Hi,
    We are executing transaction IA12.We are getting ABAP runtime errors:Time_Out.
    We have searched for a SAP note to sort the issue:SAP Note 607086 - Functional location: Problems when displaying structure list.
    Please suggest what will be the option to solve the issue.
    Thanks.

    Hi,
    searching for the FORM routine where the timeout occurs ("mara_predecessor_f50") and excluding SAP notes that are modification notes or based on the implementation of modification notes, there is only one remaining note
    Note 658930 - Structure list: Configuration not considered with BOM
    for 46C up to Support Package SAPKH46C46.
    If this is still not in your system, the note may be a solution.
    If not, I'm running out of good ideas. Then also the SAP modification notes can be your last option.
    Regards,
    Klaus

  • LSO_PSV2 - Create /w Resources freezing, ABAP runtime error, TIME_OUT

    Hello Experts,
    I have an individual user that is a part of a team that manages our LSO environment. He is experiencing a problem when performing a "Create with resources" on an instructor-led course.
    After choosing this option his session just spins but never enters the course details screen as expected.
    After anywhere from 15 - 30min the session returns an ABAP runtime error of "TIME_OUT". The error details state that the time out for ABAP programs is set to 3000sec (50min). The odd thing is that the program never reaches the 50 min marks but still throws the error.
    The user is able to select the "create w/o resources" option and get to the next screen as expected.
    I have run security traces (ST01) on his account and all looks fine (rc=0)
    He is one of several people that executes this transaction but is the only user that is receiving this issue. The team is assigned to the same position and shares the same PD profile. They share the same security roles and the same ABAP program is being run.These users are a third party vendor that remote in via citrix desktop.
    I have had our Basis team exam the ABAP runtime error and what is happening behind the scenes as this runs and they see no indication that the program is retrieving data even though it processes for a long time.
    Obviously this is a complex issue, I have searched for two weeks with no success. Any thoughts, suggestions are more than welcome at this point as the user is unable to perform needed work functions.

    Any solution on this one? I have the same problem with LSO_PSV2 :/

  • IDOC Runtime error TIME_OUT has occurred

    Dears,
              We are having a Machine to Machine Order interface, where huge volume of order files are being sent to SAP from legacy system through XML files which PI interface converts as Inbound IDOCs.
    The issue we are facing here is : when huge number of order files are sent the IDOCs are stuck in 51 status due to TIME_OUT error. This is mainly because of :
    1. Huge volume of files
    2. Size of files
    which eventually leads to optimum consumption of system resources and thus leading to TIME OUT errors, where order files gets stuck under 51 status with TIME OUT errors.
    Alternative solutions : During peak season we do re run the IDOCs when the system resources are up or not busy.
    Let me know, are there any other approach which we can consdier other than below mentioned ones :
    1. Batch jobs
    2. Bang on for bigger app servers
    Your inputs and suggestions are highly appreciated.
    Regards
    Chirag Gowda

    Hi,
    break this into two select queries......
    use the below code to do the same....
    data : begin of fs_afko
                  aufnr type afko-aufnr,
                  aufpl type afko-aufpl,
                  reuck type afko-reuck,
            end of fs_afko.
    data : Begin of fs_afpo,
                aufnr type afpo-aufnr,
               matnr type afpo-matnr,
            End of fs_afpo.
    data : t_afko type table of fs_afko,
             t_afpo type table of fs_afpo.
    SELECT aufnr aufpl rueck
      INTO   TABLE t_afko
      FROM   afko
      WHERE  afko~aufnr  IN  s_aufnr
      AND    afko~dispo  IN  s_dispo.
    SELECT afpo~matnr
      INTO   TABLE t_afpo
      FROM   afpo
      FOR ALL ENTRIES IN t_afko
      WHERE  aufnr  =  t_afko-aufnr
      AND    afpo~matnr  IN  s_matnr
      AND    afpo~dwerk  IN  s_werks
      AND    afpo~dauat  IN  s_auart.
    loop at t_afko into fs_afko.
      loop at t_afpo into fs_afpo where aufnr = fs_afko-aufnr.
        move-corresponding fs_afko to fs_temp_orders.
        move-corresponding fs_afpo to fs_temp_orders.
        append fs_temp_orders to it_temp_orders
      endloop.
    endloop.
    Regards,
    Siddarth

  • Error : TIME_OUT

    hi,
    thanks in advance,
    i am using simple abap program to fetch the data from different tables with ineer joins.
    i am storing that data into internal table.
    but when i am executing the program i am getting error
    Runtime Errors : TIME_OUT.
    Short Text
        Time Limit Exceeded
    any solution on such problem?

    Hi,
    TIME_OUT errors will occurs, as maximum permitted time for execution of report might be reached. basically the time in secondds like 900,1800,2700 seconds will be given the programs and will be set by Basis team.
    Try to execute the program in Background.After giving all selection screen values, Goto Program-->Execute in background option.
    Give necessary print parameters and format for output and schedule with Immediate option. Now goto SM37 and check your batch job for the spool.
    Even after program has not finished means, you may to do performance tuning for your SELECT statements..
    REgards,
    Ashok

  • Performance Tuning 'Runtime Error' on Select statement

    Hi Experts,
    Good Day!
    I would like to ask some help regarding a custom program that will encounter 'Runtime Error' on the below codes on how to perform performance tunning especially number 1.
    1.
    SELECT A~VBELN A~ERDAT A~AUART A~VKORG A~VTWEG A~SPART A~VDATU
             A~KUNNR B~POSNR B~MATNR B~ARKTX B~ABGRU B~KWMENG B~VRKME
             B~WERKS B~VSTEL B~ROUTE
          FROM VBAK AS A INNER JOIN VBAP AS B ON A~VBELN EQ B~VBELN
                         INNER JOIN VBEP AS C ON A~VBELN EQ C~VBELN
                           AND B~POSNR EQ C~POSNR
            INTO CORRESPONDING FIELDS OF TABLE I_DATA_TAB
              WHERE A~VBELN  IN S_VBELN
                AND A~VKORG  IN S_VKORG
                AND A~AUART  IN S_AUART
                AND A~VTWEG  IN S_VTWEG
                AND A~SPART  IN S_SPART
                AND A~VDATU  IN S_VDATU
                AND A~KUNNR  IN S_KUNNRD
                AND B~MATNR  IN S_MATNR
                AND B~KWMENG IN S_KWMENG
                AND B~VRKME  IN S_VRKME
                AND B~WERKS  IN S_WERKS
                AND C~EDATU  IN S_VDATU.
    2.
    SELECT VBELN FROM LIKP INTO LIKP-VBELN
                  WHERE LFDAT IN S_VDATU
                    AND VKORG IN S_VKORG
                    AND LFART EQ 'YSTD'
                    AND KUNNR IN S_KUNNRP
                    AND KUNAG IN S_KUNNRD
        SELECT VBELN POSNR LFIMG MATNR WERKS
           FROM LIPS INTO (LIPS-VBELN, LIPS-POSNR, DISPLAY_TAB-DEL_QTY,
                           LIPS-MATNR, LIPS-WERKS)
                 WHERE VBELN EQ LIKP-VBELN
                   AND MATNR IN S_MATNR
                   AND VTWEG IN S_VTWEG
                   AND SPART IN S_SPART
                   AND WERKS IN S_WERKS.   
         ENDSELECT.
      ENDSELECT.
    4.
    SELECT DELIVERY POSNR MATNR PODLFIMG FROM T9YPODI INTO
        (T9YPODI-DELIVERY, T9YPODI-POSNR, T9YPODI-MATNR, T9YPODI-PODLFIMG)
                           WHERE MATNR   IN S_MATNR
                             AND PODDATE IN S_VDATU.
    Answer's will be a great help.
    ~Thank You,
      Lourd
    Edited by: Lourd06 on Oct 23, 2009 10:32 AM
    Moderator message - Welcome to SCN.
    Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting. You're in the driver's seat here. It's up to you to do some analysis before expecting that people can halp you. - post locked
    And please use code tags.
    Edited by: Rob Burbank on Oct 23, 2009 9:13 AM

    Hi All,
    We've checked the transaction ST22 it is TIME OUT. I really need your help on this the program will dump in number 1 Select statement. Can you help me perform a performance tunning.
    In transaction ST22
    Runtime Errors         TIME_OUT
    Date and Time          21.10.2009 08:51:33
    Short text
         Time limit exceeded.
    What happened?
         The program "ZV0PSR10" 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 1200 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.
    ~Thank you
    Lourd
    Edited by: Lourd06 on Oct 23, 2009 11:22 AM
    Edited by: Lourd06 on Oct 23, 2009 11:33 AM

  • Hit Runtime ERROR

    HI,
    This message appears at the bottom of the screen when i execute my program.
        "Runtime error TIME_OUT has occurred"
    When i debug the program, it seems to take longer time than expected at this FM
        "HR_INFOTYPE_OPERATION"
    When i try to run this FM at foreground, my data is uploaded successfully to the Infotype that i wanted but when i did this at background.. the above runtime error were shown.
    I have never been hit with this runtime error message all these while in my program. Only today when i tried to execute my program, the above message is sown.
    Please assist me as i needed the explanation / solution ASAP.
    Thanks,
    Loo

    Hi Atish,
    Its at this :-
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    where its taking a long time.......
    Please advise for further steps.
    Thanks,
    Loo

  • Unable to Open Inbox in SBWP - runtime error

    Hi Gurus,
    I have a problem with my inbox - I'm experiencing runtime error (time_out) when opening it. It says 'Time limit exceeded', and 'The program 'SAPFSSO0' has exceeded the maximum permitted runtime without interruption and has therefore been terminated.
    Can anyone of the Workflow experts tell me what is the probable cause, and what do you sugggest to solve this and prevent from happening again?
    Thanks!
    Regards,
    Joyreen

    This may or may not solve your problem but gives you an idea on performance of SBWP.
    Check the Note 764707 - Performance in Business Workplace
    This note describes the factors that affect the performance in the Business Workplace, and ways in which you can improve the performance:
    The performance in the workflow inbox depends on several factors:
    1. Use of organizational objects (O, S ...) for tasks
    If agent assignment for tasks is controlled using organizational objects, a structural explosion is necessary. Complex organizational structures can mean that the time required to construct the inbox is greater. This is carried out once a day for each user when the user logs on initially, and the information is then buffered. As a result, the initial construction of the inbox takes the most time.
    2. Number of work items in the system
    The time required for selecting work items for a user increases with the number of work items that exist in the system.
    3. Number of work items that are displayed in the workflow inbox or in the subordinate views.
    4. Use of dynamic columns
    The dynamic columns are filled on a task-specific basis with content that is determined dynamically during runtime. To do this, it is necessary for the system to read the work item container and then to determine the attributes to be displayed, for example, of an business object.
    Displaying the dynamic columns greatly affects performance, since the system accesses both the work item container and application tables.
    5. Grouping according to contents, content type and sort key
    Each work item carries the two container elements WIObject_ID (dominant object) and WIGroup_ID (Grouping characteristic) to its container. Both elements are defined so that an object reference can be included.
    Grouping according to content and content type is based on the container element WIObject_ID, and grouping according to sort key is based on WIGroup_ID. For each of these grouping types, the system needs to access the container for each work item to read the object reference. In addition, the system must determine the default attribute of the respective object, which involves accessing the application tables.
    6. Showing the columns group object and work item contents
    As above, showing the two columns is based on the container elements WIObject_ID and WIGroup_ID. The system determines the values to be shown by reading the work item container and the default attribute of the relevant object.
    Solution
    1. Detail the assignment of tasks in the organizational model.
    2. Archive work items that are no longer needed (see Note 49545).
    3. In the Business Workplace, BAdIs are available for the following purposes:
    a) WF_BWP_SELECT_FILTER
    This BAdI enables you to limit the number of the work items displayed by filtering. It is mainly suited to scenarios where all users are working on the same inventory of work items (for example, call center).
    (see Note 765783)
    b) WF_BWP_DYN_COLUMN
    Hiding the dynamic columns improves performance in the Business Workplace.
    If this is not possible, you can implement the BAdI WF_BWP_DYN_COLUMN to determine the values of the dynamic columns directly from the application data. The BAdI is available with Note 848382.
    c) WF_BWP_OBJ_ATTRIBUTE
    With this BAdI, it is possible to set the default attributes of the dominant object (_WI_Object_ID) and the grouping characteristic (_WI_Group_ID). The default attributes are used for grouping according to content, and grouping according to sort key and for hiding the group object column and work item content.
    The BAdI is available with Note 848382.
    4. It is also advisable to implement Note 848382 (or one of the corresponding Support Packages) if you do not want to implement either of the BAdIs. The note also contains an optimization that affects the determination of the object references in the container elements WIObject_ID and WIGroup_ID.
    Header Data
    Regards,
    PR.

  • TIME_OUT runtime error for Zreport in only Production server.

    Hi Experts,
                     I have created one new Zreport which is working well in Development & Quality Server for given input. but same report is giving run time error  in Production server for same input resulting into error TIME_OUT.  Short text of error is  Time limit exceeded.
                    Please provide me solution for the same.
                    Thanks in advance.
    Best Regards,
    Vinayak

    Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting - post locked

  • Time_out ABAP runtime error

    Guys,
    I am trying to fix a program in which when I don't specify a material and storage location in the select-options in the selection screen and run the program it takes a long time to respond and it produces time out ABAP runtime error. Below is the select-options:
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-001.
    PARAMETER: SP_PLANT LIKE MARD-WERKS OBLIGATORY.
    SELECT-OPTIONS: SO_MATNO FOR MARD-MATNR,
                    SO_MGRP FOR MARA-MATKL DEFAULT 'PA001'  to  'PA006',
                    SO_SLOC FOR MARD-LGORT.
    SELECTION-SCREEN END OF BLOCK BLOCK1.
    So after entering the plant in the select options and press F8 after a while the above error is created. Is there a way to fix this? Thanks and good day!

    HI Viraylab,
    I think it is because the select ...end select consuming too much time.
    Try to use INTO CORRESPONDING FIELDS OF TABLE
    TYPES: BEGIN OF T_ITAB ,
           WERKS TYPE MARD-WERKS,
           MATNR TYPE MARD-MATNR,
           LABST TYPE MARD-LABST,
           LGPBE TYPE MARD-LGPBE,
           MATKL TYPE MARA-MATKL,
           MEINS TYPE MARA-MEINS,
           END OF T_ITAB.
    DATA: ITAB_1 TYPE T_ITAB OCCURS 0 WITH HEADER LINE.
    SELECT A~WERKS
    A~MATNR
    A~LABST
    A~LGORT
    A~LGPBE
    B~MATKL
    B~MEINS
    INTO CORRESPONDING FIELDS OF TABLE ITAB_1
    FROM MARD AS A INNER JOIN MARA AS B
    ON AMATNR = BMATNR
    WHERE A~WERKS = SP_PLANT AND
    A~MATNR IN SO_MATNO AND
    A~LGORT IN SO_SLOC AND
    A~LGPBE IN SO_SBIN AND
    A~LABST <> 0 AND
    B~MATKL IN SO_MGRP.

  • Load from ODS into InfoCube gives TIME-OUT runtime error after 10 minutes ?

    Hi all,
       We have a full load from ODS into InfoCube and it was working fine till the last week upto with 50,000 records. Now, we have around 70,000+ records and started failing with TIME_OUT runtime error.
       The following is from the Short Dump (ST22):
       The system profile "rdisp/max_wprun_time" contains the maximum runtime of a
    program. The current setting is 600 seconds. Once this time limit has been exceeded, the system tries to terminate any SQL statements that are currently being executed and tells the ABAP processor to terminate the current program.
      The following are from ROIDOCPRMS table:
       MAXSIZE (in KB) : 20,000
       Frequency       :  10
       Max Processes : 3
      When I check the Data Packages under 'Details' tab in Monitor, there are four Data Packages and the first three are with 24,450 records.  I will right click on each Data Package and select 'Manual Update' to load from PSA. When this Manual Update takes more than 10 minutes it is failing with TIME_OUT again.
      How could I fix this problem, PLEASE ??
    Thanks,
    Venkat.

    Hello A.H.P,
    The following is the Start Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BIC/AZCPR_O0400, /BIC/AZCPR_O0100, /BIC/AZCPR_O0200.
    DATA: material(18), plant(4).
    DATA: role_assignment like /BIC/AZCPR_O0100-CPR_ROLE, resource like
    /BIC/AZCPR_O0200-CPR_BPARTN.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZCPR_O03.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
       clear DATA_PACKAGE.
       loop at DATA_PACKAGE.
          select single /BIC/ZMATERIAL PLANT
             into (material, plant)
             from /BIC/AZCPR_O0400
             where CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID
             and ( MATL_TYPE = 'ZKIT' OR MATL_TYPE = 'ZSVK' ).
           if sy-subrc = 0.
              DATA_PACKAGE-/BIC/ZMATERIAL = material.
              DATA_PACKAGE-plant = plant.
              modify DATA_PACKAGE.
              commit work.
           endif.
           select single CPR_ROLE into (role_assignment)
                         from /BIC/AZCPR_O0100
                         where CPR_GUID = DATA_PACKAGE-CPR_GUID.
            if sy-subrc = 0.
              select single CPR_BPARTN into (resource)
                         from /BIC/AZCPR_O0200
                         where CPR_ROLE = role_assignment
                         and CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID.
                   if sy-subrc = 0.
                      DATA_PACKAGE-CPR_ROLE = role_assignment.
                      DATA_PACKAGE-/BIC/ZRESOURCE = resource.
                      modify DATA_PACKAGE.
                      commit work.
                   endif.
              endif.
           clear DATA_PACKAGE.
           endloop.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Thanks,
    Venkat.

  • Runtime error while opening stucture tab in Functional Location..

    Dear All,
    Whenever I'm trying to open the structure tab of functional location I'm getting the runtime error and the message is as follws..
    Run time error  TIME_OUT
    Time Limit Exceeded
    The program " SAPLIE01" has exceeded the maximum permitted runtime without interruption and has therefore been terminated
    Error Analysis
    After specific time,the program is terminated to make the work area available to other users who may be waiting
    I did not understand the reason for it....
    Any can throw light on this...
    Thanks in Advance
    Johnson

    Dear
    This problem is occuring due to your transactions has so many datas in output. So that system is providing the error. In each sap log in you can control the maximum idle hours at Option header menu at Main menu.
    Else you get the Abaper+Basis for the help. There is no error in functional side for sort out.

  • Runtime error while executing Tcode FAGLL03

    Hello experts
    we have 2 clients in PRD
    100,200
    In 100 if i execute the tcode FAGLL03 it is showing the line items within 100 sec.
    where as in 200 if i execute FAGLL03 it is showing runtime error.
    if this executed in background it takes 1300 sec and finished successfully.
    From basis perspective what would be the issue.
    Regards
    Ravi

    Hello srini
    Thanks for ur input
    Details
    Recording at local and central time........................ 06.05.2009 14:03:30
    Task................ 07522  /  Dialog work process No. 00
    User................ DEVAKUMAR
    Client.............. 200
    Terminal............ H2SBASIS
    Session............. 1
    Transaction code.... FAGLL03
    Program name........ FAGL_ACCOUNT_ITEMS_GL
    Problem class....... T    Transaction Problem
    Development class... SABP
    Further details for this message type
    Module name......... abinit
    Line................ 1890
    Error text.......... ab_chstat
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
      a.. TIME_OUT
    Technical details
    File................ 000989
    Position............ 0000261540
    Entry type.......... l      ( Error (Module, Row)            )
    Message ID.......... AB 0
    Variable parts...... ab_chstat                                           abinit  1890
    this is the log got from SM21.
    The runtime error is time out error
    Regards
    Ravi

  • ST22 - Name of runtime error

    Hello, i would like to understand the meaning of the following runtime error .. could you please explain me what they mean?
    TIME_OUT                    
    OPEN_DATASET_NO_AUTHORITY   
    MESSAGE_TYPE_X              
    SYNTAX_ERROR                
    RAISE_EXCEPTION             
    ITS_TEMPLATE_NOT_FOUND      
    RFC_NO_AUTHORITY            
    DYNPRO_FIELD_CONVERSION     
    COLLECT_OVERFLOW_TYPE_P     
    LIST_ILLEGAL_PAGE           
    CONNE_IMPORT_CONVERSION_ERROR
    GETWA_NOT_ASSIGNED     
    TIME_OUT               
    UNCAUGHT_EXCEPTION     
    CALL_FUNCTION_SEND_ERROR
    Thanks in advance.

    Open the dumps one by one and read all the content.
    It shows you What happend? Erro analysis, how to correct? etc.
    Regards,
    Nick Loy

Maybe you are looking for

  • Smartforms in pdf and send via mails

    Dear friends I have to send the smartforms via mail. but only have a preview of the smartform. please help. no spool no is generated. please help. thanks and reagrds vivek

  • Itunes Library, same computer

    Hi, my macbook pro 2008 crashed, just before it crashed, I backed it up via time machine. I had a Iphone 3g, it was backed up to both icloud and that computer. It didn't crash but the battery life was so short after two years it was useless. So I buy

  • Enable Track Changes on Interactive Form

    Hi, I have an interactive form that I designed in LiveCycle Designer 8. I've set the distribution rights using Acrobat Pro to enable my Reader users to fill out the form. When the completed form is returned I would like to add sticky notes and text e

  • Passing Payload data to alert container for all SAP PI erros

    Hi All,    I have a alert requirement as follows. One alert has to be raised for all PI errors including Integration Engine errors and Adapter Engine errors. The scenario  is  ABAP PROXY >XI->SOAP. Payload will have n number of fields including Deliv

  • Why couldn't I finish install Photoshop Elements 11 due to conflicting processes running?

    On my iMac7,1 running Mac OS X 10.8.3, I have installed Photoshop Elements 10 and Premiere Elements 10.  I bought Photoshop Elements 11 (& Premiere Elements 11) at a retail store and began installing Photoshop Elements 11 from the DVD from the retail