P_RepFinData_RT_AggrNRL_02

DDL: P_REPFINDATA_RT_AGGRNRL_02 SQL: PRFDRTAGNRL_02 Type: view COMPOSITE Package: FIN_CS_RELEASE_UNIVERSAL_JRNL

Consolidation Unit; Period and Year

P_RepFinData_RT_AggrNRL_02 is a Composite CDS View that provides data about "Consolidation Unit; Period and Year" in SAP S/4HANA. It reads from 6 data sources and exposes 78 fields. It has 1 association to related views. Part of development package FIN_CS_RELEASE_UNIVERSAL_JRNL.

Data Sources (6)

SourceAliasJoin Type
I_CnsldtnUnit_3 I_CnsldtnUnit_3 inner
I_CnsldtnUnitByTimeVersion I_CnsldtnUnitByTimeVersion inner
I_CnsldtnVersion I_CnsldtnVersion inner
I_CompanyCode I_CompanyCode inner
I_FiscalCalendarDate I_FiscalCalendarDate inner
P_RepFinData_RT_AggrNRL_01 P_RepFinData_RT_AggrNRL_01 from

Parameters (2)

NameTypeDefault
P_CreationDateTimeRgFr timestamp
P_CreationDateTimeRgTo timestamp

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CashLedgerCompanyCode _CashLedgerCompanyCode.CompanyCode = Source.CashLedgerCompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PRFDRTAGNRL_02 view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (78)

KeyFieldSource TableSource FieldDescription
ConsolidationDimension I_CnsldtnUnit_3 ConsolidationDimension Dimension
ConsolidationUnit I_CnsldtnUnit_3 ConsolidationUnit Consolidation Unit
ReferenceChartOfAccounts I_CompanyCode ChartOfAccounts Node Class
ConsolidationVersion I_CnsldtnVersion ConsolidationVersion Version
FSItemMappingVersion I_CnsldtnVersion FSItemMappingVersion
ConsolidationLedger I_CnsldtnVersion ConsolidationLedger Ledger
GroupCurrency I_CnsldtnVersion GroupCurrency Ledger curr.
DocumentEntryIsInGroupCurrency I_CnsldtnUnitByTimeVersion DocumentEntryIsInGroupCurrency
CnsldtnUnitGroupCrcySource I_CnsldtnUnitByTimeVersion CnsldtnUnitGroupCrcySource Source for Group Currency Key Figure
CnsldtnUnitLocalCrcySource I_CnsldtnUnitByTimeVersion CnsldtnUnitLocalCrcySource Source for Local Currency Key Figure
FiscalPeriod I_FiscalCalendarDate FiscalPeriod Tax period
FiscalYear I_FiscalCalendarDate FiscalYear G/L Fiscal Year
FiscalYearPeriod I_FiscalCalendarDate FiscalYearPeriod Period/Year
BalanceTransactionCurrency Source BalanceTransactionCurrency Currency
BaseUnit Source BaseUnit Unit of Measure
FinancialTransactionType Source FinancialTransactionType Transact. Type
FunctionalArea Source FunctionalArea Sendr Fctl Area
BusinessArea Source BusinessArea Business Area
CostCenter Source CostCenter Cost Center
GLAccount Source GLAccount General Ledger
ProfitCenter Source ProfitCenter Profit Center
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
AmountInLocalCurrency AmountInLocalCurrency Local Crcy Amt
AmountInGroupCurrency AmountInGroupCurrency Amnt in GrpCrcy
QuantityInBaseUnit QuantityInBaseUnit Quantity
osl Source osl Other Crcy Amnt
vsl Source vsl Amount in Currency 2
bsl Source bsl Exchange Key
csl Source csl Amount in Currency 4
dsl Source dsl Amount in Currency 5
esl Source esl Amount in Currency 6
fsl Source fsl Amount in Currency 7
gsl Source gsl Amount in Currency 8
Segment Source Segment Segment number
PartnerCompany Source PartnerCompany Trading Partner
CompanyCode Source CompanyCode Receiver Company Code
ChartOfAccounts Source ChartOfAccounts Node Class
AssignmentReference Source AssignmentReference Assignment Reference
ControllingArea Source ControllingArea Controlling Area
PartnerCostCenter Source PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter Source PartnerProfitCenter Profit Center
PartnerFunctionalArea Source PartnerFunctionalArea Rec. Fntcl Area
PartnerBusinessArea Source PartnerBusinessArea Trdg Part.BA
PartnerSegment Source PartnerSegment Partner Segment
OrderID Source OrderID Order ID
Customer Source Customer Sold-to Party
Supplier Source Supplier Supplier
Material Source Material Vehicle Model
MaterialGroup Source MaterialGroup Product Group
ProductGroup Source ProductGroup Product Sold Group
Plant Source Plant Valuation Area
WBSElementExternalID Source WBSElementExternalID WBS Element External ID
Project Source Project WBS Element
BillingDocumentType Source BillingDocumentType Billing Type
SalesOrganization Source SalesOrganization Sales Organization
DistributionChannel Source DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Source OrganizationDivision Org. Division
SoldProduct Source SoldProduct Product Sold
SoldProductGroup Source SoldProductGroup Product Sold Group
CustomerGroup Source CustomerGroup Customer Group
CustomerSupplierCountry Source CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry Source CustomerSupplierIndustry Industry
SalesDistrict Source SalesDistrict Sales District
BillToParty Source BillToParty Inv. Recipient
ShipToParty Source ShipToParty Ship-To Party (obsolete)
CustomerSupplierCorporateGroup Source CustomerSupplierCorporateGroup Group
WBSElementInternalID Source WBSElementInternalID WBS Internal ID
CreationDateTime Source CreationDateTime Timestamp
FinancialServicesProductGroup Source FinancialServicesProductGroup Product Group (FS)
FinancialServicesBranch Source FinancialServicesBranch Branch (FS)
FinancialDataSource Source FinancialDataSource Data Source
FinancialManagementArea Source FinancialManagementArea FM Area
GrantID Source GrantID Sender Grant
Fund Source Fund Sender Fund
PartnerFund Source PartnerFund Receiver Fund
CashLedgerAccount Source CashLedgerAccount Cash Origin Account
CnsldtnCashLedgerChartOfAccts _CashLedgerCompanyCode ChartOfAccounts Node Class
SourceLedger Source SourceLedger Source Ledger

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_RepFinData_RT_AggrNRL_02.
-- 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: PRFDRTAGNRL_02
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp

CREATE VIEW P_RepFinData_RT_AggrNRL_02 AS
SELECT
  I_CnsldtnUnit_3.ConsolidationDimension AS ConsolidationDimension,
  I_CnsldtnUnit_3.ConsolidationUnit AS ConsolidationUnit,
  I_CompanyCode.ChartOfAccounts AS ReferenceChartOfAccounts,
  I_CnsldtnVersion.ConsolidationVersion AS ConsolidationVersion,
  I_CnsldtnVersion.FSItemMappingVersion AS FSItemMappingVersion,
  I_CnsldtnVersion.ConsolidationLedger AS ConsolidationLedger,
  I_CnsldtnVersion.GroupCurrency AS GroupCurrency,
  I_CnsldtnUnitByTimeVersion.DocumentEntryIsInGroupCurrency AS DocumentEntryIsInGroupCurrency,
  I_CnsldtnUnitByTimeVersion.CnsldtnUnitGroupCrcySource AS CnsldtnUnitGroupCrcySource,
  I_CnsldtnUnitByTimeVersion.CnsldtnUnitLocalCrcySource AS CnsldtnUnitLocalCrcySource,
  I_FiscalCalendarDate.FiscalPeriod AS FiscalPeriod,
  I_FiscalCalendarDate.FiscalYear AS FiscalYear,
  I_FiscalCalendarDate.FiscalYearPeriod AS FiscalYearPeriod,
  Source.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  Source.BaseUnit AS BaseUnit,
  Source.FinancialTransactionType AS FinancialTransactionType,
  Source.FunctionalArea AS FunctionalArea,
  Source.BusinessArea AS BusinessArea,
  Source.CostCenter AS CostCenter,
  Source.GLAccount AS GLAccount,
  Source.ProfitCenter AS ProfitCenter,
  AmountInTransactionCurrency,
  AmountInLocalCurrency,
  AmountInGroupCurrency,
  QuantityInBaseUnit,
  Source.osl AS osl,
  Source.vsl AS vsl,
  Source.bsl AS bsl,
  Source.csl AS csl,
  Source.dsl AS dsl,
  Source.esl AS esl,
  Source.fsl AS fsl,
  Source.gsl AS gsl,
  Source.Segment AS Segment,
  Source.PartnerCompany AS PartnerCompany,
  Source.CompanyCode AS CompanyCode,
  Source.ChartOfAccounts AS ChartOfAccounts,
  Source.AssignmentReference AS AssignmentReference,
  Source.ControllingArea AS ControllingArea,
  Source.PartnerCostCenter AS PartnerCostCenter,
  Source.PartnerProfitCenter AS PartnerProfitCenter,
  Source.PartnerFunctionalArea AS PartnerFunctionalArea,
  Source.PartnerBusinessArea AS PartnerBusinessArea,
  Source.PartnerSegment AS PartnerSegment,
  Source.OrderID AS OrderID,
  Source.Customer AS Customer,
  Source.Supplier AS Supplier,
  Source.Material AS Material,
  Source.MaterialGroup AS MaterialGroup,
  Source.ProductGroup AS ProductGroup,
  Source.Plant AS Plant,
  Source.WBSElementExternalID AS WBSElementExternalID,
  Source.Project AS Project,
  Source.BillingDocumentType AS BillingDocumentType,
  Source.SalesOrganization AS SalesOrganization,
  Source.DistributionChannel AS DistributionChannel,
  Source.OrganizationDivision AS OrganizationDivision,
  Source.SoldProduct AS SoldProduct,
  Source.SoldProductGroup AS SoldProductGroup,
  Source.CustomerGroup AS CustomerGroup,
  Source.CustomerSupplierCountry AS CustomerSupplierCountry,
  Source.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  Source.SalesDistrict AS SalesDistrict,
  Source.BillToParty AS BillToParty,
  Source.ShipToParty AS ShipToParty,
  Source.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
  Source.WBSElementInternalID AS WBSElementInternalID,
  Source.CreationDateTime AS CreationDateTime,
  Source.FinancialServicesProductGroup AS FinancialServicesProductGroup,
  Source.FinancialServicesBranch AS FinancialServicesBranch,
  Source.FinancialDataSource AS FinancialDataSource,
  Source.FinancialManagementArea AS FinancialManagementArea,
  Source.GrantID AS GrantID,
  Source.Fund AS Fund,
  Source.PartnerFund AS PartnerFund,
  Source.CashLedgerAccount AS CashLedgerAccount,
  _CashLedgerCompanyCode.ChartOfAccounts AS CnsldtnCashLedgerChartOfAccts,
  Source.SourceLedger AS SourceLedger
FROM P_RepFinData_RT_AggrNRL_01
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnUnit_3 ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnUnitByTimeVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_FiscalCalendarDate ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CashLedgerCompanyCode ON _CashLedgerCompanyCode.CompanyCode = Source.CashLedgerCompanyCode  -- association [0..1]
;