SAP Knowledge Base Article - Public

3583896 - Runtime Error: 'System error: error during insert in table EKKO

Symptom

 This error could be displayed while creating and saving any document like Purchase  order, Purchase requisition, Purchase contract etc

Environment

  • SAP S/4HANA Cloud Public Edition
 

Reproducing the Issue

  1. Open App 'Manage Purchase order'.
  2. Create a purchase order by filling up all mandatory and necessary details.
  3. Save the purchase order.
  4. Observe the runtime error.

Cause

The issue is caused by a discrepancy in the  SSCUI 'Define number ranges for purchasing document' . or Respective documents number ranges.

The number range status is stuck at for example number 4500000029 , while the last number for Purchase order for example is 4500000331.

Resolution

  1. In SSCUI 'define document types for purchase order'.
  2. Check what value exist under 'Number ranges internal '(if PO is created eternally then check column 'Number ranges external') column for the document type of the effected Purchase order.
  3. Then check what all document types  has same value chosen for example 45.
  4. In App 'manage purchase order', filter the Purchase orders using all those document types.
  5. Navigate to SSCUI 'Define number ranges for purchasing document'.
  6. Change the Number to 4500000332 by removing 4500000029 for value 45.
  7. Create new Purchase Order and error shall not appear.

Keywords

Runtime Error, EKKO, Purchase Order, SAP S/4HANA Cloud Public Edition, SSCUI, Number Ranges, Development System, Error during insert,ME807  , KBA , MM-FIO-PUR-PO-2CL , Fiori UI for Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions