SAP Knowledge Base Article - Preview

2242806 - Error CX_PARAMETER_INVALID_RANGE with BT 857 in mass processing


A short dump UNCAUGHT_EXCEPTION with exception CX_PARAMETER_INVALID_RANGE and message BT 857 is generated after execution of a batch job (/sapapo/ts_batch_run) or a process chain (rspc). No logs are created.

Category               ABAP Programming Error                                                       
Runtime Errors         UNCAUGHT_EXCEPTION                                                           
Except.                CX_PARAMETER_INVALID_RANGE                                                   
ABAP Program           /SAPAPO/TS_BATCH_RUN                                                         
Application Component  SCM-APO-SNP                                                                  
Date and Time                                                                    

Short Text                                                                                        
    An exception has occurred that was not caught.                                                


What happened?                                                                                    
    Exception 'CX_PARAMETER_INVALID_RANGE' was raised, but it was not caught                      
     anywhere along the                                                                           
    call hierarchy.                                                                               
    Since exceptions represent error situations, and this error was not                           
    adequately responded to, ABAP program 'CL_ABAP_TSTMP=================CP' had                  
     to be terminated.                                                                            


Information on where terminated                                                                   
    The termination occurred in ABAP program "CL_ABAP_TSTMP=================CP",                  
     in "SUBTRACT". The main program                                                              
    was "/SAPAPO/TS_BATCH_RUN".                                                                   
    In the source code, the termination point is in line 20 of (Include)                          
    program "CL_ABAP_TSTMP=================CM002".                                                
    Program "CL_ABAP_TSTMP=================CP" was started as a background job.                   
    Job name....... BI_PROCESS_SCM_DP005                                                          
    Job initiator..                                                                      
    Job number......                                                                      
    The termination is due to exception "CX_PARAMETER_INVALID_RANGE" occurring in                 
     procedure "LOG_WRITE_PERF" "(FORM)".                                                         
    This exception was not handled locally or declared in the RAISING                             
    clause in the procedure's signature however.                                                  
    The procedure is in program "/SAPAPO/TS_BATCH_RUN                    ". The                   
     source code begins in line 684 of                                                            
    (include) program "/SAPAPO/TS_BATCH_LOG_ROUTINES           ".                                 


Contents of system fields                                                                         
Name     Val.                                                                                     
SY-SUBRC 0                                                                                        
SY-INDEX 0                                                                                        
SY-TABIX 1                                                                                        
SY-DBCNT 1                                                                                        
SY-FDPOS 1                                                                                        
SY-LSIND 0                                                                                        
SY-PAGNO 1                                                                                        
SY-LINNO 4                                                                                        
SY-COLNO 1                                                                                        
SY-TITLE Ablauf der Planung im Hintergrund                                                        
SY-MSGTY E                                                                                        
SY-MSGID BT                                                                                       
SY-MSGNO 857                                             

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."



  • Demand Planning
  • Supply Network Planning


SAP Supply Chain Management 2005 ; SAP Supply Chain Management 2007 ; SAP Supply Chain Management 4.0 ; SAP Supply Chain Management 4.1 ; SAP Supply Chain Management 7.0 ; SAP enhancement package 1 for SAP Supply Chain Management 7.0 ; SAP enhancement package 2 for SAP Supply Chain Management 7.0 ; SAP enhancement package 3 for SAP Supply Chain Management 7.0 ; SAP enhancement package 4 for SAP Supply Chain Management 7.0


Parallelverarbeitung, /sapapo/mc8e, /sapapo/mc8d , KBA , SCM-APO-FCS-BF , Basic Functions , SCM-APO-SNP , Supply Network Planning (SNP) , SCM-APO-FCS-MAP , Mass Processing , Problem

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.