SAP Knowledge Base Article - Preview

2962414 - STRING_OFFSET_TOO_LARGE dump on SCDT_GROUPS

Symptom

While creating groups using SCDT_GROUPS, selection of the source or target system ends in dump:

Category               ABAP Programming Error
Runtime Errors         STRING_OFFSET_TOO_LARGE
Except.                CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program           CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CP
Application Component  SV-SMG-LDB
 
Error analysis
    An exception has occurred which is explained in more detail below. The
    exception is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS' and was not caught
     in procedure
    "GET_BCSYS_FROM_LOGSYS" "(METHOD)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated this
    exception, the current program was terminated.
    The reason for the exception is:
    An attempt was made in program "CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CP" to access
     part of a string using an
    offset.
    The offset (0) was greater than the current length of the string
    (0) however.
    Access is not possible like this.
 
Information on where terminated
    The termination occurred in ABAP program "CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CP",
     in "GET_BCSYS_FROM_LOGSYS". The main program
    was "SAPLSCDT_SCENARIO_EDIT".
 
    In the source code, the termination point is in line 88 of (Include)
    program "CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CM002".
    The termination is due to exception "CX_SY_RANGE_OUT_OF_BOUNDS" occurring in
     procedure "GET_BCSYS_FROM_LOGSYS" "(METHOD)".
    This exception was not handled locally or declared in the RAISING
    clause in the procedure's signature however.
    The procedure is in program "CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CP". The source
     code begins in line 1 of
    (include) program "CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CM002".
 
   86       " Client number and first three characters of client's systemname
   87       ls_result_line-mandt       = ls_query_map-clientnumber.
>>>>>       ls_result_line-sid         = ls_query_map-systemname(3).


Read more...

Environment

SAP Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

STRING_OFFSET_TOO_LARGE CX_SY_RANGE_OUT_OF_BOUNDS CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CP CL_DIAGLS_LMDB_LOGSYS_TO_SYS==CM002 GET_BCSYS_FROM_LOGSYS scout , KBA , SV-SMG-LDB , Landscape Management Database (LMDB) , SV-SMG-IMP-DIS , Customizing Distribution , 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.