Symptom
Runtime error appears (Example)
Category ABAP programming error
Runtime Errors DATA_LENGTH_TOO_LARGE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program CL_SVIM_NAMESPACE_SERVICE=====CP
Application Component BC-CUS-TOL-TME
Date and Time 03.11.2021 11:19:32 (CET)
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Short Text |
| Invalid substring access: Length too long |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| Error in the ABAP application program. |
| |
| The current ABAP program "CL_SVIM_NAMESPACE_SERVICE=====CP" had to be |
| terminated because it found a |
| statement that could not be executed. |
----------------------------------------------------------------------------------------------------
Key fields are not together at the beginning of the view
Message no. MC705
Diagnosis
All the key fields of a maintenance view should be stored together at the beginning of the view.
If this is not the case, problems could occur when maintaining the view data with the standard maintenance transaction (transaction SM30).
The key is normally computed automatically for database views. If manual maintenance of the key flag was activated, you MUST store the key fields together at the beginning.
Procedure
Place all the key fields at the beginning of the view if you want to maintain the view data using the standard view maintenance transaction.
Read more...
Environment
This KBA applies for all SAP Products based on NetWeaver and S4H
Product
Keywords
KBA , BC-CUS-TOL-TME , View Maintenance Tool , BC-CUS-TOL-IMG , Implementation Guide , 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.