I_PostingPeriodHierarchy1

DDL: I_POSTINGPERIODHIERARCHY1 SQL: IPOPERHIER1 Type: view COMPOSITE

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)

SourceAliasJoin Type
I_BusinessTransactionType _BusinessTransactionType inner
I_FiscalYearPeriodForLedger _CompanyCode from
I_FiscalYearPeriodForLedger _CompanyCodeLedger union
I_FiscalYearPeriodForLedger _CompanyCodeLedger union

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PostingPeriodHierarchyText _PostingPeriodHierarchy $projection.PostingPeriodHierarchy = _PostingPeriodHierarchy.PostingPeriodHierarchy

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;