I_GLAcctInCoCode

DDL: I_GLACCTINCOCODE SQL: IGLACOCD Type: view BASIC

General Ledger Account in Company Code

I_GLAcctInCoCode is a Basic CDS View that provides data about "General Ledger Account in Company Code" in SAP S/4HANA. It reads from 1 data source (I_GLAccountInCompanyCode) and exposes 57 fields with key fields GLAccount, CompanyCode. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountInCompanyCode skb1 from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..*] I_GlAccountTextInCompanycode _Text $projection.CompanyCode = _Text.CompanyCode and $projection.GLAccount = _Text.GLAccount
[1..1] I_User _User $projection.CreatedByUser = _User.UserID
[0..1] I_Reconciliationaccttype _Reconciliationaccttype $projection.ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType
[0..1] I_InflationKey _InflationKey $projection.Country = _InflationKey.Country and $projection.GLAcctInflationKey = _InflationKey.GLAcctInflationKey
[0..1] I_JointVentureRecovery _JointVentureRecovery $projection.CompanyCode = _JointVentureRecovery.CompanyCode and $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode
[0..1] I_MultiCurrencyAccounting _MultiCurrencyAccounting $projection.MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode
[0..1] I_FieldStatusGroup _FieldStatusGroup $projection.FieldStatusVariant = _FieldStatusGroup.FieldStatusVariant and $projection.FieldStatusGroup = _FieldStatusGroup.FieldStatusGroup
[0..1] I_FieldStatusVariant _FieldStatusVariant $projection.FieldStatusVariant = _FieldStatusVariant.FieldStatusVariant
[0..1] I_TaxCategory _TaxCategory $projection.CompanyCode = _TaxCategory.CompanyCode and $projection.TaxCategory = _TaxCategory.TaxCategory
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAcctInCoCodeImplementStat _GLAcctInCoCodeStatus $projection.CompanyCode = _GLAcctInCoCodeStatus.CompanyCode and $projection.GLAccount = _GLAcctInCoCodeStatus.GLAccount

Annotations (12)

NameValueLevelField
EndUserText.label General Ledger Account in Company Code view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IGLACOCD view
ObjectModel.entityChangeStateId LastChangeDateTime view
ObjectModel.representativeKey GLAccount view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY GLAccount I_GLAccountInCompanyCode GLAccount General Ledger
KEY CompanyCode I_GLAccountInCompanyCode CompanyCode Receiver Company Code
AuthorizationGroup I_GLAccountInCompanyCode AuthorizationGroup AuthorizGroup
AccountingClerk I_GLAccountInCompanyCode AccountingClerk Clerk Abbrev.
LastInterestCalcRunDate I_GLAccountInCompanyCode LastInterestCalcRunDate Last Int. Calc.
CreationDate I_GLAccountInCompanyCode CreationDate Time Stamp
CreatedByUser I_GLAccountInCompanyCode CreatedByUser User Name
LastChangeDateTime I_GLAccountInCompanyCode LastChangeDateTime Timestamp
PlanningLevel I_GLAccountInCompanyCode PlanningLevel Planning Level
HouseBank I_GLAccountInCompanyCode HouseBank House Bank
HouseBankAccount I_GLAccountInCompanyCode HouseBankAccount House Bank Account
ExchRateDifferencesAccountDetn I_GLAccountInCompanyCode ExchRateDifferencesAccountDetn E/R Diff. Key
ReconciliationAccountType I_GLAccountInCompanyCode ReconciliationAccountType Reconcil. ID
TaxCategory I_GLAccountInCompanyCode TaxCategory Tax Code
InterestCalculationCode I_GLAccountInCompanyCode InterestCalculationCode Interest Indic.
GLAccountCurrency I_GLAccountInCompanyCode GLAccountCurrency Currency
ReconciliationAcctIsChangeable I_GLAccountInCompanyCode ReconciliationAcctIsChangeable Rec.Act Ready
IsManagedExternally I_GLAccountInCompanyCode IsManagedExternally Is Managed Ext.
IsAutomaticallyPosted I_GLAccountInCompanyCode IsAutomaticallyPosted Auto. Posting
LineItemDisplayIsEnabled I_GLAccountInCompanyCode LineItemDisplayIsEnabled Line Items
SupplementIsAllowed I_GLAccountInCompanyCode SupplementIsAllowed Supplement
IsOpenItemManaged I_GLAccountInCompanyCode IsOpenItemManaged Open Item Management
InterestCalculationDate I_GLAccountInCompanyCode InterestCalculationDate Last Key Date
IntrstCalcFrequencyInMonths I_GLAccountInCompanyCode IntrstCalcFrequencyInMonths Int.Calc.Freq.
AcctgDocItmDisplaySequenceRule I_GLAccountInCompanyCode AcctgDocItmDisplaySequenceRule Sort key
AlternativeGLAccount I_GLAccountInCompanyCode AlternativeGLAccount Group Account
JointVentureRecoveryCode I_GLAccountInCompanyCode JointVentureRecoveryCode Recovery Ind.
CommitmentItem I_GLAccountInCompanyCode CommitmentItem Commitment item
TaxCodeIsRequired I_GLAccountInCompanyCode TaxCodeIsRequired Pstg w/o tax allowed
BalanceHasLocalCurrency I_GLAccountInCompanyCode BalanceHasLocalCurrency Balances in LC
ValuationGroup I_GLAccountInCompanyCode ValuationGroup Valuation Group
APARToleranceGroup I_GLAccountInCompanyCode APARToleranceGroup Tolerance Group
AccountIsBlockedForPosting I_GLAccountInCompanyCode AccountIsBlockedForPosting Posting Block
AccountIsMarkedForDeletion I_GLAccountInCompanyCode AccountIsMarkedForDeletion Deletion Flag
ClearingIsLedgerGroupSpecific I_GLAccountInCompanyCode ClearingIsLedgerGroupSpecific OI Mgmt by LedgerGrp
IsCashFlowAccount I_GLAccountInCompanyCode IsCashFlowAccount Rel.Cash Flow
GLAcctInflationKey I_GLAccountInCompanyCode GLAcctInflationKey Inflation key
FieldStatusGroup I_GLAccountInCompanyCode FieldStatusGroup Field Status Grp
MultiCurrencyAccountingCode I_GLAccountInCompanyCode MultiCurrencyAccountingCode MCA Key
IsExtendedOpenItemManaged I_GLAccountInCompanyCode IsExtendedOpenItemManaged Extended OI Mgmt
Country t001 Country Venue: Ctry/Reg
ChartOfAccounts t001 ChartOfAccounts Node Class
ControllingArea t001 ControllingArea Controlling Area
FieldStatusVariant t001 FieldStatusVariant Fld stat.var.
CountryChartOfAccounts t001 CountryChartOfAccounts Chart of Accts
_User _User
_CompanyCode _CompanyCode
_Text _Text
_InflationKey _InflationKey
_Reconciliationaccttype _Reconciliationaccttype
_JointVentureRecovery _JointVentureRecovery
_MultiCurrencyAccounting _MultiCurrencyAccounting
_FieldStatusGroup _FieldStatusGroup
_FieldStatusVariant _FieldStatusVariant
_TaxCategory _TaxCategory
_ChartOfAccounts _ChartOfAccounts
_GLAcctInCoCodeStatus _GLAcctInCoCodeStatus

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_GLAcctInCoCode.
-- 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: IGLACOCD

CREATE VIEW I_GLAcctInCoCode AS
SELECT
  skb1.GLAccount AS GLAccount,
  skb1.CompanyCode AS CompanyCode,
  skb1.AuthorizationGroup AS AuthorizationGroup,
  skb1.AccountingClerk AS AccountingClerk,
  skb1.LastInterestCalcRunDate AS LastInterestCalcRunDate,
  skb1.CreationDate AS CreationDate,
  skb1.CreatedByUser AS CreatedByUser,
  skb1.LastChangeDateTime AS LastChangeDateTime,
  skb1.PlanningLevel AS PlanningLevel,
  skb1.HouseBank AS HouseBank,
  skb1.HouseBankAccount AS HouseBankAccount,
  skb1.ExchRateDifferencesAccountDetn AS ExchRateDifferencesAccountDetn,
  skb1.ReconciliationAccountType AS ReconciliationAccountType,
  skb1.TaxCategory AS TaxCategory,
  skb1.InterestCalculationCode AS InterestCalculationCode,
  skb1.GLAccountCurrency AS GLAccountCurrency,
  skb1.ReconciliationAcctIsChangeable AS ReconciliationAcctIsChangeable,
  skb1.IsManagedExternally AS IsManagedExternally,
  skb1.IsAutomaticallyPosted AS IsAutomaticallyPosted,
  skb1.LineItemDisplayIsEnabled AS LineItemDisplayIsEnabled,
  skb1.SupplementIsAllowed AS SupplementIsAllowed,
  skb1.IsOpenItemManaged AS IsOpenItemManaged,
  skb1.InterestCalculationDate AS InterestCalculationDate,
  skb1.IntrstCalcFrequencyInMonths AS IntrstCalcFrequencyInMonths,
  skb1.AcctgDocItmDisplaySequenceRule AS AcctgDocItmDisplaySequenceRule,
  skb1.AlternativeGLAccount AS AlternativeGLAccount,
  skb1.JointVentureRecoveryCode AS JointVentureRecoveryCode,
  skb1.CommitmentItem AS CommitmentItem,
  skb1.TaxCodeIsRequired AS TaxCodeIsRequired,
  skb1.BalanceHasLocalCurrency AS BalanceHasLocalCurrency,
  skb1.ValuationGroup AS ValuationGroup,
  skb1.APARToleranceGroup AS APARToleranceGroup,
  skb1.AccountIsBlockedForPosting AS AccountIsBlockedForPosting,
  skb1.AccountIsMarkedForDeletion AS AccountIsMarkedForDeletion,
  skb1.ClearingIsLedgerGroupSpecific AS ClearingIsLedgerGroupSpecific,
  skb1.IsCashFlowAccount AS IsCashFlowAccount,
  skb1.GLAcctInflationKey AS GLAcctInflationKey,
  skb1.FieldStatusGroup AS FieldStatusGroup,
  skb1.MultiCurrencyAccountingCode AS MultiCurrencyAccountingCode,
  skb1.IsExtendedOpenItemManaged AS IsExtendedOpenItemManaged,
  t001.Country AS Country,
  t001.ChartOfAccounts AS ChartOfAccounts,
  t001.ControllingArea AS ControllingArea,
  t001.FieldStatusVariant AS FieldStatusVariant,
  t001.CountryChartOfAccounts AS CountryChartOfAccounts
FROM I_GLAccountInCompanyCode AS skb1
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _Text ON CompanyCode = _Text.CompanyCode AND GLAccount = _Text.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID  -- association [1..1]
LEFT OUTER JOIN I_Reconciliationaccttype AS _Reconciliationaccttype ON ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType  -- association [0..1]
LEFT OUTER JOIN I_InflationKey AS _InflationKey ON Country = _InflationKey.Country AND GLAcctInflationKey = _InflationKey.GLAcctInflationKey  -- association [0..1]
LEFT OUTER JOIN I_JointVentureRecovery AS _JointVentureRecovery ON CompanyCode = _JointVentureRecovery.CompanyCode AND JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode  -- association [0..1]
LEFT OUTER JOIN I_MultiCurrencyAccounting AS _MultiCurrencyAccounting ON MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode  -- association [0..1]
LEFT OUTER JOIN I_FieldStatusGroup AS _FieldStatusGroup ON FieldStatusVariant = _FieldStatusGroup.FieldStatusVariant AND FieldStatusGroup = _FieldStatusGroup.FieldStatusGroup  -- association [0..1]
LEFT OUTER JOIN I_FieldStatusVariant AS _FieldStatusVariant ON FieldStatusVariant = _FieldStatusVariant.FieldStatusVariant  -- association [0..1]
LEFT OUTER JOIN I_TaxCategory AS _TaxCategory ON CompanyCode = _TaxCategory.CompanyCode AND TaxCategory = _TaxCategory.TaxCategory  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAcctInCoCodeImplementStat AS _GLAcctInCoCodeStatus ON CompanyCode = _GLAcctInCoCodeStatus.CompanyCode AND GLAccount = _GLAcctInCoCodeStatus.GLAccount  -- association [0..1]
;