SAP Knowledge Base Article - Public

3470995 - Technical object or maintenance order could not be created due to 500 Internal Server Error - SAP S/4HANA Cloud

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

Cause

Data is inconsistency between current number of number range object and largest number that existing in the table. 

Resolution

For technical object, access SSCUI 103091 - Define Number Ranges for Equipment Categories, click 'Change Intervals' button for Number Range Object EQUIP_NR, click 'Change Number Status'.

For maintenance order, access SSCUI 106461 - Configure Number Range for Order Types, click 'Change Intervals' button for Number Range Object AUFTRAG, click '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

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions