I_ActiveGLAcctInCoCodeListItem

DDL: I_ACTIVEGLACCTINCOCODELISTITEM SQL: IFIACOCDLI Type: view COMPOSITE

company code list item data

I_ActiveGLAcctInCoCodeListItem is a Composite CDS View that provides data about "company code list item data" in SAP S/4HANA. It reads from 2 data sources (I_GLAcctInCoCode, I_DraftAdministrativeData) and exposes 88 fields with key fields ChartOfAccounts, GLAccount, CompanyCode. It has 22 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_GLAcctInCoCode ActiveDocument from
I_DraftAdministrativeData DraftAdmin left_outer

Associations (22)

CardinalityTargetAliasCondition
[1..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_User _User $projection.CreatedByUser = _User.UserID
[0..1] I_InflationKey _InflationKey $projection.Country = _InflationKey.Country and $projection.GLAcctInflationKey = _InflationKey.GLAcctInflationKey
[0..1] I_PlanningLevel _PlanningLevel $projection.PlanningLevel = _PlanningLevel.PlanningLevel
[0..1] I_Housebank _HouseBank $projection.CompanyCode = _HouseBank.CompanyCode and $projection.HouseBank = _HouseBank.HouseBank
[0..1] I_HouseBankAccount _HouseBankAccount $projection.CompanyCode = _HouseBankAccount.CompanyCode and $projection.HouseBank = _HouseBankAccount.HouseBank and $projection.HouseBankAccount = _HouseBankAccount.HouseBankAccount
[0..1] I_Reconciliationaccttype _Reconciliationaccttype $projection.ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType
[0..1] I_InterestCalculationCode _InterestCalculationCode $projection.InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode
[0..1] I_AcctgDocItmDspSqncRule _AcctgDocItmDspSqncRule $projection.AcctgDocItmDisplaySequenceRule = _AcctgDocItmDspSqncRule.AcctgDocItmDisplaySequenceRule
[0..1] I_GLAccountToleranceGroup _GLAccountToleranceGroup $projection.CompanyCode = _GLAccountToleranceGroup.CompanyCode and $projection.APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup
[0..1] I_JointVentureRecovery _JointVentureRecovery $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode and $projection.CompanyCode = _JointVentureRecovery.CompanyCode
[0..1] I_FieldStatusGroup _FieldStatusGroup $projection.FieldStatusVariant = _FieldStatusGroup.FieldStatusVariant and $projection.FieldStatusGroup = _FieldStatusGroup.FieldStatusGroup
[0..1] I_MultiCurrencyAccounting _MultiCurrencyAccounting $projection.MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode
[0..1] I_Currency _GLAccountCurrency $projection.GLAccountCurrency = _GLAccountCurrency.Currency
[0..1] I_TaxCategory _TaxCategory $projection.CompanyCode = _TaxCategory.CompanyCode and $projection.TaxCategory = _TaxCategory.TaxCategory
[0..1] I_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang $projection.ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts and $projection.GLAccount = _GLAcctTxtInMaintLang.GLAccount
[0..*] I_GLAccountText _Text $projection.ChartOfAccounts = _Text.ChartOfAccounts and $projection.GLAccount = _Text.GLAccount
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_FieldStatusVariant _FieldStatusVariant $projection.FieldStatusVariant = _FieldStatusVariant.FieldStatusVariant
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccountInChartOfAccounts _AlternativeGLAccountExternal $projection.CountryChartOfAccounts = _AlternativeGLAccountExternal.ChartOfAccounts and $projection.AlternativeGLAccount = _AlternativeGLAccountExternal.GLAccount

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFIACOCDLI view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label company code list item data view
ObjectModel.representativeKey GLAccount view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (88)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts I_GLAcctInCoCode ChartOfAccounts Node Class
KEY GLAccount I_GLAcctInCoCode GLAccount General Ledger
KEY CompanyCode I_GLAcctInCoCode CompanyCode Receiver Company Code
AuthorizationGroup I_GLAcctInCoCode AuthorizationGroup AuthorizGroup
AccountingClerk I_GLAcctInCoCode AccountingClerk Clerk Abbrev.
LastInterestCalcRunDate I_GLAcctInCoCode LastInterestCalcRunDate Last Int. Calc.
CreationDate I_GLAcctInCoCode CreationDate Time Stamp
CreatedByUser I_GLAcctInCoCode CreatedByUser User Name
PlanningLevel I_GLAcctInCoCode PlanningLevel Planning Level
HouseBank I_GLAcctInCoCode HouseBank House Bank
HouseBankAccount I_GLAcctInCoCode HouseBankAccount House Bank Account
ExchRateDifferencesAccountDetn I_GLAcctInCoCode ExchRateDifferencesAccountDetn E/R Diff. Key
ReconciliationAccountType I_GLAcctInCoCode ReconciliationAccountType Reconcil. ID
TaxCategory I_GLAcctInCoCode TaxCategory Tax Code
InterestCalculationCode I_GLAcctInCoCode InterestCalculationCode Interest Indic.
GLAccountCurrency I_GLAcctInCoCode GLAccountCurrency Currency
IsManagedExternally I_GLAcctInCoCode IsManagedExternally Is Managed Ext.
IsAutomaticallyPosted I_GLAcctInCoCode IsAutomaticallyPosted Auto. Posting
LineItemDisplayIsEnabled I_GLAcctInCoCode LineItemDisplayIsEnabled Line Items
SupplementIsAllowed I_GLAcctInCoCode SupplementIsAllowed Supplement
IsOpenItemManaged I_GLAcctInCoCode IsOpenItemManaged Open Item Management
InterestCalculationDate I_GLAcctInCoCode InterestCalculationDate Last Key Date
IntrstCalcFrequencyInMonths I_GLAcctInCoCode IntrstCalcFrequencyInMonths Int.Calc.Freq.
AcctgDocItmDisplaySequenceRule I_GLAcctInCoCode AcctgDocItmDisplaySequenceRule Sort key
AlternativeGLAccount I_GLAcctInCoCode AlternativeGLAccount Group Account
AlternativeGLAccountExternal _AlternativeGLAccountExternal GLAccountExternal G/L Acct External ID
CountryChartOfAccounts CountryChartOfAccounts Chart of Accts
JointVentureRecoveryCode I_GLAcctInCoCode JointVentureRecoveryCode Recovery Ind.
CommitmentItem I_GLAcctInCoCode CommitmentItem Commitment item
TaxCodeIsRequired I_GLAcctInCoCode TaxCodeIsRequired Pstg w/o tax allowed
BalanceHasLocalCurrency I_GLAcctInCoCode BalanceHasLocalCurrency Balances in LC
ValuationGroup I_GLAcctInCoCode ValuationGroup Valuation Group
APARToleranceGroup I_GLAcctInCoCode APARToleranceGroup Tolerance Group
AccountIsBlockedForPosting I_GLAcctInCoCode AccountIsBlockedForPosting Posting Block
AccountIsMarkedForDeletion I_GLAcctInCoCode AccountIsMarkedForDeletion Deletion Flag
ClearingIsLedgerGroupSpecific I_GLAcctInCoCode ClearingIsLedgerGroupSpecific OI Mgmt by LedgerGrp
IsExtendedOpenItemManaged I_GLAcctInCoCode IsExtendedOpenItemManaged Extended OI Mgmt
IsCashFlowAccount I_GLAcctInCoCode IsCashFlowAccount Rel.Cash Flow
GLAcctInflationKey I_GLAcctInCoCode GLAcctInflationKey Inflation key
FieldStatusGroup I_GLAcctInCoCode FieldStatusGroup Field Status Grp
MultiCurrencyAccountingCode I_GLAcctInCoCode MultiCurrencyAccountingCode MCA Key
ReconciliationAcctIsChangeable I_GLAcctInCoCode ReconciliationAcctIsChangeable Rec.Act Ready
Country I_GLAcctInCoCode Country Venue: Ctry/Reg
ControllingArea I_GLAcctInCoCode ControllingArea Controlling Area
FieldStatusVariant I_GLAcctInCoCode FieldStatusVariant Fld stat.var.
GLAcctInChartOfAcctsDraftUUID
InProcessByUser I_DraftAdministrativeData InProcessByUser Draft In Process By
InProcessByUserDescription I_DraftAdministrativeData InProcessByUserDescription
DraftIsProcessedByMe I_DraftAdministrativeData DraftIsProcessedByMe
LastChangeDateTime I_GLAcctInCoCode LastChangeDateTime Timestamp
CompanyCodeName _CompanyCode CompanyCodeName Company Name
GLAccountName _GLAcctTxtInMaintLang GLAccountName Short Text
GLAccountLongName _GLAcctTxtInMaintLang GLAccountLongName Long Text
GLAccountType _GLAccountInChartOfAccounts GLAccountType G/L Account Type
CountryName
GLAcctInflationKeyName
PlanningLevelName
HouseBankAccountDescription
ReconciliationAccountTypeName
InterestCalculationCodeName
AcctgDocItmDspSequenceRuleName
APARToleranceGroupName
JointVentureRecoveryCodeName
FieldStatusGroupName
MultiCurrencyAcctgCodeName
CurrencyShortName
TaxCodeName
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_CompanyCode _CompanyCode
_User _User
_InflationKey _InflationKey
_PlanningLevel _PlanningLevel
_HouseBank _HouseBank
_HouseBankAccount _HouseBankAccount
_Reconciliationaccttype _Reconciliationaccttype
_InterestCalculationCode _InterestCalculationCode
_AcctgDocItmDspSqncRule _AcctgDocItmDspSqncRule
_GLAccountToleranceGroup _GLAccountToleranceGroup
_JointVentureRecovery _JointVentureRecovery
_FieldStatusGroup _FieldStatusGroup
_MultiCurrencyAccounting _MultiCurrencyAccounting
_GLAccountCurrency _GLAccountCurrency
_TaxCategory _TaxCategory
_GLAcctTxtInMaintLang _GLAcctTxtInMaintLang
_Text _Text
_Country _Country
_FieldStatusVariant _FieldStatusVariant
_ChartOfAccounts _ChartOfAccounts

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_ActiveGLAcctInCoCodeListItem.
-- 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: IFIACOCDLI

CREATE VIEW I_ActiveGLAcctInCoCodeListItem AS
SELECT
  ActiveDocument.ChartOfAccounts AS ChartOfAccounts,
  ActiveDocument.GLAccount AS GLAccount,
  ActiveDocument.CompanyCode AS CompanyCode,
  ActiveDocument.AuthorizationGroup AS AuthorizationGroup,
  ActiveDocument.AccountingClerk AS AccountingClerk,
  ActiveDocument.LastInterestCalcRunDate AS LastInterestCalcRunDate,
  ActiveDocument.CreationDate AS CreationDate,
  ActiveDocument.CreatedByUser AS CreatedByUser,
  ActiveDocument.PlanningLevel AS PlanningLevel,
  ActiveDocument.HouseBank AS HouseBank,
  ActiveDocument.HouseBankAccount AS HouseBankAccount,
  ActiveDocument.ExchRateDifferencesAccountDetn AS ExchRateDifferencesAccountDetn,
  ActiveDocument.ReconciliationAccountType AS ReconciliationAccountType,
  ActiveDocument.TaxCategory AS TaxCategory,
  ActiveDocument.InterestCalculationCode AS InterestCalculationCode,
  ActiveDocument.GLAccountCurrency AS GLAccountCurrency,
  ActiveDocument.IsManagedExternally AS IsManagedExternally,
  ActiveDocument.IsAutomaticallyPosted AS IsAutomaticallyPosted,
  ActiveDocument.LineItemDisplayIsEnabled AS LineItemDisplayIsEnabled,
  ActiveDocument.SupplementIsAllowed AS SupplementIsAllowed,
  ActiveDocument.IsOpenItemManaged AS IsOpenItemManaged,
  ActiveDocument.InterestCalculationDate AS InterestCalculationDate,
  ActiveDocument.IntrstCalcFrequencyInMonths AS IntrstCalcFrequencyInMonths,
  ActiveDocument.AcctgDocItmDisplaySequenceRule AS AcctgDocItmDisplaySequenceRule,
  ActiveDocument.AlternativeGLAccount AS AlternativeGLAccount,
  _AlternativeGLAccountExternal.GLAccountExternal AS AlternativeGLAccountExternal,
  CountryChartOfAccounts,
  ActiveDocument.JointVentureRecoveryCode AS JointVentureRecoveryCode,
  ActiveDocument.CommitmentItem AS CommitmentItem,
  ActiveDocument.TaxCodeIsRequired AS TaxCodeIsRequired,
  ActiveDocument.BalanceHasLocalCurrency AS BalanceHasLocalCurrency,
  ActiveDocument.ValuationGroup AS ValuationGroup,
  ActiveDocument.APARToleranceGroup AS APARToleranceGroup,
  ActiveDocument.AccountIsBlockedForPosting AS AccountIsBlockedForPosting,
  ActiveDocument.AccountIsMarkedForDeletion AS AccountIsMarkedForDeletion,
  ActiveDocument.ClearingIsLedgerGroupSpecific AS ClearingIsLedgerGroupSpecific,
  ActiveDocument.IsExtendedOpenItemManaged AS IsExtendedOpenItemManaged,
  ActiveDocument.IsCashFlowAccount AS IsCashFlowAccount,
  ActiveDocument.GLAcctInflationKey AS GLAcctInflationKey,
  ActiveDocument.FieldStatusGroup AS FieldStatusGroup,
  ActiveDocument.MultiCurrencyAccountingCode AS MultiCurrencyAccountingCode,
  ActiveDocument.ReconciliationAcctIsChangeable AS ReconciliationAcctIsChangeable,
  ActiveDocument.Country AS Country,
  ActiveDocument.ControllingArea AS ControllingArea,
  ActiveDocument.FieldStatusVariant AS FieldStatusVariant,
  cast( hextobin('00000000000000000000000000000000') as ska1_draft_uuid ) AS GLAcctInChartOfAcctsDraftUUID,
  DraftAdmin.InProcessByUser AS InProcessByUser,
  DraftAdmin.InProcessByUserDescription AS InProcessByUserDescription,
  DraftAdmin.DraftIsProcessedByMe AS DraftIsProcessedByMe,
  ActiveDocument.LastChangeDateTime AS LastChangeDateTime,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _GLAcctTxtInMaintLang.GLAccountName AS GLAccountName,
  _GLAcctTxtInMaintLang.GLAccountLongName AS GLAccountLongName,
  _GLAccountInChartOfAccounts.GLAccountType AS GLAccountType,
  _CompanyCode._Country._Text[1:Language = $session.system_language].CountryName AS CountryName,
  _InflationKey._Text[1:Language = $session.system_language].GLAcctInflationKeyName AS GLAcctInflationKeyName,
  _PlanningLevel._Text[1:Language = $session.system_language].PlanningLevelName AS PlanningLevelName,
  _HouseBankAccount._Text[1:Language = $session.system_language].HouseBankAccountDescription AS HouseBankAccountDescription,
  _Reconciliationaccttype._Text[1:Language = $session.system_language].ReconciliationAccountTypeName AS ReconciliationAccountTypeName,
  _InterestCalculationCode._Text[1:Language = $session.system_language].InterestCalculationCodeName AS InterestCalculationCodeName,
  _AcctgDocItmDspSqncRule._Text[1:Language = $session.system_language].AcctgDocItmDspSequenceRuleName AS AcctgDocItmDspSequenceRuleName,
  _GLAccountToleranceGroup._Text[1:Language = $session.system_language].APARToleranceGroupName AS APARToleranceGroupName,
  _JointVentureRecovery._Text[1:Language = $session.system_language].JointVentureRecoveryCodeName AS JointVentureRecoveryCodeName,
  _FieldStatusGroup._Text[1:Language = $session.system_language].FieldStatusGroupName AS FieldStatusGroupName,
  _MultiCurrencyAccounting._Text[1:Language = $session.system_language].MultiCurrencyAcctgCodeName AS MultiCurrencyAcctgCodeName,
  _GLAccountCurrency._Text[1:Language = $session.system_language].CurrencyShortName AS CurrencyShortName,
  _TaxCategory._Text[1:Language = $session.system_language].TaxCategoryName AS TaxCodeName
FROM I_GLAcctInCoCode AS ActiveDocument
LEFT OUTER JOIN I_DraftAdministrativeData AS DraftAdmin ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID  -- association [1..1]
LEFT OUTER JOIN I_InflationKey AS _InflationKey ON Country = _InflationKey.Country AND GLAcctInflationKey = _InflationKey.GLAcctInflationKey  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevel AS _PlanningLevel ON PlanningLevel = _PlanningLevel.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_Housebank AS _HouseBank ON CompanyCode = _HouseBank.CompanyCode AND HouseBank = _HouseBank.HouseBank  -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccount AS _HouseBankAccount ON CompanyCode = _HouseBankAccount.CompanyCode AND HouseBank = _HouseBankAccount.HouseBank AND HouseBankAccount = _HouseBankAccount.HouseBankAccount  -- association [0..1]
LEFT OUTER JOIN I_Reconciliationaccttype AS _Reconciliationaccttype ON ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType  -- association [0..1]
LEFT OUTER JOIN I_InterestCalculationCode AS _InterestCalculationCode ON InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode  -- association [0..1]
LEFT OUTER JOIN I_AcctgDocItmDspSqncRule AS _AcctgDocItmDspSqncRule ON AcctgDocItmDisplaySequenceRule = _AcctgDocItmDspSqncRule.AcctgDocItmDisplaySequenceRule  -- association [0..1]
LEFT OUTER JOIN I_GLAccountToleranceGroup AS _GLAccountToleranceGroup ON CompanyCode = _GLAccountToleranceGroup.CompanyCode AND APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup  -- association [0..1]
LEFT OUTER JOIN I_JointVentureRecovery AS _JointVentureRecovery ON JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode AND CompanyCode = _JointVentureRecovery.CompanyCode  -- 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_MultiCurrencyAccounting AS _MultiCurrencyAccounting ON MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GLAccountCurrency ON GLAccountCurrency = _GLAccountCurrency.Currency  -- 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_GLAcctTxtInMaintLang AS _GLAcctTxtInMaintLang ON ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts AND GLAccount = _GLAcctTxtInMaintLang.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _Text ON ChartOfAccounts = _Text.ChartOfAccounts AND GLAccount = _Text.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_FieldStatusVariant AS _FieldStatusVariant ON FieldStatusVariant = _FieldStatusVariant.FieldStatusVariant  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _AlternativeGLAccountExternal ON CountryChartOfAccounts = _AlternativeGLAccountExternal.ChartOfAccounts AND AlternativeGLAccount = _AlternativeGLAccountExternal.GLAccount  -- association [0..1]
;