I_FundAcctgBalanceItemC

DDL: I_FUNDACCTGBALANCEITEMC SQL: IFABALANCEITEMC Type: view COMPOSITE Package: ODATA_PSM_S4C_FA_REPORTING

Fund Accounting Balance Item - Cube

I_FundAcctgBalanceItemC (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_FundAcctgBalanceItemC is a Composite CDS View (Cube) that provides data about "Fund Accounting Balance Item - Cube" in SAP S/4HANA. It reads from 4 data sources (I_GLAccountLineItemSemTag, I_GLAccountLineItemSemTag, I_FiscalYearPeriod, I_FiscalYearPeriod) and exposes 134 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 3 associations to related views. Part of development package ODATA_PSM_S4C_FA_REPORTING.

SAP API Hub

CategoryComposite
StateC1
Line of BusinessCross Applications
Application ComponentPSM-FM-IS
CapabilitiesData Provider for Analytical Queries,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (4)

SourceAliasJoin Type
I_GLAccountLineItemSemTag BalItm from
I_GLAccountLineItemSemTag BalItm union_all
I_FiscalYearPeriod I_FiscalYearPeriod inner
I_FiscalYearPeriod I_FiscalYearPeriod inner

Parameters (7)

NameTypeDefault
P_FinancialStatementVersion hryid
P_CompanyCode bukrs
P_Ledger fins_ledger
P_FiscalYear fis_gjahr_no_conv
P_ToFiscalPeriod fis_period_to
P_ComparisonFiscalYear fis_gjahr_cmp_no_conv
P_ToComparisonFiscalPeriod fis_period_to_cmp

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_FundType _FundType $projection.FinancialManagementArea = _FundType.FinancialManagementArea and $projection.fundtype = _FundType.FundType
[0..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[0..1] I_GrantType _GrantType $projection.granttype = _GrantType.GrantType

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IFABALANCEITEMC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Fund Accounting Balance Item - Cube view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (134)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_GLAccountLineItemSemTag Ledger Ledger in General Ledger Accounting
KEY SourceLedger I_GLAccountLineItemSemTag SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItemSemTag CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItemSemTag FiscalYear G/L Fiscal Year
KEY AccountingDocument I_GLAccountLineItemSemTag AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItemSemTag LedgerGLLineItem General Ledger Journal Entry Line Item
KEY GLAccountHierarchy I_GLAccountLineItemSemTag GLAccountHierarchy Financial Statement Version
KEY SemanticTagendendasSemanticTag
KEY ValidityStartDate I_GLAccountLineItemSemTag ValidityStartDate Validity Start Date
KEY ValidityEndDate I_GLAccountLineItemSemTag ValidityEndDate Valid To Date
KEY FiscalPeriod I_FiscalYearPeriod FiscalPeriod Fiscal Period
FiscalYearVariant I_GLAccountLineItemSemTag FiscalYearVariant Fiscal Year Variant
PostingDate PostingDate Posting Date for GR
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
dec232endasAmtInCoCodeCrcyPerFiscalYear
FinancialManagementArea FinancialManagementArea Financial Management Area
FunctionalArea FunctionalArea Sendr Fctl Area
Fund Fund Sender Fund
FundType _Fund FundType Fund Type
GrantID GrantID Sender Grant
GrantType Grant Type
AccountAssignmentType I_GLAccountLineItemSemTag AccountAssignmentType Account Assignment Type
WBSElementExternalID WBSElementExternalID Work Breakdown Structure Element (WBS Element) Edited
CostCenter CostCenter Cost Center
GLAccount GLAccount General Ledger
ProfitCenter ProfitCenter Profit Center
BusinessArea BusinessArea Business Area
Segment Segment Segment for Segmental Reporting
ControllingArea ControllingArea Controlling Area
ValuationArea ValuationArea Valuation Area
FinancialAccountType FinancialAccountType Fin. Account Type
GrantIsNotRelevantGrant _Grant GrantIsNotRelevantGrant Identify the Not Relevant Grant
GrantLifecycleStatus _Grant GrantLifecycleStatus Lifecycle Status
GrantAuthznGrp _Grant GrantAuthznGrp Grants Management: Authorization Groups
GranteeMgmtSponsor _Grant GranteeMgmtSponsor Grant Sponsor
_CostCenter _CostCenter
_ControllingArea _ControllingArea
_WBSElementExternalID _WBSElementExternalID
_Fund _Fund
_FundType _FundType
_Grant _Grant
_Sponsor _Grant _Sponsor
_GrantType _GrantType
_GLAccountInCompanyCode _GLAccountInCompanyCode
AssetClass AssetClass Asset Class
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
Supplier Supplier Supplier
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentType ServiceDocumentType Service Document Type
SalesDocument SalesDocument Sales Document
OrderID OrderID Order ID
Customer Customer Customer Number
AccountingDocumentType AccountingDocumentType Journal Entry Type
_Supplier _Supplier
_ServiceDocument _ServiceDocument
_SalesDocument _SalesDocument
_Order _Order
_Customer _Customer
_CurrentProfitCenter _CurrentProfitCenter
_CurrentCostCenter _CurrentCostCenter
_AccountingDocumentType _AccountingDocumentType
_FinancialManagementArea _FinancialManagementArea
_ProfitCenter _ProfitCenter
_Segment _Segment
Ledger Ledger in General Ledger Accounting
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItemSemTag CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItemSemTag FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem General Ledger Journal Entry Line Item
KEY GLAccountHierarchy GLAccountHierarchy Financial Statement Version
KEY ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidityEndDate Valid To Date
KEY FiscalPeriod I_GLAccountLineItemSemTag FiscalPeriod Fiscal Period
FiscalYearVariant I_GLAccountLineItemSemTag FiscalYearVariant Fiscal Year Variant
PostingDate PostingDate Posting Date for GR
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
dec232endasAmtInCoCodeCrcyPerFiscalYear
FinancialManagementArea FinancialManagementArea Financial Management Area
FunctionalArea FunctionalArea Sendr Fctl Area
Fund Fund Sender Fund
FundType _Fund FundType Fund Type
GrantID GrantID Sender Grant
GrantType Grant Type
AccountAssignmentType I_GLAccountLineItemSemTag AccountAssignmentType Account Assignment Type
WBSElementExternalID WBSElementExternalID Work Breakdown Structure Element (WBS Element) Edited
CostCenter CostCenter Cost Center
GLAccount GLAccount General Ledger
ProfitCenter ProfitCenter Profit Center
BusinessArea BusinessArea Business Area
Segment Segment Segment for Segmental Reporting
ControllingArea ControllingArea Controlling Area
ValuationArea ValuationArea Valuation Area
FinancialAccountType FinancialAccountType Fin. Account Type
GrantIsNotRelevantGrant _Grant GrantIsNotRelevantGrant Identify the Not Relevant Grant
GrantLifecycleStatus _Grant GrantLifecycleStatus Lifecycle Status
GrantAuthznGrp _Grant GrantAuthznGrp Grants Management: Authorization Groups
GranteeMgmtSponsor _Grant GranteeMgmtSponsor Grant Sponsor
_CostCenter _CostCenter
_ControllingArea _ControllingArea
_WBSElementExternalID _WBSElementExternalID
_Fund _Fund
_FundType _FundType
_Grant _Grant
_Sponsor _Grant _Sponsor
_GrantType _GrantType
_GLAccountInCompanyCode _GLAccountInCompanyCode
AssetClass AssetClass Asset Class
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
Supplier Supplier Supplier
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentType ServiceDocumentType Service Document Type
SalesDocument SalesDocument Sales Document
OrderID OrderID Order ID
Customer Customer Customer Number
AccountingDocumentType AccountingDocumentType Journal Entry Type
_Supplier _Supplier
_ServiceDocument _ServiceDocument
_SalesDocument _SalesDocument
_Order _Order
_Customer _Customer
_CurrentProfitCenter _CurrentProfitCenter
_CurrentCostCenter _CurrentCostCenter
_AccountingDocumentType _AccountingDocumentType
_FinancialManagementArea _FinancialManagementArea
_ProfitCenter _ProfitCenter
_Segment _Segment
_FunctionalArea _FunctionalArea

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_FundAcctgBalanceItemC.
-- 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: IFABALANCEITEMC
-- Parameters: P_FinancialStatementVersion : hryid, P_CompanyCode : bukrs, P_Ledger : fins_ledger, P_FiscalYear : fis_gjahr_no_conv, P_ToFiscalPeriod : fis_period_to, P_ComparisonFiscalYear : fis_gjahr_cmp_no_conv, P_ToComparisonFiscalPeriod : fis_period_to_cmp

CREATE VIEW I_FundAcctgBalanceItemC AS
SELECT
  BalItm.Ledger AS Ledger,
  BalItm.SourceLedger AS SourceLedger,
  BalItm.CompanyCode AS CompanyCode,
  BalItm.FiscalYear AS FiscalYear,
  BalItm.AccountingDocument AS AccountingDocument,
  BalItm.LedgerGLLineItem AS LedgerGLLineItem,
  BalItm.GLAccountHierarchy AS GLAccountHierarchy,
  case when BalItm.FiscalYear = $parameters.P_ComparisonFiscalYear then case BalItm.SemanticTag when 'PL_RESULT' then cast ( 'C_CMP_PL' as fins_sem_tag ) when 'FUND_BAL' then cast ( 'C_CMP_FB' as fins_sem_tag ) when 'CSH_CSHEQV' then cast ( 'C_CMP_CEQV' as fins_sem_tag ) else BalItm.SemanticTag end else case BalItm.SemanticTag when 'PL_RESULT' then cast ( 'C_PL' as fins_sem_tag ) else BalItm.SemanticTag end end as SemanticTag AS SemanticTagendendasSemanticTag,
  BalItm.ValidityStartDate AS ValidityStartDate,
  BalItm.ValidityEndDate AS ValidityEndDate,
  I_FiscalYearPeriod.FiscalPeriod AS FiscalPeriod,
  BalItm.FiscalYearVariant AS FiscalYearVariant,
  PostingDate,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  case when ( I_FiscalYearPeriod.FiscalPeriod = $parameters.P_ToFiscalPeriod and I_FiscalYearPeriod.FiscalYear = $parameters.P_FiscalYear ) then AmountInCompanyCodeCurrency else cast( 0 as abap.dec(23,2)) end as AmtInCoCodeCrcyPerFiscalYear AS dec232endasAmtInCoCodeCrcyPerFiscalYear,
  FinancialManagementArea,
  FunctionalArea,
  Fund,
  _Fund.FundType AS FundType,
  GrantID,
  _Grant._GrantType.GrantType AS GrantType,
  BalItm.AccountAssignmentType AS AccountAssignmentType,
  WBSElementExternalID,
  CostCenter,
  GLAccount,
  ProfitCenter,
  BusinessArea,
  Segment,
  ControllingArea,
  ValuationArea,
  FinancialAccountType,
  _Grant.GrantIsNotRelevantGrant AS GrantIsNotRelevantGrant,
  _Grant.GrantLifecycleStatus AS GrantLifecycleStatus,
  _Grant.GrantAuthznGrp AS GrantAuthznGrp,
  _Grant.GranteeMgmtSponsor AS GranteeMgmtSponsor,
  _Grant._Sponsor AS _Sponsor,
  AssetClass,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  Supplier,
  ServiceDocument,
  ServiceDocumentType,
  SalesDocument,
  OrderID,
  Customer,
  AccountingDocumentType
FROM I_GLAccountLineItemSemTag AS BalItm
INNER JOIN I_FiscalYearPeriod ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FundType AS _FundType ON FinancialManagementArea = _FundType.FinancialManagementArea AND fundtype = _FundType.FundType  -- association [0..1]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [0..1]
LEFT OUTER JOIN I_GrantType AS _GrantType ON granttype = _GrantType.GrantType  -- association [0..1]
-- UNION ALL with additional select branch(es): I_GLAccountLineItemSemTag
;