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
- Open App 'Manage Purchase order'.
- Create a purchase order by filling up all mandatory and necessary details.
- Save the purchase order.
- 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
- In SSCUI 'define document types for purchase order'.
- 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.
- Then check what all document types has same value chosen for example 45.
- In App 'manage purchase order', filter the Purchase orders using all those document types.
- Navigate to SSCUI 'Define number ranges for purchasing document'.
- Change the Number to 4500000332 by removing 4500000029 for value 45.
- 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