SAP Knowledge Base Article - Preview

2440565 - The field MENGE from the table ESKL is zero - SAP ERP & SAP S/4HANA

Symptom

  • The field MENGE from the table ESKL is zero.
  • Dump Error while executing tcode ME2*. System dumps with below details.  

Category               ABAP programming error
Runtime Errors         BCD_ZERODIVIDE
Except.                CX_SY_ZERODIVIDE
ABAP: Program          SAPLMEREP
Application Component  MM-PUR

Source Code Extract
>>>>>                 lv_inv_val = lv_inv_val + ( lv_inv_qty * <ls_eskl>-netwr / <ls_eskl>-menge )


Read more...

Environment

  • Materials Management (MM)
  • SAP R/3
  • SAP R/3 Enterprise 4.7
  • SAP ERP Core Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

ESKL-MENGE, ML81N, ECC, quantity, ME2L, ME2N, Purchase order, PO, Quantity, Accounting tab, SES, ESKL-MENGE, SAPLMEREP, CX_SY_ZERODIVIDE, BCD_ZERODIVIDE, Decimal, Zero , KBA , MM-SRV , Services Management , MM-PUR-GF-RE , Reporting , 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.