I_GLAcctInCoCodeTP

DDL: I_GLACCTINCOCODETP SQL: IGLACOCDTP Type: view TRANSACTIONAL

G/L Account in Company Code (Draft 2.0)

I_GLAcctInCoCodeTP is a Transactional CDS View that provides data about "G/L Account in Company Code (Draft 2.0)" in SAP S/4HANA. It reads from 1 data source (I_GLAcctInCoCode) and exposes 73 fields with key fields ChartOfAccounts, GLAccount, CompanyCode. It has 21 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_GLAcctInCoCode I_GLAcctInCoCode from

Associations (21)

CardinalityTargetAliasCondition
[1..1] I_GLAcctInChtAcctsTP _GLAcctInChtAcctsTP $projection.ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts and $projection.GLAccount = _GLAcctInChtAcctsTP.GLAccount
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCodeForEdit = _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.CompanyCodeForEdit = _HouseBank.CompanyCode and $projection.HouseBank = _HouseBank.HouseBank
[0..1] I_HouseBankAccount _HouseBankAccount $projection.CompanyCodeForEdit = _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.CompanyCodeForEdit = _GLAccountToleranceGroup.CompanyCode and $projection.APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup
[0..1] I_JointVentureRecovery _JointVentureRecovery $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode and $projection.CompanyCodeForEdit = _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.CompanyCodeForEdit = _TaxCategory.CompanyCode and $projection.TaxCategory = _TaxCategory.TaxCategory
[0..1] I_GLAccountInChartOfAccounts _AlternativeGLAccount $projection.CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts and $projection.AlternativeGLAccount = _AlternativeGLAccount.GLAccount
[0..1] I_GLAcctInDefaultLanguageText _GLAcctTxtInMaintLang $projection.ChartOfAccounts = _GLAcctTxtInMaintLang.ChartOfAccounts and $projection.GLAccount = _GLAcctTxtInMaintLang.GLAccount and $projection.MaintenanceLanguage = _GLAcctTxtInMaintLang.Language
[0..1] I_FieldStatusVariant _FieldStatusVariant $projection.fieldstatusvariant = _FieldStatusVariant.FieldStatusVariant
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.CountryChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..1] I_GLAccount _GLAccount $projection.CompanyCode = _GLAccount.CompanyCode and $projection.GLAccount = _GLAccount.GLAccount

Annotations (12)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IGLACOCDTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label G/L Account in Company Code (Draft 2.0) view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.writeDraftPersistence SKB1_DRAFT_20 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 (73)

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

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_GLAcctInCoCodeTP.
-- 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: IGLACOCDTP

CREATE VIEW I_GLAcctInCoCodeTP AS
SELECT
  I_GLAcctInCoCode.ChartOfAccounts AS ChartOfAccounts,
  GLAccount,
  CompanyCode,
  I_GLAcctInCoCode.CompanyCode AS CompanyCodeForEdit,
  AuthorizationGroup,
  AccountingClerk,
  LastInterestCalcRunDate,
  CreationDate,
  CreatedByUser,
  PlanningLevel,
  HouseBank,
  HouseBankAccount,
  ExchRateDifferencesAccountDetn,
  ReconciliationAccountType,
  TaxCategory,
  InterestCalculationCode,
  GLAccountCurrency,
  IsManagedExternally,
  IsAutomaticallyPosted,
  LineItemDisplayIsEnabled,
  SupplementIsAllowed,
  IsOpenItemManaged,
  InterestCalculationDate,
  IntrstCalcFrequencyInMonths,
  AcctgDocItmDisplaySequenceRule,
  AlternativeGLAccount,
  case when AlternativeGLAccount is not null and _GroupAccount.sakan is null then cast ( AlternativeGLAccount as sakan ) else _GroupAccount.sakan end as AlternativeGLAccountExternal AS sakanendasAlternativeGLAccountExternal,
  JointVentureRecoveryCode,
  CommitmentItem,
  TaxCodeIsRequired,
  BalanceHasLocalCurrency,
  ValuationGroup,
  APARToleranceGroup,
  AccountIsBlockedForPosting,
  AccountIsMarkedForDeletion,
  ClearingIsLedgerGroupSpecific,
  IsCashFlowAccount,
  GLAcctInflationKey,
  FieldStatusGroup,
  MultiCurrencyAccountingCode,
  ReconciliationAcctIsChangeable,
  I_GLAcctInCoCode.IsExtendedOpenItemManaged AS IsExtendedOpenItemManaged,
  chtaccts.MaintenanceLanguage AS MaintenanceLanguage,
  I_GLAcctInCoCode.GLAccount AS GLAccountForEdit,
  _GLAcctTxtInMaintLang.GLAccountName AS GLAccountName,
  _GLAcctTxtInMaintLang.GLAccountLongName AS GLAccountLongName,
  I_GLAcctInCoCode.ChartOfAccounts AS ChartOfAccountsForEdit,
  CountryChartOfAccounts,
  _CompanyCode.Country AS Country,
  _CompanyCode.ControllingArea AS ControllingArea,
  _CompanyCode.FieldStatusVariant AS FieldStatusVariant,
  _CompanyCode.CompanyCodeName AS CompanyCodeName
FROM I_GLAcctInCoCode
LEFT OUTER JOIN I_GLAcctInChtAcctsTP AS _GLAcctInChtAcctsTP ON ChartOfAccounts = _GLAcctInChtAcctsTP.ChartOfAccounts AND GLAccount = _GLAcctInChtAcctsTP.GLAccount  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCodeForEdit = _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 CompanyCodeForEdit = _HouseBank.CompanyCode AND HouseBank = _HouseBank.HouseBank  -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccount AS _HouseBankAccount ON CompanyCodeForEdit = _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 CompanyCodeForEdit = _GLAccountToleranceGroup.CompanyCode AND APARToleranceGroup = _GLAccountToleranceGroup.APARToleranceGroup  -- association [0..1]
LEFT OUTER JOIN I_JointVentureRecovery AS _JointVentureRecovery ON JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode AND CompanyCodeForEdit = _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 CompanyCodeForEdit = _TaxCategory.CompanyCode AND TaxCategory = _TaxCategory.TaxCategory  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _AlternativeGLAccount ON CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts AND AlternativeGLAccount = _AlternativeGLAccount.GLAccount  -- 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_FieldStatusVariant AS _FieldStatusVariant ON fieldstatusvariant = _FieldStatusVariant.FieldStatusVariant  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON CountryChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON CompanyCode = _GLAccount.CompanyCode AND GLAccount = _GLAccount.GLAccount  -- association [0..1]
;