SAP Knowledge Base Article - Preview

3633596 - problem with saving english descriptions for adso after bw4 update to bw/4hana 2023

Symptom

In transaction rsotranslate unable to manually save english descriptions for ADSO and the below dump occurs:

Category               ABAP programming error
Runtime Errors         DATA_LENGTH_0
Except.                CX_SY_RANGE_OUT_OF_BOUNDS
ABAP: Program          RSO_MASS_TRANSLATE
Application Component  BW4-ME

Short Text
    Invalid substring access: Length 0

What happened?
    Error in the ABAP application program.

    The current ABAP program "RSO_MASS_TRANSLATE" had to be terminated because it
     found a
    statement that could not be executed.

Error analysis
    An exception has occurred in class "CX_SY_RANGE_OUT_OF_BOUNDS". This exception
     was not caught
    in procedure "SAVE" "(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:
    In the current program "RSO_MASS_TRANSLATE", an attempt was made to access
     field "<LS_OBJECT>-OBJNM"
    using length 0.
    A partial field access with a length of 0 is not allowed however.

 "DATA_LENGTH_0" CX_SY_RANGE_OUT_OF_BOUNDS
 "RSO_MASS_TRANSLATE" bzw. RSO_MASS_TRANSLATE
 "SAVE"

Information on where terminated
    The termination occurred in ABAP program or include "RSO_MASS_TRANSLATE", in
     "SAVE". The
    main program was "RSO_MASS_TRANSLATE".

    In the source code, the termination point is in line 562 of include
     "RSO_MASS_TRANSLATE".
    The termination is due to exception "CX_SY_RANGE_OUT_OF_BOUNDS" occurring in
     procedure "SAVE" "(FORM)",
    but not being handled locally there or being declared in the RAISING
    clause.
    The procedure is in program "RSO_MASS_TRANSLATE". Its source code begins in
     line 439 of

 include "RSO_MASS_TRANSLATE".

  558       ASSIGN lrs_data->* TO <ls_thistab>.
  559       CLEAR l_keynum.
  560       CLEAR: l_keywhere, l_part.
  561       LOOP AT <ls_table>-t_key ASSIGNING <ls_key> WHERE objkey = 'X'.
>>>>>         l_part = |{ <ls_key>-fieldname } = '{ <ls_object>-objnm+<ls_key>-keyoffset(<ls_key>\
-length) }'|.
  563         add_where l_keywhere.
  564         ASSIGN COMPONENT <ls_key>-fieldname OF STRUCTURE <ls_thistab> TO <l_thisfield>.
  565         <l_thisfield> = <ls_object>-objnm+<ls_key>-keyoffset(<ls_key>-length).
  566       ENDLOOP.


Read more...

Environment

SAP BW/4HANA 2023 all SP levels

Product

SAP BW/4HANA 2023

Keywords

adso, bw/4hana 2023, english descriptions, abap dump, DATA_LENGTH_0, CX_SY_RANGE_OUT_OF_BOUNDS, RSO_MASS_TRANSLATE, save descriptions, transaction, exception, substring access, SAP note 3590016, rsotranslate. , KBA , BW4-ME-CTS , Change and Transport , 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.