SAP Knowledge Base Article - Preview

3422054 - Runtime error CX_SY_CONVERSION_OVERFLOW for MDS_LOAD_COCKPIT

Symptom

Dump below happens while MDS_LOAD_COCKPIT is being used to do master data synchronization.

Category               ABAP Programming Error
Runtime Errors         CONVT_OVERFLOW
Except.                CX_SY_CONVERSION_OVERFLOW
ABAP Program           CL_MDS_LOAD_API===============CP
Application Component  AP-MD-BF-SYN

 

 Short text
     Overflow when converting from 32768

 What happened?
     Error in the ABAP Application Program

     The current ABAP program "CL_MDS_LOAD_API===============CP" had to be
      terminated because it has
     come across a statement that unfortunately cannot be executed.

Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
     caught in
    procedure "WRITE_HISTORY" "(METHOD)", nor was it propagated by a RAISING
     clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When attempting to convert the value 32768, an overflow occurred.

 

   27
   28   if ls_hist-user_name is initial.
   29     ls_hist-user_name = sy-uname.
   30   endif.
   31
   32   call method cl_mds_table_access_history=>INSERT_HIST_SINGLE
   33     exporting
   34       is_hist = ls_hist
   35     importing
   36       es_error = ls_error.
   37
   38   if not ls_error-is_error is initial.
   39     return.
   40   endif.
   41
   42   loop at is_load_api_hist-sel_opt assigning <wa_sel_opt>.
   43     move:
   44       sy-mandt                        to ls_hist_f-client,
   45       is_load_api_hist-sync_load_guid to ls_hist_f-sync_load_guid,
>>>>>       sy-tabix                        to ls_hist_f-counter,
   47       <wa_sel_opt>-sync_object        to ls_hist_f-sync_object,
   48       <wa_sel_opt>-id_sel_table       to ls_hist_f-id_sel_table,
   49       <wa_sel_opt>-id_sel_field       to ls_hist_f-id_sel_field,
   50       <wa_sel_opt>-sign               to ls_hist_f-sign,
   51       <wa_sel_opt>-opt                to ls_hist_f-opt,
   52       <wa_sel_opt>-value_low          to ls_hist_f-value_low,
   53       <wa_sel_opt>-value_high         to ls_hist_f-value_high.
   54     append ls_hist_f to lt_hist_f.


Read more...

Environment

  • SAP ERP
  • SAP S/4HANA

Product

SAP ERP 6.0 ; SAP S/4HANA 1610 ; SAP S/4HANA 1709 ; SAP S/4HANA 1809 ; SAP S/4HANA 1909 ; SAP S/4HANA 2020 ; SAP S/4HANA 2021

Keywords

KBA , AP-MD-BP-SYN , Business Partner Synchronization , 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.