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 34 fields. 43 CDS views read from this table.

CDS Views using this table (43)

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_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_entity 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_entity union COMPOSITE G/L Account Staging CoA
I_GLAcctInChtAcctsTP view_entity 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_BalShtIncomeStatementItem view_entity from COMPOSITE Balance Sheet Item
P_BalShtIncomeStatementItem view_entity union COMPOSITE Balance Sheet Item
P_CN_CADEGLAccountForBalance view union COMPOSITE CADE GL Account Structure for Balance
P_CN_CADEGLAccountFSVItem view left_outer CONSUMPTION CADE General Ledger Account with FSV Item
P_CN_CADEGLAcctWDesc view left_outer CONSUMPTION CADE General Ledger Account With Description
P_CN_CADEGLAcctWDesc2 view left_outer COMPOSITE GL Account With Description
P_CN_CADEGLLeafItemAccount view from CONSUMPTION CADE General Ledger Account with Leaf Item Account
P_CN_CADEGLLeafItemAccount2 view from COMPOSITE CADE General Ledger Account with Leaf Item Account (Copy)
P_CN_GLAcctPerd view inner CONSUMPTION Cartesian Product of G/L Account and Fiscal Period
P_CnsldtnGLAccount view from COMPOSITE Consolidation Combined G/L Account
P_FinStmtLeafWithGLAcct view from BASIC Fin Statement Item with G/L Account (assigned & unassigned)
P_FSItemMappingGLAccountAll view left_outer COMPOSITE FSItem Mapping - GLAccount All
P_FSItemMappingGLAccountAllD view left_outer COMPOSITE FSItem Mapping Draft - GLAccount All
P_GLAccChtOfAcctsHouseBankAcct view inner COMPOSITE GL/Account with HouseBank & HouseBankAcc
P_GLAcctCostCompWthoutDflt view from COMPOSITE Map G/L Account to Cost Component without default
P_GLAcctDefaultCostComp view from COMPOSITE Combinations of G/L Accounts with Default Cost Component
P_GLACCTWITHCOCODE view left_outer COMPOSITE CDS views for GL accounts in company code
P_GR_StRpTrialBalanceGLAcct view_entity inner COMPOSITE Greece All G/L Account
P_OffsettingAccount view_entity union_all COMPOSITE Private union view for OffsettingAccount
P_OffsettingAccountVH view_entity from COMPOSITE Private view for Offsetting Account Value Help
P_OffsettingAccountVH view_entity union_all COMPOSITE Private view for Offsetting Account Value Help
P_SAFTSumJournalLineItem view inner COMPOSITE SAF-T Get sum of all Journal Line Items
R_GeneralLedgerAccountEventTP view_entity from TRANSACTIONAL Event Creation for GL Accounts
R_GLAccountInOperatingCOATP view from TRANSACTIONAL Trnsctnl View GL Acct in Oper. COA
R_OperatingGLAccountTP view_entity from TRANSACTIONAL Operating G/L Account Root

Fields (34)

KeyField CDS FieldsUsed in Views
KEY ChartOfAccounts ChartOfAccounts,ChartOfAccountsForEdit,ktopl 17
KEY GLAccount COAChangeListTargetNumber,GLAccount,GLAccountExternal,GLAccountForEdit,ReconciliationAccount,saknr 21
KEY PartnerCompany PartnerCompany 6
_ChartOfAccounts _ChartOfAccounts 4
_ChartOfAccountsText _ChartOfAccountsText 1
_CorporateGroupAccount _CorporateGroupAccount 1
_CorporateGroupChartOfAccounts _CorporateGroupChartOfAccounts 1
_FunctionalArea _FunctionalArea 1
_GLAccountGroup _GLAccountGroup 1
_GLAccountSubtype _GLAccountSubtype 1
_GLAccountType _GLAccountType 1
_GLAcctInChartOfAcctsStatus _GLAcctInChartOfAcctsStatus 1
_GlobalCompany _GlobalCompany 2
_RetainedEarningsGLAccount _RetainedEarningsGLAccount 1
_Text _Text 1
AccountIsBlockedForCreation AccountIsBlockedForCreation 4
AccountIsBlockedForPlanning AccountIsBlockedForPlanning 5
AccountIsBlockedForPosting AccountIsBlockedForPosting 4
AccountIsMarkedForDeletion AccountIsMarkedForDeletion 6
BankReconciliationAccount BankReconciliationAccount 6
CorporateGroupAccount CorporateGroupAccount 6
CorporateGroupChartOfAccounts CorporateGroupChartOfAccounts 1
CreatedByUser CreatedByUser 4
CreationDate CreationDate 4
FunctionalArea FunctionalArea 5
GLAccountExternal GLAccountExternal 5
GLAccountGroup AlternativeGLAccountGroup,GLAccountGroup 11
GLAccountSubtype GLAccountSubtype 5
GLAccountType GLAccountType 9
IsBalanceSheetAccount IsBalanceSheetAccount 5
IsProfitLossAccount IsProfitLossAccount 2
LastChangeDateTime LastChangeDateTime 2
ProfitLossAccountType ProfitLossAccountType 5
SampleGLAccount SampleGLAccount 4
@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']
            } ]
        }
    }
}

@ObjectModel: {representativeKey: 'GLAccount',
               sapObjectNodeType.name: 'GeneralLedgerAccount', //BS

               supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#SEARCHABLE_ENTITY,#EXTRACTION_DATA_SOURCE],
               entityChangeStateId: 'LastChangeDateTime',
               usageType: {
                            dataClass: #MASTER,
                            serviceQuality: #B,
                            sizeCategory: #M
                           }
              } 
              
@VDM.viewType: #BASIC 
@AbapCatalog.sqlViewName: 'IFIGLACCINCOA'

//@AccessControl.authorizationCheck: #CHECK

@AbapCatalog.buffering.status: #NOT_ALLOWED

@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


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,
      cast( ska1.xbilk as isbalancesheetaccount )    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,
      @Semantics.systemDate.createdAt: true
      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      

};