Symptom
During the import of profiles in transactions that verify profiles at the OS level, such as SNCWIZARD and RZ04, a runtime error STRING_OFFSET_LENGTH_TOO_LARGE is triggered within the procedure CHECK_FOR_PROFILE_NAME.
Category ABAP programming error
Runtime Errors STRING_OFFSET_LENGTH_TOO_LARGE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program SAPLSPFL
Application Component BC-CCM-CNF-PFL
Date and Time 21.01.2026 12:55:17 (CET)
Short Text
Invalid access to a string (offset and length too big)
Error analysis
An exception has occurred in class "CX_SY_RANGE_OUT_OF_BOUNDS". This exception was not caught in procedure "CHECK_FOR_PROFILE_NAME" "(FORM)" or 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 occurring was:
The reason for the exception is:
An attempt was made in program "SAPLSPFL" to access a part of a string using an offset and length.
The total of the offset (26) and the length (30) was greater than the current length of the string (33) however. Access is not possible like this.
Information on where terminated
The termination occurred in ABAP program or include "SAPLSPFL", in "CHECK_FOR_PROFILE_NAME". The main program was "SAPLSPFL".
In the source code, the termination point is in line 830 of include "LSPFLFXX". include "LSPFLFXX".
The termination is due to exception "CX_SY_RANGE_OUT_OF_BOUNDS" occurring in procedure "CHECK_FOR_PROFILE_NAME" "(FORM)", but not being handled locally there or being declared in the RAISING clause.
The procedure is in program "SAPLSPFL". Its source code begins in line 808 of include "LSPFLFXX".
Read more...
Environment
SAP S/4HANA
SAP NetWeaver Application Server for ABAP
SAP NetWeaver
Product
Keywords
STRING_OFFSET_LENGTH_TOO_LARGE, RZ10, SNCWIZARD, RZ04, Operation Modes, DEFAULT.PFL, Instance Profile, Profile Import, Profiles, CX_SY_RANGE_OUT_OF_BOUNDS, CHECK_FOR_PROFILE_NAME, SAPLSPFL , KBA , BC-CCM-CNF-PFL , Profile Maintenance , BC-CCM-CNF-OPM , Operation Modes , BC-SEC-SNC , Secure Network Communications , 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.
SAP Knowledge Base Article - Preview