I_GLACCOUNTINCHARTOFACCOUNTS

CDS View

G/L Account In Chart Of Accounts

I_GLACCOUNTINCHARTOFACCOUNTS is a CDS View in S/4HANA. G/L Account In Chart Of Accounts. It contains 32 fields. 40 CDS views read from this table.

CDS Views using this table (40)

ViewTypeJoinVDMDescription
A_GLAccountInChartOfAccounts view from BASIC API G/L Account In Chart Of Accounts
C_CL_StRpGLAcctInCompanyCode view inner CONSUMPTION G/L Acct in Company Code for Chile Rptg
C_CrcyAdjmtItemToBeVerified view left_outer CONSUMPTION Inbox View of Crcy Adjmt to be verified
C_Custrecnclnacctvhtemp view from CONSUMPTION Value Help for Customer Reconciliation Account
C_GLAcctInChtOfAcctsChgLog view inner CONSUMPTION GL account in CoA change log
C_GLJrnlEntryItemToBeVerified view left_outer CONSUMPTION LI in Inbox View of GL JE to be verified
C_GR_StRpTrialBalGLAcctCube view_entity from CONSUMPTION Greece Trial Balance all GL Acct - Cube
C_NL_SAFTGeneralLedger view from CONSUMPTION SAF-T NL General Ledger
C_ReconAccountVHTemp view from CONSUMPTION Reconciliation Account
FAC_CDS_UH_GLACCOUNT view from GLAccount Master Data
FAC_DART_Z3_CHARTOFACCOUNTS view inner Chart Of Accounts Master
I_ActiveGLAcctInCOAListItem view from COMPOSITE active GL in COA with draft information
I_CnsldtnMasterData view union_all COMPOSITE Consolidation - Combined Master Data
I_FinancialStatementLeafItem view union_all COMPOSITE Financial Statement Leaf
I_GLAccountStagingInCOA view union COMPOSITE G/L Account Staging CoA
I_GLAcctInChtAcctsTP view from TRANSACTIONAL G/L Account in ChtAccts (Draft 2.0)
I_GLAcctInChtOfAcctsStdVH view from COMPOSITE G/L Account In Chart Of Accounts
I_GLAcctInCOACompanyCode view from COMPOSITE Operating CoA GL Acct in Company Code
I_GLAcctOvhdAllocGLAcctIntvl view from COMPOSITE GLAcct fr Intvl to Overhead Alloc GLAcct
P_CN_CADEGLAccountForBalance view union COMPOSITE
P_CN_CADEGLAccountFSVItem view left_outer CONSUMPTION
P_CN_CADEGLAcctWDesc view left_outer CONSUMPTION
P_CN_CADEGLAcctWDesc2 view left_outer COMPOSITE
P_CN_CADEGLLeafItemAccount view from CONSUMPTION
P_CN_CADEGLLeafItemAccount2 view from COMPOSITE
P_CN_GLAcctPerd view inner CONSUMPTION Cartesian Product of G/L Account and Fiscal Period
P_CnsldtnGLAccount view from COMPOSITE
P_FinStmtLeafWithGLAcct view from BASIC
P_FSItemMappingGLAccountAll view left_outer COMPOSITE
P_FSItemMappingGLAccountAllD view left_outer COMPOSITE
P_GLAccChtOfAcctsHouseBankAcct view inner COMPOSITE
P_GLAcctCostCompWthoutDflt view from COMPOSITE
P_GLAcctDefaultCostComp view from COMPOSITE
P_GLACCTWITHCOCODE view left_outer COMPOSITE
P_OffsettingAccount view union_all COMPOSITE
P_OffsettingAccountVH view from COMPOSITE
P_OffsettingAccountVH view union_all COMPOSITE
P_SAFTSumJournalLineItem view inner COMPOSITE
R_GeneralLedgerAccountEventTP view_entity from TRANSACTIONAL Event Creation for GL Accounts
R_GLAccountInOperatingCOATP view from TRANSACTIONAL Trnsctnl View GL Acct in Oper. COA

Fields (32)

KeyField CDS FieldsUsed in Views
KEY ChartOfAccounts ChartOfAccounts,ChartOfAccountsForEdit,ktopl 16
KEY GLAccount COAChangeListTargetNumber,GLAccount,GLAccountExternal,ReconciliationAccount,saknr 19
KEY PartnerCompany PartnerCompany 5
_ChartOfAccounts _ChartOfAccounts 3
_ChartOfAccountsText _ChartOfAccountsText 1
_CorporateGroupAccount _CorporateGroupAccount 1
_CorporateGroupChartOfAccounts _CorporateGroupChartOfAccounts 1
_FunctionalArea _FunctionalArea 1
_GLAccountGroup _GLAccountGroup 1
_GLAccountSubtype _GLAccountSubtype 1
_GLAccountType _GLAccountType 1
_GlobalCompany _GlobalCompany 2
_Text _Text 1
AccountIsBlockedForCreation AccountIsBlockedForCreation 2
AccountIsBlockedForPlanning AccountIsBlockedForPlanning 3
AccountIsBlockedForPosting AccountIsBlockedForPosting 2
AccountIsMarkedForDeletion AccountIsMarkedForDeletion 4
BankReconciliationAccount BankReconciliationAccount 4
CorporateGroupAccount CorporateGroupAccount 4
CorporateGroupChartOfAccounts CorporateGroupChartOfAccounts 1
CreatedByUser CreatedByUser 2
CreationDate CreationDate 2
FunctionalArea FunctionalArea 3
GLAccountExternal GLAccountExternal 3
GLAccountGroup AlternativeGLAccountGroup,GLAccountGroup 9
GLAccountSubtype GLAccountSubtype 3
GLAccountType GLAccountType 7
IsBalanceSheetAccount IsBalanceSheetAccount 3
IsProfitLossAccount IsProfitLossAccount 1
LastChangeDateTime LastChangeDateTime 1
ProfitLossAccountType ProfitLossAccountType 3
SampleGLAccount SampleGLAccount 2
@EndUserText.label: 'G/L Account In Chart Of Accounts'
@Analytics: {
dataCategory: #DIMENSION,
    dataExtraction: {
    enabled: true,
        delta.changeDataCapture: {
        mapping:
            [ { table: 'SKA1',
                role: #MAIN,
                viewElement: ['ChartOfAccounts', 'GLAccount'],
                tableElement: ['ktopl', 'saknr']
            },
            { table: 'T004',
            role: #LEFT_OUTER_TO_ONE_JOIN,
            viewElement: ['CorporateGroupChartOfAccounts'],
            tableElement: ['ktopl']
            } ]
        }
    }
}
@VDM.viewType: #BASIC 
@AbapCatalog.sqlViewName: 'IFIGLACCINCOA'
@ObjectModel.entityChangeStateId: 'LastChangeDateTime'
@ObjectModel.representativeKey: 'GLAccount'
//@AccessControl.authorizationCheck: #CHECK

@AbapCatalog.buffering.status: #NOT_ALLOWED
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass:  #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey:true
//--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W

@AccessControl.privilegedAssociations: ['_ChartOfAccountsText','_GLAccountGroupText']
// ]--GENERATED

@ObjectModel.supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#SEARCHABLE_ENTITY,#EXTRACTION_DATA_SOURCE]
define view I_GLAccountInChartOfAccounts
  as select from ska1
  
  
  //--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W

  association [0..*] to I_ChartOfAccountsText      as _ChartOfAccountsText on   $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
  association [0..*] to I_GLAccountGroupText      as _GLAccountGroupText on   $projection.GLAccountGroup = _GLAccountGroupText.GLAccountGroup
                                                                                 and   $projection.ChartOfAccounts = _GLAccountGroupText.ChartOfAccounts
  // ]--GENERATED

  association [0..1] to I_ChartOfAccounts           as _ChartOfAccounts           on  $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

  association [0..*] to I_GLAccountText             as _Text                      on  $projection.ChartOfAccounts = _Text.ChartOfAccounts
                                                                                  and $projection.GLAccount       = _Text.GLAccount

  association [0..1] to I_GLAccountType             as _GLAccountType             on  $projection.GLAccountType = _GLAccountType.GLAccountType
  
  association [0..1] to I_GLAccountSubtype          as _GLAccountSubtype          on  $projection.GLAccountSubtype = _GLAccountSubtype.GLAccountSubtype
  
  association [0..1] to I_RetainedEarningsGLAccount as _RetainedEarningsGLAccount on  $projection.ChartOfAccounts       = _RetainedEarningsGLAccount.ChartOfAccounts
                                                                                  and $projection.ProfitLossAccountType = _RetainedEarningsGLAccount.ProfitLossAccountType


  association [0..*] to I_GLAccountHierarchyNode    as _GLAccountHierarchyNode    on  $projection.GLAccount       = _GLAccountHierarchyNode.GLAccount
                                                                                  and $projection.ChartOfAccounts = _GLAccountHierarchyNode.ChartOfAccounts

  association [0..1] to I_FunctionalArea            as _FunctionalArea            on  $projection.FunctionalArea = _FunctionalArea.FunctionalArea

  association [1..1] to I_User                      as _User                      on  $projection.CreatedByUser = _User.UserID

  association [1..1] to I_Globalcompany             as _GlobalCompany             on  $projection.PartnerCompany = _GlobalCompany.Company

  association [0..1] to I_GLAccountGroup            as _GLAccountGroup            on  $projection.GLAccountGroup  = _GLAccountGroup.GLAccountGroup
                                                                                  and $projection.ChartOfAccounts = _GLAccountGroup.ChartOfAccounts
                                                                                  
  association [0..1] to I_GLAcctInChartOfAcctsProdn as _GLAcctInChartOfAcctsProdn on  $projection.ChartOfAccounts  = _GLAcctInChartOfAcctsProdn.ChartOfAccounts
                                                                                  and $projection.GLAccount        = _GLAcctInChartOfAcctsProdn.GLAccount

  association [0..1] to I_GLAcctInCOAImplementStat as _GLAcctInChartOfAcctsStatus   on  $projection.ChartOfAccounts  = _GLAcctInChartOfAcctsStatus.ChartOfAccounts
                                                                                  and $projection.GLAccount        = _GLAcctInChartOfAcctsStatus.GLAccount
                                                                                                                                                                                                                           
  association [0..1] to I_GLAccountForPublicSector as _PublicSector               on  $projection.ChartOfAccounts = _PublicSector.ChartOfAccounts
                                                                                  and $projection.GLAccount       = _PublicSector.GLAccount                                                                                        

  association [0..1] to I_ChartOfAccounts            as _CorporateGroupChartOfAccounts on  $projection.CorporateGroupChartOfAccounts = _CorporateGroupChartOfAccounts.ChartOfAccounts
  association [0..1] to I_GLAccountInChartOfAccounts as _CorporateGroupAccount         on  $projection.CorporateGroupChartOfAccounts = _CorporateGroupAccount.ChartOfAccounts
                                                                                       and $projection.CorporateGroupAccount         = _CorporateGroupAccount.GLAccount


{
      //--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W

      @Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_ChartOfAccountsStdVH',
                     element: 'ChartOfAccounts' }
        }]
      @ObjectModel.text.association: '_ChartOfAccountsText'
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_ChartOfAccounts' //Inserted by VDM CDS Suite Plugin

      @Search.defaultSearchElement:true
      @Search.fuzzinessThreshold:0.8
      @Search.ranking:#HIGH 
  key ska1.ktopl                                     as ChartOfAccounts,
      @ObjectModel.text.association: '_Text'
      @ObjectModel.hierarchy.association: '_GLAccountHierarchyNode'
  key ska1.saknr                                     as GLAccount,
      ska1.xbilk                                     as IsBalanceSheetAccount,
      //--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W

      @Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_GLAccountGroupStdVH',
                     element: 'GLAccountGroup' },
          additionalBinding: [{ localElement: 'ChartOfAccounts',
                                element: 'ChartOfAccounts' }]
        }]
      @ObjectModel.text.association: '_GLAccountGroupText'
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_GLAccountGroup'
      ska1.ktoks                                     as GLAccountGroup,
      @ObjectModel.foreignKey.association: '_CorporateGroupChartOfAccounts'
      _ChartOfAccounts.CorporateGroupChartOfAccounts as CorporateGroupChartOfAccounts,
      @ObjectModel.foreignKey.association: '_CorporateGroupAccount'
      ska1.bilkt                                     as CorporateGroupAccount,
      ska1.gvtyp                                     as ProfitLossAccountType,
      ska1.mustr                                     as SampleGLAccount,
      ska1.xloev                                     as AccountIsMarkedForDeletion,
      ska1.xspea                                     as AccountIsBlockedForCreation,
      ska1.xspeb                                     as AccountIsBlockedForPosting,
      ska1.xspep                                     as AccountIsBlockedForPlanning,
      @ObjectModel.foreignKey.association: '_GlobalCompany'
      ska1.vbund                                     as PartnerCompany,
      @ObjectModel.foreignKey.association: '_FunctionalArea' //Inserted by VDM CDS Suite Plugin

      ska1.func_area                                 as FunctionalArea,
      ska1.erdat                                     as CreationDate,
      ska1.ernam                                     as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      ska1.last_changed_ts                           as LastChangeDateTime,
      @ObjectModel.foreignKey.association: '_GLAccountType' //Inserted by VDM CDS Suite Plugin

      ska1.glaccount_type                            as GLAccountType,
      @ObjectModel.foreignKey.association: '_GLAccountSubtype'
      ska1.glaccount_subtype                         as GLAccountSubtype,
      cast( ska1.sakan as fac_sakan )                as GLAccountExternal,
      ska1.main_saknr                                as BankReconciliationAccount,
      //ska1.sakan                                     as GLAccountExternal,

      @EndUserText.label: 'Profit Loss Account'
      cast(case when ska1.xbilk = 'X' then
          ' '
      else
          'X'
      end as xbilk)                                  as IsProfitLossAccount,
      _User,
      _ChartOfAccounts,
      _Text,
      _GLAccountHierarchyNode,
      _FunctionalArea,
      _RetainedEarningsGLAccount,
      _GLAccountType,
      _GLAccountSubtype,
      _GLAccountGroup,
      _GlobalCompany,
      _GLAcctInChartOfAcctsProdn,
      _GLAcctInChartOfAcctsStatus,
      _PublicSector,
      //--[ GENERATED:012:29JlHNUf7jY4ip0dSlCN8W

      @Consumption.hidden: true
      _ChartOfAccountsText,
      @Consumption.hidden: true
      _GLAccountGroupText,
      // ]--GENERATED

      _CorporateGroupChartOfAccounts,
      _CorporateGroupAccount      

};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHARTOFACCOUNTS",
"SKA1"
],
"ASSOCIATED":
[
"I_CHARTOFACCOUNTS",
"I_CHARTOFACCOUNTSTEXT",
"I_FUNCTIONALAREA",
"I_GLACCOUNTFORPUBLICSECTOR",
"I_GLACCOUNTGROUP",
"I_GLACCOUNTGROUPTEXT",
"I_GLACCOUNTHIERARCHYNODE",
"I_GLACCOUNTSUBTYPE",
"I_GLACCOUNTTEXT",
"I_GLACCOUNTTYPE",
"I_GLACCTINCHARTOFACCTSPRODN",
"I_GLACCTINCOAIMPLEMENTSTAT",
"I_GLOBALCOMPANY",
"I_RETAINEDEARNINGSGLACCOUNT",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/