I_GLAccountForPublicSectorTP

DDL: I_GLACCOUNTFORPUBLICSECTORTP Type: view_entity TRANSACTIONAL Package: ODATA_MANAGE_GLACCOUNT

FM Settings for GL Accounts

I_GLAccountForPublicSectorTP is a Transactional CDS View that provides data about "FM Settings for GL Accounts" in SAP S/4HANA. It reads from 1 data source (I_GLAccountForPublicSector) and exposes 24 fields with key fields ChartOfAccounts, GLAccount. It has 5 associations to related views. Part of development package ODATA_MANAGE_GLACCOUNT.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountForPublicSector _PublicSector from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_PubSecBdgtCnsmpnTypeText _BudgetCnsmpnTypeText $projection.PubSecBudgetCnsmpnType = _BudgetCnsmpnTypeText.PubSecBudgetCnsmpnType
[0..*] I_PubSecBdgtAcctRevnExpnText _BdgtAcctRevnExpnText $projection.PubSecBdgtAcctRevnExpnCode = _BdgtAcctRevnExpnText.PubSecBdgtAcctRevnExpnCode
[0..*] I_GLAccountText _CashLedgerAccountText $projection.ChartOfAccounts = _CashLedgerAccountText.ChartOfAccounts and $projection.CashLedgerAccount = _CashLedgerAccountText.GLAccount
[0..*] I_GLAccountText _BdgtAcctCarryFwdToText $projection.ChartOfAccounts = _BdgtAcctCarryFwdToText.ChartOfAccounts and $projection.PubSecBdgtAcctCarryFwdTo = _BdgtAcctCarryFwdToText.GLAccount
[1..1] I_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP $projection.ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts and $projection.GLAccount = _GLAcctInChtAcctsTP.GLAccount

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label FM Settings for GL Accounts view
ObjectModel.writeDraftPersistence GLACTX_DRAFT_20 view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
VDM.viewType #TRANSACTIONAL view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAccountForPublicSector ChartOfAccounts Node Class
KEY GLAccount I_GLAccountForPublicSector GLAccount General Ledger
PubSecBudgetCnsmpnType I_GLAccountForPublicSector PubSecBudgetCnsmpnType Budget Consumption Type
PubSecBdgtAcctRevnExpnCode I_GLAccountForPublicSector PubSecBdgtAcctRevnExpnCode Expense/Revenue
PubSecBudgetIsRelevant I_GLAccountForPublicSector PubSecBudgetIsRelevant Budget-Relevant
PubSecBdgtAcctIsPostgAllowed I_GLAccountForPublicSector PubSecBdgtAcctIsPostgAllowed Posting Allowed
PubSecBdgtAcctIsBdgtAllowed I_GLAccountForPublicSector PubSecBdgtAcctIsBdgtAllowed Budgeting Allowed
PubSecBdgtAcctIsCarryFwd I_GLAccountForPublicSector PubSecBdgtAcctIsCarryFwd Use Budget Account as Carry Forward Acct
PubSecBdgtAcctCarryFwdTo I_GLAccountForPublicSector PubSecBdgtAcctCarryFwdTo Carry Forward to Account
CashLedgerAccount I_GLAccountForPublicSector CashLedgerAccount Cash Origin Account
SponsoredClass I_GLAccountForPublicSector SponsoredClass Sponsored Class
_ChartOfAccounts I_GLAccountForPublicSector _ChartOfAccounts
_GLAccountHierarchyNode I_GLAccountForPublicSector _GLAccountHierarchyNode
_PubSecBdgtCnsmpnType I_GLAccountForPublicSector _PubSecBdgtCnsmpnType
_PubSecBdgtAcctRevnExpnCode I_GLAccountForPublicSector _PubSecBdgtAcctRevnExpnCode
_PubSecBdgtAcctCarryFwdTo I_GLAccountForPublicSector _PubSecBdgtAcctCarryFwdTo
_CarryForwardBudgetAccount I_GLAccountForPublicSector _CarryForwardBudgetAccount
_CashLedgerAccount I_GLAccountForPublicSector _CashLedgerAccount
_Text I_GLAccountForPublicSector _Text
_BudgetCnsmpnTypeText _BudgetCnsmpnTypeText
_BdgtAcctRevnExpnText _BdgtAcctRevnExpnText
_CashLedgerAccountText _CashLedgerAccountText
_BdgtAcctCarryFwdToText _BdgtAcctCarryFwdToText
_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP

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_GLAccountForPublicSectorTP.
-- 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.

CREATE VIEW I_GLAccountForPublicSectorTP AS
SELECT
  _PublicSector.ChartOfAccounts AS ChartOfAccounts,
  _PublicSector.GLAccount AS GLAccount,
  _PublicSector.PubSecBudgetCnsmpnType AS PubSecBudgetCnsmpnType,
  _PublicSector.PubSecBdgtAcctRevnExpnCode AS PubSecBdgtAcctRevnExpnCode,
  _PublicSector.PubSecBudgetIsRelevant AS PubSecBudgetIsRelevant,
  _PublicSector.PubSecBdgtAcctIsPostgAllowed AS PubSecBdgtAcctIsPostgAllowed,
  _PublicSector.PubSecBdgtAcctIsBdgtAllowed AS PubSecBdgtAcctIsBdgtAllowed,
  _PublicSector.PubSecBdgtAcctIsCarryFwd AS PubSecBdgtAcctIsCarryFwd,
  _PublicSector.PubSecBdgtAcctCarryFwdTo AS PubSecBdgtAcctCarryFwdTo,
  _PublicSector.CashLedgerAccount AS CashLedgerAccount,
  _PublicSector.SponsoredClass AS SponsoredClass,
  _PublicSector._ChartOfAccounts AS _ChartOfAccounts,
  _PublicSector._GLAccountHierarchyNode AS _GLAccountHierarchyNode,
  _PublicSector._PubSecBdgtCnsmpnType AS _PubSecBdgtCnsmpnType,
  _PublicSector._PubSecBdgtAcctRevnExpnCode AS _PubSecBdgtAcctRevnExpnCode,
  _PublicSector._PubSecBdgtAcctCarryFwdTo AS _PubSecBdgtAcctCarryFwdTo,
  _PublicSector._CarryForwardBudgetAccount AS _CarryForwardBudgetAccount,
  _PublicSector._CashLedgerAccount AS _CashLedgerAccount,
  _PublicSector._Text AS _Text
FROM I_GLAccountForPublicSector AS _PublicSector
LEFT OUTER JOIN I_PubSecBdgtCnsmpnTypeText AS _BudgetCnsmpnTypeText ON PubSecBudgetCnsmpnType = _BudgetCnsmpnTypeText.PubSecBudgetCnsmpnType  -- association [0..*]
LEFT OUTER JOIN I_PubSecBdgtAcctRevnExpnText AS _BdgtAcctRevnExpnText ON PubSecBdgtAcctRevnExpnCode = _BdgtAcctRevnExpnText.PubSecBdgtAcctRevnExpnCode  -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _CashLedgerAccountText ON ChartOfAccounts = _CashLedgerAccountText.ChartOfAccounts AND CashLedgerAccount = _CashLedgerAccountText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _BdgtAcctCarryFwdToText ON ChartOfAccounts = _BdgtAcctCarryFwdToText.ChartOfAccounts AND PubSecBdgtAcctCarryFwdTo = _BdgtAcctCarryFwdToText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAcctInChtAcctsTP AS _GLAcctInChtAcctsTP ON ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts AND GLAccount = _GLAcctInChtAcctsTP.GLAccount  -- association [1..1]
;