I_PostingPeriodHierarchy1
Posting Period Hierarchy 1
I_PostingPeriodHierarchy1 is a Composite CDS View that provides data about "Posting Period Hierarchy 1" in SAP S/4HANA. It reads from 4 data sources (I_BusinessTransactionType, I_FiscalYearPeriodForLedger, I_FiscalYearPeriodForLedger, I_FiscalYearPeriodForLedger) and exposes 41 fields with key fields PostingPeriodHierarchy, BusTransacTypeHier, HierarchyLevel, CompanyCode, Ledger. It has 1 association to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessTransactionType | _BusinessTransactionType | inner |
| I_FiscalYearPeriodForLedger | _CompanyCode | from |
| I_FiscalYearPeriodForLedger | _CompanyCodeLedger | union |
| I_FiscalYearPeriodForLedger | _CompanyCodeLedger | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PostingPeriodHierarchyText | _PostingPeriodHierarchy | $projection.PostingPeriodHierarchy = _PostingPeriodHierarchy.PostingPeriodHierarchy |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPOPERHIER1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Posting Period Hierarchy 1 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PostingPeriodHierarchy | |||
| KEY | BusTransacTypeHier | |||
| KEY | HierarchyLevel | |||
| KEY | CompanyCode | I_FiscalYearPeriodForLedger | CompanyCode | Receiver Company Code |
| KEY | Ledger | Ledger | ||
| KEY | BusinessTransactionType | Bus.transaction | ||
| KEY | FiscalYear | G/L Fiscal Year | ||
| KEY | FiscalPeriod | Tax period | ||
| FiscalYearPeriod | Period/Year | |||
| IsSpecialPeriod | ||||
| CompanyCodeName | ||||
| LedgerName | ||||
| BusinessTransactionTypeName | ||||
| DrillState | ||||
| KEY | BusTransacTypeHier | |||
| KEY | HierarchyLevel | |||
| KEY | CompanyCode | I_FiscalYearPeriodForLedger | CompanyCode | Receiver Company Code |
| KEY | Ledger | I_FiscalYearPeriodForLedger | Ledger | Ledger |
| KEY | BusinessTransactionType | Bus.transaction | ||
| KEY | FiscalYear | G/L Fiscal Year | ||
| KEY | FiscalPeriod | Tax period | ||
| FiscalYearPeriod | Period/Year | |||
| IsSpecialPeriod | ||||
| CompanyCodeName | ||||
| LedgerName | ||||
| BusinessTransactionTypeName | ||||
| DrillState | ||||
| KEY | BusTransacTypeHier | |||
| KEY | HierarchyLevel | |||
| KEY | CompanyCode | I_FiscalYearPeriodForLedger | CompanyCode | Receiver Company Code |
| KEY | Ledger | I_FiscalYearPeriodForLedger | Ledger | Ledger |
| KEY | BusinessTransactionType | I_BusinessTransactionType | BusinessTransactionType | Bus.transaction |
| KEY | FiscalYear | I_FiscalYearPeriodForLedger | FiscalYear | G/L Fiscal Year |
| KEY | FiscalPeriod | I_FiscalYearPeriodForLedger | FiscalPeriod | Tax period |
| FiscalYearPeriod | I_FiscalYearPeriodForLedger | FiscalYearPeriod | Period/Year | |
| IsSpecialPeriod | ||||
| CompanyCodeName | ||||
| LedgerName | ||||
| BusinessTransactionTypeName | ||||
| DrillState | ||||
| _PostingPeriodHierarchy | _PostingPeriodHierarchy |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_PostingPeriodHierarchy1.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IPOPERHIER1
CREATE VIEW I_PostingPeriodHierarchy1 AS
SELECT
'1' AS PostingPeriodHierarchy,
cast( '' as fis_bttype_hryid_42) AS BusTransacTypeHier,
cast( 1 as abap.int4 ) AS HierarchyLevel,
_CompanyCode.CompanyCode AS CompanyCode,
cast('' as fins_ledger) AS Ledger,
cast('' as fins_bttype) AS BusinessTransactionType,
cast('' as gjahr) AS FiscalYear,
cast('' as poper) AS FiscalPeriod,
cast('' as fins_fyearperiod) AS FiscalYearPeriod,
cast('' as fins_xspecper) AS IsSpecialPeriod,
_CompanyCode._CompanyCode.CompanyCodeName AS CompanyCodeName,
cast('' as ldtxt) AS LedgerName,
cast('' as text30) AS BusinessTransactionTypeName,
cast( 'expanded' as abap.char(10) ) AS DrillState
FROM I_FiscalYearPeriodForLedger AS _CompanyCode
INNER JOIN I_BusinessTransactionType AS _BusinessTransactionType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PostingPeriodHierarchyText AS _PostingPeriodHierarchy ON PostingPeriodHierarchy = _PostingPeriodHierarchy.PostingPeriodHierarchy -- association [0..1]
-- UNION with additional select branch(es): I_FiscalYearPeriodForLedger
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA