SAP Knowledge Base Article - Preview

3586411 - Dump: Runtime Errors STRING_OFFSET_TOO_LARGE, Except. CX_SY_RANGE_OUT_OF_BOUNDS, ABAP Program RC_COLLECT_ANALYSIS_DATA

Symptom

During the execution of report RC_COLLECT_ANALYSIS_DATA, the following dump is being generated

Category               ABAP Programming Error
Runtime Errors         STRING_OFFSET_TOO_LARGE
Except.                CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program           RC_COLLECT_ANALYSIS_DATA
Application Component  SV-SMG-CM
----------------------------------------------------------------------------------------------------
|Short text                                                                                        |
|    Illegal access to a string (offset too large)                                                 |
----------------------------------------------------------------------------------------------------
|What happened?                                                                                    
|    Error in the ABAP Application Program                                                         
|                                                                                                  
|    The current ABAP program "RC_COLLECT_ANALYSIS_DATA" had to be terminated because it has come across a statement that unfortunately cannot be executed.                                |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|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                                                                                    |
|    An exception occurred that is explained in detail below.                                      |
|    The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not caught in procedure "COLLECT_DATA" "(METHOD)", nor was it propagated by a RAISING clause.               
|    Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.                                     
|    The reason for the exception is: In the running program "RC_COLLECT_ANALYSIS_DATA", part of a string was about to be accessed via an offset.                                                                                |
|    However, the offset (0) was larger than the current length of the string (0).                                                                                   
|    This kind of access is illegal.                         


Read more...

Environment

  • SAP ERP 6.0
  • SAP S/4HANA

Product

SAP ERP 6.0 ; SAP S/4HANA 1610 ; SAP S/4HANA 1709 ; SAP S/4HANA 1809 ; SAP S/4HANA 1909 ; SAP S/4HANA 2021 ; SAP S/4HANA 2022 ; SAP S/4HANA 2023 ; SAP S/4HANA 2025

Keywords

STRING_OFFSET_TOO_LARGE CX_SY_RANGE_OUT_OF_BOUNDS RC_COLLECT_ANALYSIS_DATA RC_COLLECT_ANA_SC_INTF COLLECT_DATA
, KBA , SV-SCS-S4R , SAP Readiness Check , 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.