C_RU_FinancialStatementItemC

DDL: C_RU_FINANCIALSTATEMENTITEMC SQL: CRUFINSTMNTITEMC Type: view CONSUMPTION

Financial Statement Item Cube

C_RU_FinancialStatementItemC is a Consumption CDS View (Cube) that provides data about "Financial Statement Item Cube" in SAP S/4HANA. It reads from 1 data source (P_RU_FinancialStatementItem) and exposes 65 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_RU_FinancialStatementItem P_RU_FinancialStatementItem from

Parameters (9)

NameTypeDefault
P_FinancialStatementHierarchy hryid
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_FiscalYear srf_report_year
P_PreviousFiscalYear srf_report_year
P_AlternativeGLAccountIsUsed char1
P_Language sylangu
P_Ledger fins_ledger

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_GLAccountInCompanyCode _GLAccountInCompanyCode $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and ( ( $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount and P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed <> '1' ) or ( $projection.AlternativeGLAccount = _GLAccountInChartOfAccounts.GLAccount and P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed = '1' ) )

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CRUFINSTMNTITEMC view
AbapCatalog.compiler.compareFilter true view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Financial Statement Item Cube view
Metadata.allowExtensions true view
Analytics.internalName #LOCAL view

Fields (65)

KeyFieldSource TableSource FieldDescription
FinancialStatementHierarchy FinancialStatementHierarchy Hierarchy ID
HierarchyNode HierarchyNode Node
ValidityEndDate ValidityEndDate ValidTo
CompanyCode P_RU_FinancialStatementItem CompanyCode Receiver Company Code
FiscalYear FiscalYear G/L Fiscal Year
InvoiceYear InvoiceYear Orig.Inv.Year
AccountingDocument AccountingDocument Journal Entry
HierarchyParentNode HierarchyParentNode Hier.node
FinancialStatementLeafItem FinancialStatementLeafItem Node
NodeType NodeType Object Type
FinStatementHierarchyNodeValue FinStatementHierarchyNodeValue Value
FunctionalAreaIsUsed FunctionalAreaIsUsed
DebitCreditCode DebitCreditCode Single-Character Flag
ChartOfAccounts ChartOfAccounts Node Class
GLAccount RealGLAccount
AlternativeGLAccount AlternativeGLAccount Group Account
Currency Currency Valuation Crcy
PeriodBalAmtInDspCrcy PeriodBalAmtInDspCrcy
DebitAmountInDisplayCrcy DebitAmountInDisplayCrcy
CreditAmountInDisplayCrcy CreditAmountInDisplayCrcy
YearlyBalAmtInDspCrcy YearlyBalAmtInDspCrcy
StartingBalAmtInDspCrcy StartingBalAmtInDspCrcy
EndingBalAmtInDspCrcy EndingBalAmtInDspCrcy
ControllingArea ControllingArea Controlling Area
Segment Segment Segment number
ProfitCenter ProfitCenter Profit Center
CostCenter CostCenter Cost Center
BusinessArea BusinessArea Business Area
Supplier Supplier Supplier
Customer Customer Sold-to Party
AccountingDocumentType AccountingDocumentType Journal Entry Type
FiscalPeriod FiscalPeriod Tax period
MasterFixedAsset MasterFixedAsset Fixed Asset
FixedAsset FixedAsset Sub-number
AssetClass AssetClass Asset Class
AssignmentReference AssignmentReference Assignment Reference
Plant Plant Valuation Area
InventoryValuationType InventoryValuationType Valuation Type
ValuationArea ValuationArea Valuation Area
Product Product Product Sold
FunctionalArea FunctionalArea Sendr Fctl Area
FinancialStatementExplanation FinancialStatementExplanation
Material Material Vehicle Model
LedgerGLLineItem LedgerGLLineItem Journal Entry Item
HierarchyNodeText HierarchyNodeText
_AccountingDocumentType _AccountingDocumentType
_BusinessArea _BusinessArea
_ChartOfAccounts _ChartOfAccounts
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_CostCenter _CostCenter
_Customer _Customer
_FinancialStatementLeafItem _FinancialStatementLeafItem
_FiscalYear _FiscalYear
_FunctionalArea _FunctionalArea
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccountInCompanyCode _GLAccountInCompanyCode
_InventoryValuationType _InventoryValuationType
_Product _Product
_ProfitCenter _ProfitCenter
_PurReqValuationArea _PurReqValuationArea
_Segment _Segment
_Supplier _Supplier
_Material _Material
AlternativeGLAccountIsUsed AlternativeGLAccountIsUsed

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 C_RU_FinancialStatementItemC.
-- 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: CRUFINSTMNTITEMC
-- Parameters: P_FinancialStatementHierarchy : hryid, P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_FiscalYear : srf_report_year, P_PreviousFiscalYear : srf_report_year, P_AlternativeGLAccountIsUsed : char1, P_Language : sylangu, P_Ledger : fins_ledger

CREATE VIEW C_RU_FinancialStatementItemC AS
SELECT
  FinancialStatementHierarchy,
  HierarchyNode,
  ValidityEndDate,
  P_RU_FinancialStatementItem.CompanyCode AS CompanyCode,
  FiscalYear,
  InvoiceYear,
  AccountingDocument,
  HierarchyParentNode,
  FinancialStatementLeafItem,
  NodeType,
  FinStatementHierarchyNodeValue,
  FunctionalAreaIsUsed,
  DebitCreditCode,
  ChartOfAccounts,
  RealGLAccount AS GLAccount,
  AlternativeGLAccount,
  Currency,
  PeriodBalAmtInDspCrcy,
  DebitAmountInDisplayCrcy,
  CreditAmountInDisplayCrcy,
  YearlyBalAmtInDspCrcy,
  StartingBalAmtInDspCrcy,
  EndingBalAmtInDspCrcy,
  ControllingArea,
  Segment,
  ProfitCenter,
  CostCenter,
  BusinessArea,
  Supplier,
  Customer,
  AccountingDocumentType,
  FiscalPeriod,
  MasterFixedAsset,
  FixedAsset,
  AssetClass,
  AssignmentReference,
  Plant,
  InventoryValuationType,
  ValuationArea,
  Product,
  FunctionalArea,
  FinancialStatementExplanation,
  Material,
  LedgerGLLineItem,
  HierarchyNodeText,
  AlternativeGLAccountIsUsed
FROM P_RU_FinancialStatementItem
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND ( ( GLAccount = _GLAccountInChartOfAccounts.GLAccount AND P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed <> '1' ) OR ( AlternativeGLAccount = _GLAccountInChartOfAccounts.GLAccount AND P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed = '1' ) )  -- association [0..1]
;