Symptom
- When using APP Create Technical Object create new technical object, below error occurs:
500 Internal Server Error: A data record is to be inserted even though a data record with the same primary key or same unique secondary key exists.
- When using APP Create Maintenance Order create new maintenance order, below error occurs:
500 Internal Server Error: A data record is to be inserted even though a data record with the same primary key or same unique secondary key exists.
Environment
SAP S/4HANA Cloud Public Edition
Cause
Data is inconsistency between current number of number range object and largest number that existing in the table.
Resolution
For technical object, in SSCUI 103091 - Define Number Ranges for Equipment Categories, click 'Change Intervals' button for Number Range Object EQUIP_NR and change 'Change Number Status'.
For maintenance order, in SSCUI 106461 - Configure Number Range for Order Types, click 'Change Intervals' button for Number Range Object AUFTRAG and change 'Change Number Status'.
Keywords
500 Internal Server Error: A data record is to be inserted even though a data record with the same primary key or same unique secondary key exists, technical object, maintenance order, 10309, Define Number Ranges for Equipment Categories,106461,Configure Number Range for Order Types , KBA , PM-EQM-2CL , Equipment and Technical Objects (Public Cloud) , PM-FIO-WOC-2CL , Fiori UI for PM Maintenance Processing (Public Cloud) , Problem