P_CnsldtnGroupStructurePeriod

DDL: P_CNSLDTNGROUPSTRUCTUREPERIOD SQL: PJHSCOPEDATEP Type: view BASIC Package: FIN_CS

validity

P_CnsldtnGroupStructurePeriod is a Basic CDS View that provides data about "validity" in SAP S/4HANA. It reads from 1 data source (tf070) and exposes 11 fields with key fields ConsolidationStructureVersion, ConsolidationGroupHierarchy, ValidityEndDate. Part of development package FIN_CS.

Data Sources (1)

SourceAliasJoin Type
tf070 h from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PJHSCOPEDATEP view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationStructureVersion hryver Version: Structures
KEY ConsolidationGroupHierarchy hryid Hierarchy ID
KEY ValidityEndDate hryvalto Valid To
ValidityStartDate hryvalfrom Valid From
toFiscalYearPeriod
FromFiscalYearPeriod
ToFiscalYear
ToFiscalPeriod
ConsolidationDimension
ConsolidationGroup
ConsolidationUnit

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 P_CnsldtnGroupStructurePeriod.
-- 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: PJHSCOPEDATEP

CREATE VIEW P_CnsldtnGroupStructurePeriod AS
SELECT
  hryver AS ConsolidationStructureVersion,
  hryid AS ConsolidationGroupHierarchy,
  hryvalto AS ValidityEndDate,
  hryvalfrom AS ValidityStartDate,
  concat( left(hryvalto , 4), concat ('0', substring(hryvalto, 5, 2 ) ) ) AS toFiscalYearPeriod,
  concat( left(hryvalfrom , 4), concat ('0', substring(hryvalfrom, 5, 2 ) ) ) AS FromFiscalYearPeriod,
  left(hryvalto , 4) AS ToFiscalYear,
  concat( '0', substring(hryvalto, 5, 2 ) ) AS ToFiscalPeriod,
  cast( left( nodecls, 2 ) as fc_dimen ) AS ConsolidationDimension,
  cast( left( hryid, 18 ) as fc_congr ) AS ConsolidationGroup,
  cast( left( nodevalue, 18 ) as fincs_consolidationunit ) AS ConsolidationUnit
FROM tf070 AS h
;