My Oracle Support Banner

imp_hier Fails with "ORA-00001: unique constraint (RPAS_DATA_MART_PDS.RP_G_SKUG_D_IDX2) violated" (Doc ID 3029534.1)

Last updated on JUNE 21, 2024

Applies to:

Oracle Retail Demand Forecasting Cloud Service - Version 23.2 and later
Oracle Retail Inventory Planning Optimization Cloud Service Advanced Edition - Version 24.0 and later
Oracle Retail Merchandise Financial Planning Enterprise Edition Cloud Service - Version 24.1 and later
Oracle Retail Assortment & Item Planning Enterprise Edition Cloud Service - Version 23.2 and later
Information in this document applies to any platform.

Goal

Trying to load the product hierarchy into RPAS IPO,  the file itself coming from MFCS v19 and loading into RAP via the usual processes.
W_PDS_PRODUCT_D is populated with 460,151 rows.
The log file says: No. of records processed: 458019 but fails with
12:12:55 : l_hdm_select: s.ITEM HDM01, s.ITEM_PARENT_DIFF HDM02, s.ITEM_PARENT HDM03, s.SUBCLASS_ID HDM04, s.CLASS_ID HDM05, s.DEPT HDM06, s.GROUP_NO HDM07, s.DIVISION HDM08, s.COMPANY HDM09, s.SUPPLIER HDM10,
12:12:55 : l_hdl_select: ITEM_DESC HDL01, ITEM_PARENT_DIFF_DESC HDL02, ITEM_PARENT_DESC HDL03, SUB_NAME HDL04, CLASS_NAME HDL05, DEPT_NAME HDL06, GROUP_NAME HDL07, DIV_NAME HDL08, CO_NAME HDL09, SUP_NAME HDL10,
12:12:55 : l_hdm_into: SKU, SKUP, SKUG, SCLS, CLSS, DEPT, PGRP, DVSN, CMPP, VNDR,
12:12:55 : l_hdl_into: SKU_label, SKUP_label, SKUG_label, SCLS_label, CLSS_label, DEPT_label, PGRP_label, DVSN_label, CMPP_label, VNDR_label, ORA-00001: unique constraint (RPAS_DATA_MART_PDS.RP_G_SKUG_D_IDX2) violatedORA-06512: at "RPAS_DATA_MART_PDS.RP_LOAD_DIMENSION_PKG", line 4398
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.