I_ActiveGLAcctInCOAListItem

DDL: I_ACTIVEGLACCTINCOALISTITEM SQL: IFIGLCOALIST Type: view COMPOSITE

active GL in COA with draft information

I_ActiveGLAcctInCOAListItem is a Composite CDS View that provides data about "active GL in COA with draft information" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountInChartOfAccounts, I_DraftAdministrativeData) and exposes 56 fields with key fields ChartOfAccounts, GLAccount. It has 20 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_GLAccountInChartOfAccounts ActiveDocument from
I_DraftAdministrativeData DraftAdmin left_outer

Associations (20)

CardinalityTargetAliasCondition
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..*] I_GLAcctInDefaultLanguageText _Text $projection.ChartOfAccounts = _Text.ChartOfAccounts and $projection.GLAccount = _Text.GLAccount
[0..*] I_GLAcctInDefaultLanguageText _BankRecnclnText $projection.ChartOfAccounts = _BankRecnclnText.ChartOfAccounts and $projection.BankReconciliationAccount = _BankRecnclnText.GLAccount
[1..1] I_User _User $projection.CreatedByUser = _User.UserID
[0..1] I_GLAccountType _Glaccounttype $projection.GLAccountType = _Glaccounttype.GLAccountType
[0..1] I_GLAccountSubtype _GLAccountSubtype $projection.GLAccountSubtype = _GLAccountSubtype.GLAccountSubtype
[0..1] I_BankRecnclnAccount _BankRecnclnAcct $projection.ChartOfAccounts = _BankRecnclnAcct.ChartOfAccounts and $projection.BankReconciliationAccount = _BankRecnclnAcct.BankReconciliationAccount
[0..1] I_RetainedEarningsGLAccount _RetainedEarningsGLAccount $projection.ChartOfAccounts = _RetainedEarningsGLAccount.ChartOfAccounts and $projection.ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType
[0..1] I_GLAccountGroup _Glaccountgroup $projection.GLAccountGroup = _Glaccountgroup.GLAccountGroup and $projection.ChartOfAccounts = _Glaccountgroup.ChartOfAccounts
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang $projection.ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts and $projection.GLAccount = _GLAcctTxtInMaintLang.GLAccount
[0..1] I_GLAcctTxtInMaintLang _BankRecnclnMaintLang $projection.ChartOfAccounts = _BankRecnclnMaintLang.ChartOfAccounts and $projection.BankReconciliationAccount = _BankRecnclnMaintLang.GLAccount
[0..1] I_ProfitLossAccountType_Vh _ProfitLossAccountType_Vh $projection.ChartOfAccounts = _ProfitLossAccountType_Vh.ChartOfAccounts and $projection.ProfitLossAccountType = _ProfitLossAccountType_Vh.ProfitLossAccountType
[0..1] I_GLAccountInChartOfAccounts _CorporateGroupAccount $projection.ChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts and $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount
[0..1] I_GLAccountInChartOfAccounts _PubSecBdgtAcctCarryFwdTo $projection.ChartOfAccounts = _PubSecBdgtAcctCarryFwdTo.ChartOfAccounts and $projection.pubsecbdgtacctcarryfwdto = _PubSecBdgtAcctCarryFwdTo.GLAccount
[0..1] I_GLAccountInChartOfAccounts _CashLedgerAccount $projection.ChartOfAccounts = _CashLedgerAccount.ChartOfAccounts and $projection.cashledgeraccount = _CashLedgerAccount.GLAccount
[0..*] I_PubSecBdgtCnsmpnTypeText _BudgetCnsmpnTypeText $projection.pubsecbudgetcnsmpntype = _BudgetCnsmpnTypeText.PubSecBudgetCnsmpnType
[0..*] I_PubSecBdgtAcctRevnExpnText _BdgtAcctRevnExpnText $projection.pubsecbdgtacctrevnexpncode = _BdgtAcctRevnExpnText.PubSecBdgtAcctRevnExpnCode
[0..*] I_GLAcctInDefaultLanguageText _CashLedgerAccountText $projection.ChartOfAccounts = _CashLedgerAccountText.ChartOfAccounts and $projection.cashledgeraccount = _CashLedgerAccountText.GLAccount
[0..*] I_GLAcctInDefaultLanguageText _BdgtAcctCarryFwdToText $projection.ChartOfAccounts = _BdgtAcctCarryFwdToText.ChartOfAccounts and $projection.pubsecbdgtacctcarryfwdto = _BdgtAcctCarryFwdToText.GLAccount

Annotations (10)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label active GL in COA with draft information view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IFIGLCOALIST view
ObjectModel.representativeKey GLAccount view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAccountInChartOfAccounts ChartOfAccounts Node Class
KEY GLAccount I_GLAccountInChartOfAccounts GLAccount General Ledger
GLAccountExternal I_GLAccountInChartOfAccounts GLAccountExternal G/L Acct External ID
IsBalanceSheetAccount I_GLAccountInChartOfAccounts IsBalanceSheetAccount Is Balance Sheet Account
GLAccountGroup I_GLAccountInChartOfAccounts GLAccountGroup Account Group
CorporateGroupAccount I_GLAccountInChartOfAccounts CorporateGroupAccount Group Account Number
ProfitLossAccountType I_GLAccountInChartOfAccounts ProfitLossAccountType Profit Loss Account Type
SampleGLAccount I_GLAccountInChartOfAccounts SampleGLAccount Sample Account
AccountIsMarkedForDeletion I_GLAccountInChartOfAccounts AccountIsMarkedForDeletion Deletion Flag
AccountIsBlockedForCreation I_GLAccountInChartOfAccounts AccountIsBlockedForCreation Creation Block
AccountIsBlockedForPosting I_GLAccountInChartOfAccounts AccountIsBlockedForPosting Posting Block
AccountIsBlockedForPlanning I_GLAccountInChartOfAccounts AccountIsBlockedForPlanning Planning Block
PartnerCompany I_GLAccountInChartOfAccounts PartnerCompany Trading Partner
FunctionalArea I_GLAccountInChartOfAccounts FunctionalArea Sendr Fctl Area
CreationDate I_GLAccountInChartOfAccounts CreationDate Time Stamp
CreatedByUser I_GLAccountInChartOfAccounts CreatedByUser User Name
GLAccountType I_GLAccountInChartOfAccounts GLAccountType G/L Account Type
GLAccountSubtype I_GLAccountInChartOfAccounts GLAccountSubtype G/L Account Subtype
BankReconciliationAccount I_GLAccountInChartOfAccounts BankReconciliationAccount Reconciliation Acct
IsProfitLossAccount I_GLAccountInChartOfAccounts IsProfitLossAccount
PubSecBudgetCnsmpnType
PubSecBdgtAcctRevnExpnCode
PubSecBudgetIsRelevant
PubSecBdgtAcctIsPostgAllowed
PubSecBdgtAcctIsBdgtAllowed
PubSecBdgtAcctIsCarryFwd
PubSecBdgtAcctCarryFwdTo
CashLedgerAccount
SponsoredClass
_PubSecBdgtCnsmpnType
_PubSecBdgtAcctRevnExpnCode
CorporateGroupChartOfAccounts _ChartOfAccounts CorporateGroupChartOfAccounts Group ChtAccts
DraftIsProcessedByMe I_DraftAdministrativeData DraftIsProcessedByMe
InProcessByUser I_DraftAdministrativeData InProcessByUser Draft In Process By
InProcessByUserDescription I_DraftAdministrativeData InProcessByUserDescription
LastChangeDateTime I_GLAccountInChartOfAccounts LastChangeDateTime Timestamp
_ChartOfAccounts _ChartOfAccounts
_Text _Text
_BankRecnclnText _BankRecnclnText
_Glaccountgroup _Glaccountgroup
_FunctionalArea _FunctionalArea
_User _User
_Glaccounttype _Glaccounttype
_GLAccountSubtype _GLAccountSubtype
_BankRecnclnAcct _BankRecnclnAcct
_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang
_BankRecnclnMaintLang _BankRecnclnMaintLang
_ProfitLossAccountType_Vh _ProfitLossAccountType_Vh
_CorporateGroupAccount _CorporateGroupAccount
_RetainedEarningsGLAccount _RetainedEarningsGLAccount
_PubSecBdgtAcctCarryFwdTo _PubSecBdgtAcctCarryFwdTo
_CashLedgerAccount _CashLedgerAccount
_BudgetCnsmpnTypeText _BudgetCnsmpnTypeText
_BdgtAcctRevnExpnText _BdgtAcctRevnExpnText
_CashLedgerAccountText _CashLedgerAccountText
_BdgtAcctCarryFwdToText _BdgtAcctCarryFwdToText

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_ActiveGLAcctInCOAListItem.
-- 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: IFIGLCOALIST

CREATE VIEW I_ActiveGLAcctInCOAListItem AS
SELECT
  ActiveDocument.ChartOfAccounts AS ChartOfAccounts,
  ActiveDocument.GLAccount AS GLAccount,
  ActiveDocument.GLAccountExternal AS GLAccountExternal,
  ActiveDocument.IsBalanceSheetAccount AS IsBalanceSheetAccount,
  ActiveDocument.GLAccountGroup AS GLAccountGroup,
  ActiveDocument.CorporateGroupAccount AS CorporateGroupAccount,
  ActiveDocument.ProfitLossAccountType AS ProfitLossAccountType,
  ActiveDocument.SampleGLAccount AS SampleGLAccount,
  ActiveDocument.AccountIsMarkedForDeletion AS AccountIsMarkedForDeletion,
  ActiveDocument.AccountIsBlockedForCreation AS AccountIsBlockedForCreation,
  ActiveDocument.AccountIsBlockedForPosting AS AccountIsBlockedForPosting,
  ActiveDocument.AccountIsBlockedForPlanning AS AccountIsBlockedForPlanning,
  ActiveDocument.PartnerCompany AS PartnerCompany,
  ActiveDocument.FunctionalArea AS FunctionalArea,
  ActiveDocument.CreationDate AS CreationDate,
  ActiveDocument.CreatedByUser AS CreatedByUser,
  ActiveDocument.GLAccountType AS GLAccountType,
  ActiveDocument.GLAccountSubtype AS GLAccountSubtype,
  ActiveDocument.BankReconciliationAccount AS BankReconciliationAccount,
  ActiveDocument.IsProfitLossAccount AS IsProfitLossAccount,
  ActiveDocument._PublicSector.PubSecBudgetCnsmpnType AS PubSecBudgetCnsmpnType,
  ActiveDocument._PublicSector.PubSecBdgtAcctRevnExpnCode AS PubSecBdgtAcctRevnExpnCode,
  ActiveDocument._PublicSector.PubSecBudgetIsRelevant AS PubSecBudgetIsRelevant,
  ActiveDocument._PublicSector.PubSecBdgtAcctIsPostgAllowed AS PubSecBdgtAcctIsPostgAllowed,
  ActiveDocument._PublicSector.PubSecBdgtAcctIsBdgtAllowed AS PubSecBdgtAcctIsBdgtAllowed,
  ActiveDocument._PublicSector.PubSecBdgtAcctIsCarryFwd AS PubSecBdgtAcctIsCarryFwd,
  ActiveDocument._PublicSector.PubSecBdgtAcctCarryFwdTo AS PubSecBdgtAcctCarryFwdTo,
  ActiveDocument._PublicSector.CashLedgerAccount AS CashLedgerAccount,
  ActiveDocument._PublicSector.SponsoredClass AS SponsoredClass,
  ActiveDocument._PublicSector._PubSecBdgtCnsmpnType AS _PubSecBdgtCnsmpnType,
  ActiveDocument._PublicSector._PubSecBdgtAcctRevnExpnCode AS _PubSecBdgtAcctRevnExpnCode,
  _ChartOfAccounts.CorporateGroupChartOfAccounts AS CorporateGroupChartOfAccounts,
  DraftAdmin.DraftIsProcessedByMe AS DraftIsProcessedByMe,
  DraftAdmin.InProcessByUser AS InProcessByUser,
  DraftAdmin.InProcessByUserDescription AS InProcessByUserDescription,
  ActiveDocument.LastChangeDateTime AS LastChangeDateTime
FROM I_GLAccountInChartOfAccounts AS ActiveDocument
LEFT OUTER JOIN I_DraftAdministrativeData AS DraftAdmin ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAcctInDefaultLanguageText AS _Text ON ChartOfAccounts = _Text.ChartOfAccounts AND GLAccount = _Text.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAcctInDefaultLanguageText AS _BankRecnclnText ON ChartOfAccounts = _BankRecnclnText.ChartOfAccounts AND BankReconciliationAccount = _BankRecnclnText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID  -- association [1..1]
LEFT OUTER JOIN I_GLAccountType AS _Glaccounttype ON GLAccountType = _Glaccounttype.GLAccountType  -- association [0..1]
LEFT OUTER JOIN I_GLAccountSubtype AS _GLAccountSubtype ON GLAccountSubtype = _GLAccountSubtype.GLAccountSubtype  -- association [0..1]
LEFT OUTER JOIN I_BankRecnclnAccount AS _BankRecnclnAcct ON ChartOfAccounts = _BankRecnclnAcct.ChartOfAccounts AND BankReconciliationAccount = _BankRecnclnAcct.BankReconciliationAccount  -- association [0..1]
LEFT OUTER JOIN I_RetainedEarningsGLAccount AS _RetainedEarningsGLAccount ON ChartOfAccounts = _RetainedEarningsGLAccount.ChartOfAccounts AND ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType  -- association [0..1]
LEFT OUTER JOIN I_GLAccountGroup AS _Glaccountgroup ON GLAccountGroup = _Glaccountgroup.GLAccountGroup AND ChartOfAccounts = _Glaccountgroup.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_GLAcctTxtInMaintLang AS _GLAcctTxtInMaintLang ON ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts AND GLAccount = _GLAcctTxtInMaintLang.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAcctTxtInMaintLang AS _BankRecnclnMaintLang ON ChartOfAccounts = _BankRecnclnMaintLang.ChartOfAccounts AND BankReconciliationAccount = _BankRecnclnMaintLang.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ProfitLossAccountType_Vh AS _ProfitLossAccountType_Vh ON ChartOfAccounts = _ProfitLossAccountType_Vh.ChartOfAccounts AND ProfitLossAccountType = _ProfitLossAccountType_Vh.ProfitLossAccountType  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _CorporateGroupAccount ON ChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts AND CorporateGroupAccount = _CorporateGroupAccount.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _PubSecBdgtAcctCarryFwdTo ON ChartOfAccounts = _PubSecBdgtAcctCarryFwdTo.ChartOfAccounts AND pubsecbdgtacctcarryfwdto = _PubSecBdgtAcctCarryFwdTo.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _CashLedgerAccount ON ChartOfAccounts = _CashLedgerAccount.ChartOfAccounts AND cashledgeraccount = _CashLedgerAccount.GLAccount  -- association [0..1]
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_GLAcctInDefaultLanguageText AS _CashLedgerAccountText ON ChartOfAccounts = _CashLedgerAccountText.ChartOfAccounts AND cashledgeraccount = _CashLedgerAccountText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAcctInDefaultLanguageText AS _BdgtAcctCarryFwdToText ON ChartOfAccounts = _BdgtAcctCarryFwdToText.ChartOfAccounts AND pubsecbdgtacctcarryfwdto = _BdgtAcctCarryFwdToText.GLAccount  -- association [0..*]
;