SAP Knowledge Base Article - Preview

3721013 - TIME_OUT dump when executing AFAB transaction

Symptom

Running the AFAB transaction or a depreciation-related background job takes a long time and ends in a dump. A sample ST22 is provided below.

 

Category                 ABAP programming error

Runtime Errors           TIME_OUT

ABAP Program             SAPLSPBT

Application Component    BC-MID-RFC

 

ShortText 

Time limit exceeded                                                                          

What happened?                                                                      Program "SAPLSPBT" has exceeded the maximum uninterrrupted runtime and has therefore been terminated.                                                                   

How to correct the error If the error occurs in a non-modfied SAP program, you might be able to find a solution in the SAP Notes system. If you have access to the SAP Notes system, check there first using the following keywords:                              

                 

    "TIME_OUT"                                                                                   

    "SAPLSPBT" bzw. LSPBTFXX                                                                     

    "CHECK_SRV_STILL_ACTIVE"                                                                     

 

Information on where terminated                                                                  

    The termination occurred in ABAP program or include "SAPLSPBT", in                           

    "CHECK_SRV_STILL_ACTIVE". The main program was"FAA_DEPRECIATION_POST".                                                    

    In the source code, the termination point is in line 13 of include "LSPBTFXX".              

    include "LSPBTFXX".                                                                         

 

Source Code Extract                                                                              

 

Line |Code                                                                                       

  157|*                                                                                          

  158|  CALL FUNCTION 'TH_SERVER_LIST'                                                           

  159|    TABLES                                                                                 

  160|      LIST   = ACTIVE_DIASRV_TBL                                                           

  161|    EXCEPTIONS                                                                             

  162|      OTHERS = 99.                                                                         

  163|                                                                                           

  164|  IF SY-SUBRC <> 0.                                                                        

  165|     RC = CANT_GET_SERVER_INFO.                                                            

  166|     EXIT.                                                                                 

  167|  ENDIF.                                                                                   

  168|*                                                                                          

  169|* verprobe die Server in der Steuertabelle RESOURCE_TBL gegen die                          

  170|* aktiven Server                                                                           

  171|*                                                                                          

  172|  LOOP AT RESOURCE_TBL.                                                                    

>>>>>|    PERFORM GET_CURRENT_TIMESTAMP USING CURRENT_TIMESTAMP.                                 

 

 

Active Calls/Events                                                                              

No.   Ty.          Program                             Include                             Line  

      Name                                                                                       

    8 FORM         SAPLSPBT                            LSPBTFXX                              173 

      CHECK_SRV_STILL_ACTIVE                                                                     

    7 FUNCTION     SAPLSPBT                            LSPBTU01                               67 

      SPBT_INITIALIZE                                                                            

    6 FUNCTION     SAPLSPBT                            LSPBTU09                               27 

      SPBT_PARALLEL_PROCESSING                                                                   

    5 METHOD       FAA_DEPRECIATION_POST              FAA_DEPRECIATION_POST_SRV_IMP        1082 

      LCL_RUN_SERVICE=>PROCESS_RFC_PACKAGE       


Read more...

Environment

S4CORE 102    SAPK-10216INS4CORE
S4CORE 103    SAPK-10314INS4CORE
S4CORE 104    SAPK-10412INS4CORE
S4CORE 105    SAPK-10510INS4CORE
S4CORE 106    SAPK-10608INS4CORE
S4CORE 107    SAPK-10706INS4CORE
S4CORE 108    SAPK-10804INS4CORE

Keywords

afab, time_out, dump, rfc, saplspbt, faa_depreciation_post, abap error, runtime error, company codes, test run, rdisp/scheduler/prio_high/max_runtime , KBA , BC-MID-RFC , RFC , FI-AA-AA-E , Periodic Posting , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.