I_GLAcctInChtAcctsTP

DDL: I_GLACCTINCHTACCTSTP SQL: IGLACOATP Type: view TRANSACTIONAL

G/L Account in ChtAccts (Draft 2.0)

I_GLAcctInChtAcctsTP is a Transactional CDS View that provides data about "G/L Account in ChtAccts (Draft 2.0)" in SAP S/4HANA. It reads from 1 data source (I_GLAccountInChartOfAccounts) and exposes 46 fields with key fields ChartOfAccounts, GLAccount. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountInChartOfAccounts I_GLAccountInChartOfAccounts from

Associations (17)

CardinalityTargetAliasCondition
[0..*] I_GLAcctTextTP _Text $projection.ChartOfAccounts = _Text.ChartOfAccounts and $projection.GLAccount = _Text.GLAccount
[0..*] I_GLAcctInCoCodeTP _GLAcctInCoCodeTP $projection.ChartOfAccounts = _GLAcctInCoCodeTP.ChartOfAccounts and $projection.GLAccount = _GLAcctInCoCodeTP.GLAccount
[0..*] I_CostElementTP _CostElementTP $projection.ChartOfAccounts = _CostElementTP.ChartOfAccounts and $projection.GLAccount = _CostElementTP.GLAccount
[0..1] I_GLAccountForPublicSectorTP _PublicSectorTP $projection.ChartOfAccounts = _PublicSectorTP.ChartOfAccounts and $projection.GLAccount = _PublicSectorTP.GLAccount
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccountsForEdit = _ChartOfAccounts.ChartOfAccounts
[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.ChartOfAccountsForEdit = _BankRecnclnAcct.ChartOfAccounts and $projection.BankReconciliationAccount = _BankRecnclnAcct.BankReconciliationAccount
[1..1] I_Globalcompany _Globalcompany $projection.PartnerCompany = _Globalcompany.Company
[0..1] I_GLAccountGroup _Glaccountgroup $projection.GLAccountGroup = _Glaccountgroup.GLAccountGroup and $projection.ChartOfAccountsForEdit = _Glaccountgroup.ChartOfAccounts
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_GLAccountInChartOfAccounts _CorporateGroupAccount $projection.corporategroupchartofaccounts = _CorporateGroupAccount.ChartOfAccounts and $projection.CorporateGroupAccount = _CorporateGroupAccount.GLAccount
[0..1] I_ProfitLossAccountType_Vh _ProfitLossAccountType_Vh $projection.ChartOfAccountsForEdit = _ProfitLossAccountType_Vh.ChartOfAccounts and $projection.ProfitLossAccountType = _ProfitLossAccountType_Vh.ProfitLossAccountType
[0..1] I_ChartOfAccounts _CorpGroupChartOfAccounts $projection.corporategroupchartofaccounts = _CorpGroupChartOfAccounts.ChartOfAccounts
[0..1] I_GLAcctInDefaultLanguageText _GLAcctTxtInMaintLang $projection.ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts and $projection.GLAccount = _GLAcctTxtInMaintLang.GLAccount and $projection.MaintenanceLanguage = _GLAcctTxtInMaintLang.Language
[0..1] I_RetainedEarningsGLAccount _RetainedEarningsGLAccount $projection.ChartOfAccountsForEdit = _RetainedEarningsGLAccount.ChartOfAccounts and $projection.ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType

Annotations (16)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IGLACOATP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label G/L Account in ChtAccts (Draft 2.0) view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeDraftPersistence SKA1_DRAFT_20 view
ObjectModel.draftEnabled true view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Search.searchable true view
VDM.viewType #TRANSACTIONAL view

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAccountInChartOfAccounts ChartOfAccounts Node Class
KEY GLAccount GLAccount General Ledger
ChartOfAccountsForEdit I_GLAccountInChartOfAccounts ChartOfAccounts Node Class
GLAccountForEdit GLAccount General Ledger
IsBalanceSheetAccount IsBalanceSheetAccount Is Balance Sheet Account
GLAccountGroup GLAccountGroup Account Group
CorporateGroupAccount CorporateGroupAccount Group Account Number
ProfitLossAccountType ProfitLossAccountType Profit Loss Account Type
SampleGLAccount SampleGLAccount Sample Account
AccountIsMarkedForDeletion AccountIsMarkedForDeletion Deletion Flag
AccountIsBlockedForCreation AccountIsBlockedForCreation Creation Block
AccountIsBlockedForPosting AccountIsBlockedForPosting Posting Block
AccountIsBlockedForPlanning AccountIsBlockedForPlanning Planning Block
PartnerCompany PartnerCompany Trading Partner
FunctionalArea FunctionalArea Sendr Fctl Area
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
GLAccountType GLAccountType G/L Account Type
GLAccountSubtype GLAccountSubtype G/L Account Subtype
BankReconciliationAccount BankReconciliationAccount Reconciliation Acct
GLAccountExternal GLAccountExternal G/L Acct External ID
GLAccountIsNotProdnRelevant _GLAcctInChartOfAcctsProdn GLAccountIsNotProdnRelevant G/L Account Not Used
MaintenanceLanguage chtaccts MaintenanceLanguage Maint. Language
DraftReferenceChartOfAccounts
DraftReferenceGLAccount
GLAccountName _GLAcctTxtInMaintLang GLAccountName Short Text
GLAccountLongName _GLAcctTxtInMaintLang GLAccountLongName Long Text
CorporateGroupChartOfAccounts _ChartOfAccounts CorporateGroupChartOfAccounts Group ChtAccts
sakanendasCorporateGroupAccountExternal Group Account Number
_ChartOfAccounts _ChartOfAccounts
_CorporateGroupAccount _CorporateGroupAccount
_FunctionalArea _FunctionalArea
_Glaccountgroup _Glaccountgroup
_Glaccounttype _Glaccounttype
_GLAccountSubtype _GLAccountSubtype
_BankRecnclnAcct _BankRecnclnAcct
_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang
_Globalcompany _Globalcompany
_ProfitLossAccountType_Vh _ProfitLossAccountType_Vh
_RetainedEarningsGLAccount _RetainedEarningsGLAccount
_CorpGroupChartOfAccounts _CorpGroupChartOfAccounts
_User _User
_GLAcctInCoCodeTP _GLAcctInCoCodeTP
_CostElementTP _CostElementTP
_PublicSectorTP _PublicSectorTP
_Text _Text

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_GLAcctInChtAcctsTP.
-- 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: IGLACOATP

CREATE VIEW I_GLAcctInChtAcctsTP AS
SELECT
  I_GLAccountInChartOfAccounts.ChartOfAccounts AS ChartOfAccounts,
  GLAccount,
  I_GLAccountInChartOfAccounts.ChartOfAccounts AS ChartOfAccountsForEdit,
  GLAccount AS GLAccountForEdit,
  IsBalanceSheetAccount,
  GLAccountGroup,
  CorporateGroupAccount,
  ProfitLossAccountType,
  SampleGLAccount,
  AccountIsMarkedForDeletion,
  AccountIsBlockedForCreation,
  AccountIsBlockedForPosting,
  AccountIsBlockedForPlanning,
  PartnerCompany,
  FunctionalArea,
  CreationDate,
  CreatedByUser,
  GLAccountType,
  GLAccountSubtype,
  BankReconciliationAccount,
  GLAccountExternal,
  _GLAcctInChartOfAcctsProdn.GLAccountIsNotProdnRelevant AS GLAccountIsNotProdnRelevant,
  chtaccts.MaintenanceLanguage AS MaintenanceLanguage,
  cast ('' as ktopl) AS DraftReferenceChartOfAccounts,
  cast ('' as saknr) AS DraftReferenceGLAccount,
  _GLAcctTxtInMaintLang.GLAccountName AS GLAccountName,
  _GLAcctTxtInMaintLang.GLAccountLongName AS GLAccountLongName,
  _ChartOfAccounts.CorporateGroupChartOfAccounts AS CorporateGroupChartOfAccounts,
  case when CorporateGroupAccount is not null and _GroupAccount.sakan is null then cast ( CorporateGroupAccount as sakan ) else _GroupAccount.sakan end as CorporateGroupAccountExternal AS sakanendasCorporateGroupAccountExternal
FROM I_GLAccountInChartOfAccounts
LEFT OUTER JOIN I_GLAcctTextTP AS _Text ON ChartOfAccounts = _Text.ChartOfAccounts AND GLAccount = _Text.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAcctInCoCodeTP AS _GLAcctInCoCodeTP ON ChartOfAccounts = _GLAcctInCoCodeTP.ChartOfAccounts AND GLAccount = _GLAcctInCoCodeTP.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_CostElementTP AS _CostElementTP ON ChartOfAccounts = _CostElementTP.ChartOfAccounts AND GLAccount = _CostElementTP.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_GLAccountForPublicSectorTP AS _PublicSectorTP ON ChartOfAccounts = _PublicSectorTP.ChartOfAccounts AND GLAccount = _PublicSectorTP.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccountsForEdit = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID  -- association [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 ChartOfAccountsForEdit = _BankRecnclnAcct.ChartOfAccounts AND BankReconciliationAccount = _BankRecnclnAcct.BankReconciliationAccount  -- association [0..1]
LEFT OUTER JOIN I_Globalcompany AS _Globalcompany ON PartnerCompany = _Globalcompany.Company  -- association [1..1]
LEFT OUTER JOIN I_GLAccountGroup AS _Glaccountgroup ON GLAccountGroup = _Glaccountgroup.GLAccountGroup AND ChartOfAccountsForEdit = _Glaccountgroup.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _CorporateGroupAccount ON corporategroupchartofaccounts = _CorporateGroupAccount.ChartOfAccounts AND CorporateGroupAccount = _CorporateGroupAccount.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ProfitLossAccountType_Vh AS _ProfitLossAccountType_Vh ON ChartOfAccountsForEdit = _ProfitLossAccountType_Vh.ChartOfAccounts AND ProfitLossAccountType = _ProfitLossAccountType_Vh.ProfitLossAccountType  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _CorpGroupChartOfAccounts ON corporategroupchartofaccounts = _CorpGroupChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAcctInDefaultLanguageText AS _GLAcctTxtInMaintLang ON ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts AND GLAccount = _GLAcctTxtInMaintLang.GLAccount AND MaintenanceLanguage = _GLAcctTxtInMaintLang.Language  -- association [0..1]
LEFT OUTER JOIN I_RetainedEarningsGLAccount AS _RetainedEarningsGLAccount ON ChartOfAccountsForEdit = _RetainedEarningsGLAccount.ChartOfAccounts AND ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType  -- association [0..1]
;