SAP Knowledge Base Article - Preview

3326128 - SCPR20 | CONVT_OVERFLOW | CX_SY_CONVERSION_OVERFLOW

Symptom

The following runtime error appears, if you try to activate a large BC Set in transaction SCPR20:

Runtime Errors         CONVT_OVERFLOW
Except.                CX_SY_CONVERSION_OVERFLOW
ABAP Program           SAPLSCPRPS
Application Component  BC-CUS-TOL-BCD
Short Text Overflow when converting
What happened?                                                           
Error in the ABAP application program.                                         

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

Information on where terminated
    The termination occurred in ABAP program or include "SAPLSCPRPS", in
     "SCPR_PRSET_CT_FKEY_DEPENDANCE". The
    main program was "SAPSCPR7".

    In the source code, the termination point is in line 338 of include
     "LSCPRPSU43".
    include "LSCPRPSU43".
    The termination is due to exception "CX_SY_CONVERSION_OVERFLOW" occurring in
     procedure "SCPR_PRSET_CT_FKEY_DEPENDANCE" "(FUNCTION)",
    but not being handled locally there or being declared in the RAISING
    clause.
    The procedure is in program "SAPLSCPRPS". Its source code begins in line 1 of
    include "LSCPRPSU43".


Read more...

Environment

This KBA applies for all SAP Products based on NetWeaver and S4H.

Keywords

CONVT_OVERFLOW CX_SY_CONVERSION_OVERFLOW
SAPLSCPRPS bzw. LSCPRPSU43
SCPR_PRSET_CT_FKEY_DEPENDANCE

  327 *- Range value redetermination, if any object is dependent on another object( fkey relations
  328 *- add the independent object range value to dependent object range value
  329       LOOP AT tablenames ASSIGNING FIELD-SYMBOL(<ls_tablename_recalc>).
  330         ASSIGN lt_object_tables[ tablename = <ls_tablename_recalc>-viewname ] TO FIELD-SYMBO
  331         IF sy-subrc EQ 0 AND <ls_object_table_line>-objecttype CA 'SVC'.
  332           LOOP AT lt_tab_dep ASSIGNING FIELD-SYMBOL(<ls_dep_fkey>) WHERE tabname EQ <ls_obje
  333             LOOP AT lt_object_tables TRANSPORTING NO FIELDS
  334                   WHERE tablename EQ <ls_dep_fkey>-fkeyview
  335                   AND objectname NE <ls_object_table_line>-objectname .
  336               ASSIGN tablenames[ viewname = <ls_dep_fkey>-fkeyview ]  TO FIELD-SYMBOL(<ls_ta
  337               IF sy-subrc EQ 0.
>>>>>                 <ls_tablename_recalc>-range = <ls_tablename_recalc>-range + <ls_tablenames>-
  339               ENDIF.
  340               EXIT.
  341             ENDLOOP.
  342           ENDLOOP.
  343         ENDIF.
  344       ENDLOOP.
  345     ENDIF.
  346   ENDIF.
  347
  348 ENDFUNCTION. , KBA , BC-CUS-TOL-BCD , Business Configuration Sets , 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.