Library of Oracle EBS SQLs for operational Excel and ECC reporting, Discoverer replacement, Oracle EBS performance tuning and rapid report development.

View the Project on GitHub Enginatics/Oracle-EBS-SQL

FND Flex Value Hierarchy


Flexfield value hierarchy showing a hierarchical tree of parent and child relations and child ranges. Parameter ‘Parents without Child only’ can be used to validate the hierarchy for nodes where the child range does not include a single child value.

The query is based on a treewalk through table fnd_flex_value_norm_hierarchy, which contains one record for every parent node, and a range_attribute column to indicate if the child value low/high range should match either parent nodes or child values.

While table fnd_flex_value_norm_hierarchy contains one record for each hierarchy node, table fnd_flex_value_hierarchies shows a flat representation of all hierarchy nodes and their lowest child ranges (range_attribute=C). For any lowest child range value, it contains one record for every higher hierarchy, that this child range is included in, up to the topmost hierarchy node. It can be used, for example, to validate directly if a child value is included in a specific higher level hierarchy node.

For GL flex value hierarchies, there are additional tables gl_seg_val_norm_hierarchy and gl_seg_val_hierarchies, which store one record for each matching child value for parent nodes, instead of just the range. These tables are updated automatically after each flex value hierarchy change by concurrent ‘General Ledger Accounting Setup Program’ (GLSTFL). gl_seg_val_norm_hierarchy stores one record for every child and their direct parent. gl_seg_val_hierarchies stores one record for every node in the hierarchy (regardless if child or parent) and all their parent records, regardless on which level. It can be used, for example, to directly find all childs of one parent node.


Flex Value Set, Hierarchy Start Value, Parents without Child only, Show Child Values

Used tables

fnd_flex_value_norm_hierarchy, fnd_flex_value_sets, fnd_flex_values, fnd_flex_values_vl, fnd_flex_hierarchies_vl



FND Flex Values, GL Balance by Account Hierarchy, GL Account Analysis (Distributions)


If you would like to try one of these Oracle EBS SQLs without having Blitz Report installed, note that some of the reports require functions from utility package xxen_util.

Example Report

FND Flex Value Hierarchy 03-Mar-2024 002741.xlsx

Report SQL

Blitz Report™ import options


Oracle E-Business Suite Reporting Library

We provide an open source Oracle EBS SQLs as a part of operational and project implementation support toolkits for rapid Excel reports generation.

Blitz Report™ is based on Oracle EBS forms technology, and hence requires minimal training. There are no data or performance limitations since the output files are created directly from the database without going through intermediate file formats such as XML.

Blitz Report can be used as BI Publisher and Oracle Discoverer replacement tool. Standard Oracle BI Publisher and Discoverer reports can also be imported into Blitz Report for immediate output to Excel. Typically, reports can be created and version tracked within hours instead of days. The concurrent request output automatically opens upon completion without the need for re-formatting.

The Filters, Columns, Rows and Values fields are used to create and deliver the data in pivot table format with full drill down to details.

Blitz Report Pivots

The Excel template upload functionality in Blitz Report allows users to create their own layouts by uploading an Excel template with additional sheets and charts, automatically refreshed when the report runs again. This allows to create custom dashboards and more advanced visualizations of report data.

Blitz Report Dashboard

You can download and use Blitz Report free of charge for your first 30 reports.

The installation and implementation process usually takes less than 1 hour; you can refer to our installation and user guides for specific details.

If you would like to optimize your Oracle EBS implementation and or operational reporting you can visit to review great ideas and example usage in blog. Or why not try for yourself in our demo environment.

CRM FoundationContracts Core
Lease and Finance ManagementPayments
Process ManufacturingProcess Manufacturing Inventory
Public Sector FinancialsShipping Execution
XML PublisherCapacity
Legal Entity ConfiguratorProjects
Service ContractsSubledger Accounting
Advanced PricingApplications DBA
Enterprise Asset ManagementInstalled Base
E-Business TaxEnterprise Command Center
Advanced Supply Chain PlanningBills of Material
Property ManagerMaster Scheduling/MRP
Work in ProcessHuman Resources
Order ManagementCash Management
Cost ManagementPurchasing
PayablesGeneral Ledger
Blitz ReportDatabase Administration
Application Object LibraryCost Accounting

Useful Links

Blitz Report™ – World’s fastest reporting and data upload for Oracle EBS

Oracle Discoverer replacement – importing worksheets into Blitz Report™

Blitz Report™ Toolkits

Supply Chain Hub by Blitz Report™

Blitz Report™ customers

Oracle EBS Reporting Blog

Oracle EBS Reporting

© 2024 Enginatics