Upgrading Product Schemas Error: OIMR2PS2_OIM.UK_ENTITY_TYPE

When you are upgrading the product schemas, the OIMR2PS2_OIM.UK_ENTITY_TYPE violated error is displayed.

The following error message is displayed:
ORA-00001: unique constraint (OIMR2PS2_OIM.UK_ENTITY_TYPE) violated
ORA-06512: at line 23 

To solve the error, see Doc ID 2412393.1.