Symptom
- An error occurs when creating a Scheduling Agreement using transaction ME31L.
- The issue happens during the save step, resulting in a dump or system error.
- Error message: "System error: error during insert in table EKKO System error: error during insert in table EKKO Message no. ME807 Procedure Contact your system administrator or SAP consultant."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Start app ME31L.
- Enter the required fields for the scheduling agreement.
- Save the document; a dump/system error occurs with message ME807.
Cause
The assigned scheduling agreement number range was exhausted and attempted to generate numbers that already exist, causing database insert error ME807 in table EKKO during save.
Resolution
- Open SSCUI configuration 103412 for Scheduling Agreement number ranges.
- Choose Edit Intervals and extend the “To Number” of the interval assigned to the scheduling agreement document type to ensure sufficient capacity.
- Select the number range used by the scheduling agreement document type (for example, the custom range) and choose Change Number Range Status; set the Current Number to the next unused number beyond all existing documents.
- Save the changes.
- Test creating a new Scheduling Agreement in ME31L to confirm successful save without error.
- Alternatively, create a new number range interval and assign it to the scheduling agreement document type, then test creation.
See Also
Keywords
me31l, scheduling agreement, save error, dump on save, ME807, insert in table EKKO, system error during insert, number range exhausted, duplicate key, number range status, SSCUI 103412, change number range, ekko insert error, s/4hana cloud public edition, procurement, S4HC, S4_PC, S4_1C, X4BC , KBA , MM-PUR-OA-SCH-2CL , Scheduling Agreement (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public