CSTRSCCRN Supply Chain Cost Rollup - No Report runs but never completes and needs to be terminated (Doc ID 1624435.1)

Last updated on NOVEMBER 18, 2016

Applies to:

Oracle Cost Management - Version 12.0.6 and later
Information in this document applies to any platform.
*** Checked on Relevance on 18/Nov/2016 ***

Symptoms

On : 12.0.6 version, Cost Maintenance

ACTUAL BEHAVIOR
---------------

It was observed that the CSTRSCCRN module: Supply Chain Cost Rollup - No Report was having performance degradation.
A changed was made to some sourcing rules and since then the program runs and does not complete.
It was found that the long running sql statement execution was seen as below:

INSERT
INTO CST_ITEM_COST_DETAILS
  (
  INVENTORY_ITEM_ID,
  COST_TYPE_ID,
  LAST_UPDATE_DATE,
  LAST_UPDATED_BY,
  CREATION_DATE,
  CREATED_BY,
  LAST_UPDATE_LOGIN,
  SOURCE_ORGANIZATION_ID,
  ORGANIZATION_ID,
  OPERATION_SEQ_NUM,
  LEVEL_TYPE,
  ACTIVITY_ID,
  RESOURCE_ID,
  RESOURCE_RATE,
  USAGE_RATE_OR_AMOUNT,
  BASIS_TYPE,
  BASIS_FACTOR,
  NET_YIELD_OR_SHRINKAGE_FACTOR,
  ITEM_COST,
  COST_ELEMENT_ID,
  ROLLUP_SOURCE_TYPE,
  REQUEST_ID,
  PROGRAM_APPLICATION_ID,
  PROGRAM_ID,
  PROGRAM_UPDATE_DATE,
  BASIS_RESOURCE_ID,
  OPERATION_SEQUENCE_ID,
  RESOURCE_SEQ_NUM
  )


EXPECTED BEHAVIOR
-----------------------
To Improve performance execution of Supply Chain Cost Rollup - No Report to an acceptable duration time.
Prior to the performance issue this was completing normally for 5 - 10 minutes.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Submit concurrent request - CSTRSCCRN module: Supply Chain Cost Rollup - No Report
2. The report was running for 7+ hours without completing and needs to be terminated.


Cause

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 hundreds of Community platforms