I_GLACCOUNTINCOMPANYCODE

CDS View

General Ledger Account in Company Code

I_GLACCOUNTINCOMPANYCODE is a CDS View in S/4HANA. General Ledger Account in Company Code. It contains 45 fields. 79 CDS views read from this table.

CDS Views using this table (79)

ViewTypeJoinVDMDescription
C_AllocationSenderGLAcctVH view from CONSUMPTION Account Number
C_AR_StRpPurFrgnSrvcCube view left_outer CONSUMPTION Cube View For Argentina Foreign Service
C_CL_StRpGLAcctInCompanyCode view from CONSUMPTION G/L Acct in Company Code for Chile Rptg
C_GLAcctInCoCodeChangeLog view inner CONSUMPTION GL account in company code change log
C_GLAcctWthHouseBankAcctVH view from CONSUMPTION GL/Account with HouseBank & HouseBankAcc
C_NL_SAFTGeneralLedger view inner CONSUMPTION SAF-T NL General Ledger
C_OverheadAllocationAccountVH view inner CONSUMPTION Overhead Allocation Account Value Help
C_PE_GLAcctHierarchyInCoCode view left_outer CONSUMPTION Acc. Ctrl. for Jrnl Entry Item Cube View
C_PT_SAFTCustomerDocument view_entity inner CONSUMPTION Customer to Doc Header Section - Cube
C_PT_SAFTGenLdgrCustVATReg view_entity inner CONSUMPTION SAFTPT Customer VAT Reg Master Data
C_PT_SAFTGenLdgrSuplrVATReg view_entity inner CONSUMPTION SAFTPT Supplier VAT Reg Master Data
C_RO_StRpCashJournalC view_entity from CONSUMPTION Romanian Cash Journal - Cube
C_UnivAllocOverheadAccountVH view_entity inner CONSUMPTION Overhead Allocation Account
FAC_DART_Z3_CHARTOFACCOUNTS view inner Chart Of Accounts Master
FIISAL_GR_AltvGLAcctHierDetail view_entity from Greece GLAccount global hierarchy detail
FIISAL_GR_AltvGLAcctHierDetail view_entity union Greece GLAccount global hierarchy detail
FIISAL_GR_ALTVGLACCTHIERDETL2 view_entity from Greece GLAccount global hierarchy detail
FIISAL_GR_ALTVGLACCTHIERDETL2 view_entity union Greece GLAccount global hierarchy detail
FIISAL_GR_GLAcctHierDetail view_entity union Greece GLAccount global hierarchy detail
FIISAL_GR_GLAcctHierDetail view_entity from Greece GLAccount global hierarchy detail
FIISAL_GR_GLACCTHIERDETAIL2 view_entity from Greece GLAccount global hierarchy detail
FIISAL_GR_GLACCTHIERDETAIL2 view_entity union Greece GLAccount global hierarchy detail
I_GLAccountInCompanyCodeStdVH view from COMPOSITE General Ledger Account in Company Code
I_GLAcctInCoCode view_entity from BASIC General Ledger Account in Company Code
I_LU_SAFTJournalEntry view inner COMPOSITE SAFT LU General Ledger Documents
I_PT_DelDocCustAddrHist view left_outer COMPOSITE SAF-T PT Delivery Doc CustAddr History
I_PT_SAFTAccountingCustomer view inner COMPOSITE SAF-T PT Accounting Customer
I_PT_SAFTAcctgCustTaxRegnNmbr view inner COMPOSITE SAF-T Accounting Tax Registration Number
I_PT_SAFTAcctgDocCustAddrHist view left_outer COMPOSITE SAF-T PT AccountingDoc CustAddr History
I_PT_SAFTAcctgOneTimeCustomer view inner COMPOSITE SAF-T PT Accounting One Time Customer
I_PT_SAFTAcctgSupTaxRegnNmbr view inner COMPOSITE SAF-T PT Registration Number Suppliers
I_PT_SAFTBillAcctgOneTimeCust view_entity inner COMPOSITE One Time Customer from Accounting Doc
I_PT_SAFTBillgAcctgCustomer view_entity inner COMPOSITE Customer from Accounting Document
I_PT_SAFTBillgDocCustAddrHist view left_outer COMPOSITE SAF-T PT BillingDoc CustAddr History
I_PT_SAFTBillingCustomer view inner COMPOSITE SAF-T PT Billing Customer
I_PT_SAFTBillingOneTimeCust view inner COMPOSITE SAF-T PT Billing One Time Custmer
I_PT_SAFTGenLdgrOneTmeSupplier view inner COMPOSITE SAFT PT GLEntries OTS
I_PT_SAFTGenLedCustTaxRegnNmbr view inner COMPOSITE SAF-T PT GL Registration Number Customer
I_PT_SAFTGenLedgerCustomer view inner COMPOSITE SAF-T PT Gen Ledger Customer
I_PT_SAFTGenLedgerItem view inner COMPOSITE SAF-T PT Journal Ledger Entry Item
I_PT_SAFTGenLedgerSupplier view inner COMPOSITE SAFT PT GLEntries Supplier
I_PT_SAFTOneTimeCustBillg view_entity inner COMPOSITE One Time Customer from Billing Document
I_PT_SAFTPaymentCustomer view inner COMPOSITE SAF-T Payment Customer
I_PT_SAFTPaytCustTaxRegnNmbr view inner COMPOSITE SAF-T Payment Tax Registration Number
I_PT_SAFTSettlmtMgmtCustomer view inner COMPOSITE SAF-T PT Settlement Management Customer
I_PT_SAFTSettlmtMgmtTaxRegNmbr view inner COMPOSITE SAF-T PT Settlement Mgm Tax Reg Customer
I_PT_SAFTSlsInvcBillgCust view_entity inner COMPOSITE Customer from Billing Document
I_SAFTJournalLineItem view inner COMPOSITE SAF-T Journal Item
P_AR_CashJournalEntry view_entity from COMPOSITE Argentina Cash Journal Accounts Selection
P_AR_GLCashFlowRlvtAcct view_entity from COMPOSITE Argentina G/L Cash Flow Relevant Accounts
P_CN_CADEGLAccountFSVItem view left_outer CONSUMPTION CADE General Ledger Account with FSV Item
P_CN_CADEGLAccountFSVItem2 view left_outer COMPOSITE CADE General Ledger Account with FSV Item (Copy)
P_CN_CADEGLLeafItemAccount view left_outer CONSUMPTION CADE General Ledger Account with Leaf Item Account
P_CN_CADEGLLeafItemAccount2 view left_outer 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_COAChangeListToCoCode view_entity union COMPOSITE Operating Chart of Accounts
P_CompanyCodeGLAccountInCOA view_entity from COMPOSITE Operating Chart of Accounts
P_FinClsgGLAccountInCoCode view_entity from COMPOSITE GL Account in company code
P_FinStmtHierarchyWithCocd view left_outer BASIC a
P_FSTMT_MAP_COA view from CONSUMPTION Map the various accounts of CoAs
P_FsvHierarchWithCOCD view_entity left_outer BASIC fsv hierarchy with company code assigned
P_GLAccountTypeVH view from CONSUMPTION gl account vh
P_GLAccountVH view from CONSUMPTION gl account vh
P_Glaccountwithaccountcurrency view from BASIC GL Account with Account Currency
P_Glacct_In_Cc view from BASIC G/L Account in Company Code
P_GLOverheadAccountVH view from CONSUMPTION gl account vh
P_GR_CustomerLedgerBasicItem view_entity from COMPOSITE Greece Customer Ledger Basic Item
P_GR_CustomerLedgerBasicItem view_entity union_all COMPOSITE Greece Customer Ledger Basic Item
P_GR_StRpTrialBalanceGLAcct view_entity from COMPOSITE Greece All G/L Account
P_LU_SAFTGENLDGRDPZRTAXADDLINE view inner COMPOSITE SAFT LU Add Zero Amount Tax Line
P_LU_SAFTGENLDGRZEROTAXADDLINE view inner COMPOSITE SAFT LU Add Zero Amount Tax Line
P_MX_FinancialStmntStructure view inner COMPOSITE MX Financial Statement Structure
P_NL_SAFTJournalLineItem view inner COMPOSITE Journal Line Items for NL Audit File
P_PH_GeneralLedgerAccount view from CONSUMPTION PH CAS General Ledger Account
P_PH_InputTaxAllocation view left_outer COMPOSITE Calculate Input Tax Allocation
P_RU_FinancialStatementItem view left_outer CONSUMPTION Financial Statement for Russia
P_RU_PaymentDocument2 view inner CONSUMPTION Payment Document
P_UnrealizedCrcyDiff view inner COMPOSITE Unrealized Currency Difference
R_OperatingGLAcctInCoCodeTP view_entity from TRANSACTIONAL Operating G/L Account Company Code Data

Fields (45)

KeyField CDS FieldsUsed in Views
KEY AuthorizationGroup AuthorizationGroup 5
KEY CompanyCode CompanyCode 14
KEY GLAccount COAChangeListTargetNumber,GLAccount,OperationalGLAccount,ReconciliationAccount 26
_CompanyCode _CompanyCode 1
_GLAcctInCoCodeStatus _GLAcctInCoCodeStatus 1
_Reconciliationaccttype _Reconciliationaccttype 1
_TaxCategory _TaxCategory 1
AccountingClerk AccountingClerk 3
AccountIsBlockedForPosting AccountIsBlockedForPosting 3
AccountIsMarkedForDeletion AccountIsMarkedForDeletion 4
AcctgDocItmDisplaySequenceRule AcctgDocItmDisplaySequenceRule 3
AlternativeGLAccount AlternativeGLAccount 19
APARToleranceGroup APARToleranceGroup 3
BalanceHasLocalCurrency BalanceHasLocalCurrency 4
CashPlanningGroup CashPlanningGroup 3
ClearingIsLedgerGroupSpecific ClearingIsLedgerGroupSpecific 4
CommitmentItem CommitmentItem 1
CreatedByUser CreatedByUser 4
CreationDate CreationDate 4
ExchRateDifferencesAccountDetn ExchRateDifferencesAccountDetn 4
FieldStatusGroup FieldStatusGroup 3
GLAccountCurrency GLAccountCurrency 4
GLAcctInflationKey GLAcctInflationKey 3
HouseBank HouseBank 4
HouseBankAccount HouseBankAccount 4
InterestCalculationCode InterestCalculationCode 4
InterestCalculationDate InterestCalculationDate 4
IntrstCalcFrequencyInMonths IntrstCalcFrequencyInMonths 4
IsAutomaticallyPosted IsAutomaticallyPosted 3
IsCashFlowAccount IsCashFlowAccount 3
IsExtendedOpenItemManaged IsExtendedOpenItemManaged 3
IsManagedExternally IsManagedExternally 3
IsOpenItemManaged IsOpenItemManaged 4
JointVentureRecoveryCode JointVentureRecoveryCode 3
LastChangeDateTime LastChangeDateTime 1
LastInterestCalcRunDate LastInterestCalcRunDate 3
LineItemDisplayIsEnabled LineItemDisplayIsEnabled 3
MultiCurrencyAccountingCode MultiCurrencyAccountingCode 3
PlanningLevel PlanningLevel 4
ReconciliationAccountType ReconciliationAccountType 9
ReconciliationAcctIsChangeable ReconciliationAcctIsChangeable 3
SupplementIsAllowed SupplementIsAllowed 4
TaxCategory TaxCategory 5
TaxCodeIsRequired TaxCodeIsRequired 4
ValuationGroup ValuationGroup 3
@EndUserText.label: 'General Ledger Account in Company Code'
@Analytics: {dataCategory: #DIMENSION, 
             dataExtraction: {
                                enabled: true,
                                delta.changeDataCapture: {
                                                           automatic: true        
                                                         }
                             }
             }
@VDM.viewType: #BASIC

@AbapCatalog: {
                 sqlViewName:      'IFIGLACCINCCODE',
                 preserveKey:      true,
                 buffering.status: #NOT_ALLOWED
              }

@ObjectModel: {
                 entityChangeStateId: 'LastChangeDateTime',
                 representativeKey: 'GLAccount',
                 sapObjectNodeType.name: 'OperatingGeneralLedgerAccount',
                 supportedCapabilities:[#CDS_MODELING_DATA_SOURCE,#SEARCHABLE_ENTITY,#EXTRACTION_DATA_SOURCE],
                 usageType: {
                                sizeCategory: #M,
                                dataClass:  #MASTER,
                                serviceQuality: #C
                            }
              }


@ClientHandling.algorithm: #SESSION_VARIABLE

@AccessControl.authorizationCheck: #CHECK

@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true

@Search.searchable: true


define view I_GLAccountInCompanyCode 
  as select from skb1

  association [0..1] to I_CompanyCode                 as _CompanyCode             on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..*] to I_GlAccountTextInCompanycode  as _Text                    on  $projection.CompanyCode = _Text.CompanyCode
                                                                                  and $projection.GLAccount   = _Text.GLAccount
  association [1..1] to I_User                        as _User                    on  $projection.CreatedByUser = _User.UserID
  association [0..1] to I_Reconciliationaccttype      as _Reconciliationaccttype  on  $projection.ReconciliationAccountType = _Reconciliationaccttype.ReconciliationAccountType
  association [0..1] to I_JointVentureRecovery        as _JointVentureRecovery    on  $projection.CompanyCode              = _JointVentureRecovery.CompanyCode
                                                                                  and $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode
  association [0..1] to I_MultiCurrencyAccounting     as _MultiCurrencyAccounting on  $projection.MultiCurrencyAccountingCode = _MultiCurrencyAccounting.MultiCurrencyAccountingCode

  association [0..1] to I_TaxCategory                 as _TaxCategory             on  $projection.CompanyCode = _TaxCategory.CompanyCode
                                                                                  and $projection.TaxCategory = _TaxCategory.TaxCategory

  association [0..1] to I_GLAcctInCoCodeImplementStat as _GLAcctInCoCodeStatus      on  $projection.CompanyCode  = _GLAcctInCoCodeStatus.CompanyCode
                                                                                  and $projection.GLAccount    = _GLAcctInCoCodeStatus.GLAccount
    
  association [0..1] to I_CommitmentItemShortID        as _CommitmentItemShortID  on  $projection.CommitmentItemShortID = _CommitmentItemShortID.CommitmentItemShortID
{
      @ObjectModel.text.association: '_Text'
      @Search.defaultSearchElement:true
      @Search.fuzzinessThreshold:0.8
      @Search.ranking:#HIGH
  key skb1.saknr                                                    as GLAccount,
      @ObjectModel.foreignKey.association: '_CompanyCode' //Inserted by VDM CDS Suite Plugin

  key skb1.bukrs                                                    as CompanyCode,
      skb1.begru                                                    as AuthorizationGroup,
      skb1.busab                                                    as AccountingClerk,
      skb1.datlz                                                    as LastInterestCalcRunDate,
      skb1.erdat                                                    as CreationDate,
      skb1.ernam                                                    as CreatedByUser,
      cast(case
        when skb1.last_changed_ts    = 0 then cast( '19700101010101' as timestamp )
        else skb1.last_changed_ts
      end as timestamp)                                             as LastChangeDateTime,
      skb1.fdlev                                                    as PlanningLevel,
      skb1.hbkid                                                    as HouseBank,
      skb1.hktid                                                    as HouseBankAccount,
      skb1.kdfsl                                                    as ExchRateDifferencesAccountDetn,
      @ObjectModel.foreignKey.association: '_Reconciliationaccttype'
      skb1.mitkz                                                    as ReconciliationAccountType,
      @ObjectModel.foreignKey.association: '_TaxCategory'
      skb1.mwskz                                                    as TaxCategory,
      skb1.vzskz                                                    as InterestCalculationCode,
      skb1.waers                                                    as GLAccountCurrency,
      skb1.xmitk                                                    as ReconciliationAcctIsChangeable,
      //skb1.wmeth as IsManagedExternally,

      cast( substring(skb1.wmeth, 1, 1) as fac_gl_acct_extern_ind ) as IsManagedExternally,
      skb1.xintb                                                    as IsAutomaticallyPosted,
      skb1.xkres                                                    as LineItemDisplayIsEnabled,
      skb1.xnkon                                                    as SupplementIsAllowed,
      skb1.xopvw                                                    as IsOpenItemManaged,
      skb1.zindt                                                    as InterestCalculationDate,
      skb1.zinrt                                                    as IntrstCalcFrequencyInMonths,
      skb1.zuawa                                                    as AcctgDocItmDisplaySequenceRule,
      cast(skb1.altkt as fis_alternativeglaccount preserving type ) as AlternativeGLAccount,
      skb1.recid                                                    as JointVentureRecoveryCode,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'CommitmentItemShortID'
      skb1.fipos                                                    as CommitmentItem,
      cast(skb1.fipos as fmis_ci_internalname preserving type)      as CommitmentItemShortID,
      skb1.xmwno                                                    as TaxCodeIsRequired,
      skb1.xsalh                                                    as BalanceHasLocalCurrency,
      skb1.bewgp                                                    as ValuationGroup,
      skb1.togru                                                    as APARToleranceGroup,
      skb1.xspeb                                                    as AccountIsBlockedForPosting,
      skb1.xloeb                                                    as AccountIsMarkedForDeletion,
      skb1.xlgclr                                                   as ClearingIsLedgerGroupSpecific,
      skb1.fdgrv                                                    as CashPlanningGroup,
      skb1.xgkon                                                    as IsCashFlowAccount,
      skb1.infky                                                    as GLAcctInflationKey,
      skb1.fstag                                                    as FieldStatusGroup,
      skb1.mcakey                                                   as MultiCurrencyAccountingCode,
      skb1.x_uj_clr                                                 as IsExtendedOpenItemManaged,
      _User,
      _CompanyCode,
      _Text,
      @ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
      _Reconciliationaccttype,
      _JointVentureRecovery,
      _MultiCurrencyAccounting,
      _TaxCategory,
      _GLAcctInCoCodeStatus
};