CAC Where Used by Cost Type – Oracle EBS SQL Report
Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.
Overview
Report to download the single-level bills of materials and related component information, by organization by cost type. And while exploding the bills of material you can also compare with two cost types, as well as limit the report to only assemblies and component items with a zero item cost.
/* +=============================================================================+ – | Copyright 2013 - 2019 Douglas Volz Consulting, Inc. | – | All rights reserved. | – | Permission to use this code is granted provided the original author is | – | acknowledged. No warranties, express or otherwise is included in this | – | permission. | – +=============================================================================+ – | – | Original Author: Douglas Volz (doug@volzconsulting.com) – | – | Program Name: xxx_where_used_by_cost_type_rept.sql – | – | Parameters: – | p_cost_type – Cost type costs to report, enter a cost type name. – | Required. – | p_category_set1 – The first item category set to report, typically the – | Cost or Product Line Category Set – | p_category_set2 – The second item category set to report, typically the – | Inventory Category Set – | p_assembly_number – Enter the specific assembly number you wish to report (optional) – | p_component_number – Enter the specific component number you wish to report (optional) – | p_only_zero_costs – Show assemblies and components with a zero cost (optional) – | p_include_expense_items – Yes/No flag to include or not include non-asset (not valued) – | p_include_uncosted_items – Yes/No flag to include or not costing not enabled items (optional) – | p_org_code – Specific inventory organization you wish to report (optional) – | p_operating_unit – Operating Unit you wish to report, leave blank for all – | operating units (optional) – | p_ledger – general ledger you wish to report, leave blank for all – | ledgers (optional) – | – | Version Modified on Modified by Description – | ======= =========== ============== ========================================= – | 1.0 08-Jun-2017 Douglas Volz Initial Coding based on xxx_sl_bom_extract.sql – | 1.1 05-Nov-2018 Douglas Volz Modified to client’s item categories, don’t – | report obsolete items and remove location info. – | 1.2 03 Sep 2019 Douglas Volz Add Ledger, Operating Unit, Item Type, Status – | and item categories for cost and inventory. – | 1.3 27 Jan 2020 Douglas Volz Added Operating Unit and Ledger parameters. – | 1.4 13 Jul 2020 Douglas Volz Added item costs, parameters for components – | and assemblies at a zero item cost, and – | changed to multi-language views for translation. – | 1.5 24 Aug 2020 Douglas Volz Component WIP Supply Type not always populated, – | needed to add an outer join on the lookup code. – | 1.6 01 Sep 2020 Douglas Volz Revision to avoid getting other cost type – | entries for non-asset and uncosted items. – | 1.7 14 Sep 2020 Douglas Volz Revision for faster queries by item number. – +=============================================================================+*/
Report Parameters
Cost Type, Comparison Cost Type, Category Set 1, Category Set 2, Category Set 3, Only Zero Item Costs, Include Unimplemented ECOs, Assembly Number, Component Number, Organization Code, Operating Unit, Ledger
Oracle EBS Tables Used
mtl_onhand_quantities_detail, mtl_parameters, mtl_system_items_vl, bom_structures_b, mtl_item_status_vl, mtl_units_of_measure_vl, mfg_lookups, fnd_lookups, fnd_common_lookups, hr_organization_information, hr_all_organization_units_vl, gl_ledgers, bom_components_b, org_access_view, mtl_item_revisions_b, cst_cost_types, cst_item_costs, gl_access_set_norm_assign, gl_ledger_set_norm_assign_v, mo_glob_org_access_tmp, dual
Report Categories
Running This SQL Without Blitz Report
Some Oracle EBS SQL reports in this library require functions from the utility package xxen_util. Install it before running the SQL directly against your Oracle EBS database.
Download & Import Options
| Resource | Link |
|---|---|
| Excel Example Output | CAC Where Used by Cost Type 10-Jul-2022 111949.xlsx |
| Blitz Report™ XML Import | CAC_Where_Used_by_Cost_Type.xml |
| Full SQL on Enginatics | www.enginatics.com/reports/cac-where-used-by-cost-type/ |
Case Study & Technical Analysis: CAC Where Used by Cost Type
Executive Summary
The CAC Where Used by Cost Type report is a “Costed Bill of Materials” tool. It performs a single-level explosion of the BOM, displaying the parent Assembly and the child Component, along with their respective costs. It is essential for analyzing cost drivers and the impact of component price changes.
Business Challenge
- Impact Analysis: “The price of Copper just went up 20%. Which products use Copper, and how much does it contribute to their total cost?”
- Make vs. Buy: Comparing the cost of the component (if bought) to the value it adds to the assembly.
- Zero Cost Audit: Finding components with Zero Cost that are being used in active assemblies (which causes under-costing).
Solution
This report links BOMs to Costs.
- Structure:
Assembly->Component. - Quantities: Component Quantity per Assembly.
- Costs: Shows the Unit Cost of the Component and the Unit Cost of the Assembly.
- Extended Value:
Component Qty * Component Cost= Contribution to Assembly.
Technical Architecture
- Tables:
bom_structures_b,bom_components_b,cst_item_costs. - Logic: Single-level join (not a recursive explosion).
Parameters
- Cost Type: (Mandatory) The cost type to report.
- Component Number: (Optional) “Show me all assemblies using this component.”
Performance
- Fast: Single-level joins are much faster than recursive BOM explosions.
FAQ
Q: Does it show Phantom items? A: Yes, it shows the immediate component. If the component is a Phantom, it is listed. To see the ingredients of the Phantom, you would need a multi-level report.
Useful Links
- Blitz Report™ – World’s Fastest Oracle EBS Reporting Tool
- Oracle Discoverer Replacement – Import Worksheets into Blitz Report™
- Oracle EBS Reporting Toolkits by Blitz Report™
- Blitz Report™ FAQ & Community Q&A
- Supply Chain Hub by Blitz Report™
- Blitz Report™ Customer Case Studies
- Oracle EBS Reporting Blog
- Oracle EBS Reporting Resource Centre
© 2026 Enginatics