Skip to the content.

MSC Pegging Hierarchy – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

ASCP Pegging Hierarchy. This reports shows the pegging hierarchy from the Top Level Demand.

Report Parameters

Planning Instance, Plan, Organization, Show Source Org. Pegging, Category Set, Category, End Assembly, Item, Project, Planner, Buyer, Make / Buy, Supply Type, Supplier, Supply Date From, Supply Date To, Exception, Demand Origination, Demand Order, Other Demand Origination, Exclude Other Demand, Demand Date From, Demand Date To, Pegging, Show End Pegs Only, Show Item Descriptive Attributes

Oracle EBS Tables Used

msc_full_pegging&a2m_dblink, msc_system_items&a2m_dblink, msc_boms&a2m_dblink, msc_safety_stocks&a2m_dblink

Report Categories

Enginatics, R12 only

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 MSC Pegging Hierarchy - Pivot Full Hierarchy (Default) 02-Apr-2026 120700.xlsm
Blitz Report™ XML Import MSC_Pegging_Hierarchy.xml
Full SQL on Enginatics www.enginatics.com/reports/msc-pegging-hierarchy/

MSC Pegging Hierarchy - Case Study & Technical Analysis

Executive Summary

The MSC Pegging Hierarchy report provides a deep-dive view into the complex supply chain relationships established by ASCP. It traces the lineage from a top-level demand (like a Sales Order) down through all levels of the Bill of Materials and distribution network to the ultimate supply source.

Business Challenge

In a multi-org, multi-level supply chain, it’s hard to know “why” a supply order exists.

Solution

The MSC Pegging Hierarchy report visualizes the full pegging tree.

Key Features:

Technical Architecture

The report uses the MSC_FULL_PEGGING table, which stores the parent-child links generated by the planning engine.

Key Tables and Views

Core Logic

  1. Root Selection: Starts with a specific demand or supply transaction.
  2. Recursive Traversal: Uses a CONNECT BY query (or recursive CTE) to traverse the MSC_FULL_PEGGING table up or down the tree.
  3. Enrichment: Joins to the supply/demand tables to get human-readable details.

Business Impact


© 2026 Enginatics