I_BudgetAccountInChtAccts

DDL: I_BUDGETACCOUNTINCHTACCTS SQL: IPSMS4CBDACCTCOA Type: view BASIC

Budget Account in Chart of Accounts

I_BudgetAccountInChtAccts (Basic)

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

Cross Applications

I_BudgetAccountInChtAccts is a Basic CDS View (Dimension) that provides data about "Budget Account in Chart of Accounts" in SAP S/4HANA. It reads from 1 data source (I_GLAccountForPublicSector) and exposes 19 fields with key fields ChartOfAccounts, PubSecBudgetAccount. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentPSM-FM-MD
CapabilitiesAnalytical Dimension
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAccountForPublicSector GLAcctX from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_BudgetAccountHierarchyNode _BudgetAccountHierarchyNode $projection.ChartOfAccounts = _BudgetAccountHierarchyNode.ChartOfAccounts and $projection.PubSecBudgetAccount = _BudgetAccountHierarchyNode.PubSecBudgetAccount
[0..*] I_BudgetAccountText _BudgetAccountText $projection.ChartOfAccounts = _BudgetAccountText.ChartOfAccounts and $projection.PubSecBudgetAccount = _BudgetAccountText.PubSecBudgetAccount

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IPSMS4CBDACCTCOA view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Budget Account in Chart of Accounts view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.representativeKey PubSecBudgetAccount view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAccountForPublicSector ChartOfAccounts Chart of Accounts
KEY PubSecBudgetAccount Budget Account
PubSecBudgetCnsmpnType I_GLAccountForPublicSector PubSecBudgetCnsmpnType Budget Consumption Type
PubSecBdgtAcctRevnExpnCode I_GLAccountForPublicSector PubSecBdgtAcctRevnExpnCode Expense or Revenue on Budget Account
PubSecBudgetIsRelevant I_GLAccountForPublicSector PubSecBudgetIsRelevant Budget-Relevant Indicator
PubSecBdgtAcctIsPostgAllowed I_GLAccountForPublicSector PubSecBdgtAcctIsPostgAllowed Posting to Budget Account Allowed
PubSecBdgtAcctIsBdgtAllowed I_GLAccountForPublicSector PubSecBdgtAcctIsBdgtAllowed Budgeting Allowed for Budget Account
PubSecBdgtAcctIsCarryFwd I_GLAccountForPublicSector PubSecBdgtAcctIsCarryFwd Use Budget Account as Carryforward Account
PubSecBdgtAcctCarryFwdTo I_GLAccountForPublicSector PubSecBdgtAcctCarryFwdTo Carry Forward Budget Account To Account
CashLedgerAccount I_GLAccountForPublicSector CashLedgerAccount Cash Origin Account
_PubSecBdgtCnsmpnType I_GLAccountForPublicSector _PubSecBdgtCnsmpnType
_PubSecBdgtAcctRevnExpnCode I_GLAccountForPublicSector _PubSecBdgtAcctRevnExpnCode
_PubSecBdgtAcctCarryFwdTo I_GLAccountForPublicSector _PubSecBdgtAcctCarryFwdTo
_CarryForwardBudgetAccount I_GLAccountForPublicSector _CarryForwardBudgetAccount
_CashLedgerAccount I_GLAccountForPublicSector _CashLedgerAccount
_ChartOfAccounts I_GLAccountForPublicSector _ChartOfAccounts
_Text I_GLAccountForPublicSector _Text
_BudgetAccountText _BudgetAccountText
_BudgetAccountHierarchyNode _BudgetAccountHierarchyNode

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_BudgetAccountInChtAccts.
-- 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: IPSMS4CBDACCTCOA

CREATE VIEW I_BudgetAccountInChtAccts AS
SELECT
  GLAcctX.ChartOfAccounts AS ChartOfAccounts,
  cast( GLAcctX.GLAccount as psm_bdgt_account preserving type ) AS PubSecBudgetAccount,
  GLAcctX.PubSecBudgetCnsmpnType AS PubSecBudgetCnsmpnType,
  GLAcctX.PubSecBdgtAcctRevnExpnCode AS PubSecBdgtAcctRevnExpnCode,
  GLAcctX.PubSecBudgetIsRelevant AS PubSecBudgetIsRelevant,
  GLAcctX.PubSecBdgtAcctIsPostgAllowed AS PubSecBdgtAcctIsPostgAllowed,
  GLAcctX.PubSecBdgtAcctIsBdgtAllowed AS PubSecBdgtAcctIsBdgtAllowed,
  GLAcctX.PubSecBdgtAcctIsCarryFwd AS PubSecBdgtAcctIsCarryFwd,
  GLAcctX.PubSecBdgtAcctCarryFwdTo AS PubSecBdgtAcctCarryFwdTo,
  GLAcctX.CashLedgerAccount AS CashLedgerAccount,
  GLAcctX._PubSecBdgtCnsmpnType AS _PubSecBdgtCnsmpnType,
  GLAcctX._PubSecBdgtAcctRevnExpnCode AS _PubSecBdgtAcctRevnExpnCode,
  GLAcctX._PubSecBdgtAcctCarryFwdTo AS _PubSecBdgtAcctCarryFwdTo,
  GLAcctX._CarryForwardBudgetAccount AS _CarryForwardBudgetAccount,
  GLAcctX._CashLedgerAccount AS _CashLedgerAccount,
  GLAcctX._ChartOfAccounts AS _ChartOfAccounts,
  GLAcctX._Text AS _Text
FROM I_GLAccountForPublicSector AS GLAcctX
LEFT OUTER JOIN I_BudgetAccountHierarchyNode AS _BudgetAccountHierarchyNode ON ChartOfAccounts = _BudgetAccountHierarchyNode.ChartOfAccounts AND PubSecBudgetAccount = _BudgetAccountHierarchyNode.PubSecBudgetAccount  -- association [0..*]
LEFT OUTER JOIN I_BudgetAccountText AS _BudgetAccountText ON ChartOfAccounts = _BudgetAccountText.ChartOfAccounts AND PubSecBudgetAccount = _BudgetAccountText.PubSecBudgetAccount  -- association [0..*]
;