I_PRAFiscalPeriod

DDL: I_PRAFISCALPERIOD SQL: IPVFISCALPD Type: view BASIC

PRA Fiscal Period

I_PRAFiscalPeriod is a Basic CDS View (Dimension) that provides data about "PRA Fiscal Period" in SAP S/4HANA. It reads from 1 data source (/pra/acct_cyc) and exposes 7 fields with key fields CompanyCode, FiscalPeriod. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/pra/acct_cyc /pra/acct_cyc from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Indicator _IsClosed $projection.IsClosed = _IsClosed.IndicatorValue
[0..1] I_Indicator _IsCurrentFiscalPeriod $projection.IsCurrentFiscalPeriod = _IsCurrentFiscalPeriod.IndicatorValue

Annotations (12)

NameValueLevelField
EndUserText.label PRA Fiscal Period view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVFISCALPD view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey FiscalPeriod view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode Value
KEY FiscalPeriod Acct Period
IsClosed month_clse_fl Month Close
IsCurrentFiscalPeriod current_month_fl Current Month
_CompanyCode _CompanyCode
_IsClosed _IsClosed
_IsCurrentFiscalPeriod _IsCurrentFiscalPeriod

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_PRAFiscalPeriod.
-- 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: IPVFISCALPD

CREATE VIEW I_PRAFiscalPeriod AS
SELECT
  cast ( bukrs as fis_bukrs ) AS CompanyCode,
  cast (acct_period as oiu_vdm_fis_period preserving type) AS FiscalPeriod,
  month_clse_fl AS IsClosed,
  current_month_fl AS IsCurrentFiscalPeriod
FROM /pra/acct_cyc
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsClosed ON IsClosed = _IsClosed.IndicatorValue  -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsCurrentFiscalPeriod ON IsCurrentFiscalPeriod = _IsCurrentFiscalPeriod.IndicatorValue  -- association [0..1]
;