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

CDS Views using this table (71)

ViewTypeJoinVDMDescription
C_AllocationSenderGLAcctVH view from CONSUMPTION Allocation Sender GL Account
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_GR_StRpTrialBalGLAcctCube view_entity inner CONSUMPTION Greece Trial Balance all GL Acct - Cube
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_SAFTAccountGenLedgerC view_entity inner CONSUMPTION GL Account of Gen Ledger Document - Cube
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 from Greece GLAccount global hierarchy detail
FIISAL_GR_GLAcctHierDetail view_entity union 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 from BASIC General Ledger Account in Company Code
I_LU_SAFTAdditionalZeroLine view inner COMPOSITE SAFT LU Additional VAT Zero Line
I_LU_SAFTJournalEntry view inner COMPOSITE SAFT LU General Ledger Documents
I_OpeningBalanceTransCrcy view left_outer COMPOSITE Opening Balance In Transaction Currency
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_SAFTBillgCustTaxRegnNmbr view inner COMPOSITE SAF-T Billing Tax Registration Number
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_SAFTGenLedgerOneTimeCust view inner COMPOSITE SAF-T PT Gen Ledger OneTimeCustomer
I_PT_SAFTGenLedgerSupplier view inner COMPOSITE SAFT PT GLEntries Supplier
I_PT_SAFTPaymentCustomer view inner COMPOSITE SAF-T Payment Customer
I_PT_SAFTPaymentOneTimeCust view inner COMPOSITE SAF-T Payment One Time Customer
I_PT_SAFTPaytCustTaxRegnNmbr view inner COMPOSITE SAF-T Payment Tax Registration Number
I_PT_SAFTSelfBillgCustAddrHist view left_outer COMPOSITE SAF-T PT Self-Billing CustAddr History
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_SAFTJournalLineItem view inner COMPOSITE SAF-T Journal Item
P_CN_CADEGLAccountFSVItem view left_outer CONSUMPTION
P_CN_CADEGLAccountFSVItem2 view left_outer COMPOSITE
P_CN_CADEGLLeafItemAccount view left_outer CONSUMPTION
P_CN_CADEGLLeafItemAccount2 view left_outer COMPOSITE
P_CN_GLAcctPerd view inner CONSUMPTION Cartesian Product of G/L Account and Fiscal Period
P_COAChangeListToCoCode view union COMPOSITE
P_FinStmtHierarchyWithCocd view left_outer BASIC
P_FSTMT_MAP_COA view from CONSUMPTION
P_FsvHierarchWithCOCD view left_outer BASIC
P_GLAccountSemTagInCompanyCode view inner COMPOSITE
P_GLAccountTypeVH view from CONSUMPTION
P_GLAccountVH view from CONSUMPTION gl account vh
P_Glaccountwithaccountcurrency view from BASIC
P_Glacct_In_Cc view from BASIC
P_GLOverheadAccountVH view from CONSUMPTION gl account vh
P_LU_SAFTGENLDGRDPZRTAXADDLINE view inner COMPOSITE
P_LU_SAFTGENLDGRZEROTAXADDLINE view inner COMPOSITE
P_MX_FinancialStmntStructure view inner COMPOSITE
P_NL_SAFTJournalLineItem view inner COMPOSITE
P_Opening_Bal_Tran_Curr view left_outer BASIC
P_PH_GeneralLedgerAccount view from CONSUMPTION
P_PH_InputTaxAllocation view left_outer COMPOSITE
P_RU_FinancialStatementItem view left_outer CONSUMPTION Financial Statement for Russia
P_RU_PaymentDocument2 view inner CONSUMPTION
P_UnrealizedCrcyDiff view inner COMPOSITE

Fields (44)

KeyField CDS FieldsUsed in Views
KEY AuthorizationGroup AuthorizationGroup 5
KEY CompanyCode CompanyCode 11
KEY GLAccount COAChangeListTargetNumber,GLAccount,OperationalGLAccount,ReconciliationAccount 23
_CompanyCode _CompanyCode 1
_Reconciliationaccttype _Reconciliationaccttype 1
_TaxCategory _TaxCategory 1
AccountingClerk AccountingClerk 2
AccountIsBlockedForPosting AccountIsBlockedForPosting 2
AccountIsMarkedForDeletion AccountIsMarkedForDeletion 3
AcctgDocItmDisplaySequenceRule AcctgDocItmDisplaySequenceRule 2
AlternativeGLAccount AlternativeGLAccount 17
APARToleranceGroup APARToleranceGroup 2
BalanceHasLocalCurrency BalanceHasLocalCurrency 3
CashPlanningGroup CashPlanningGroup 2
ClearingIsLedgerGroupSpecific ClearingIsLedgerGroupSpecific 3
CommitmentItem CommitmentItem 1
CreatedByUser CreatedByUser 3
CreationDate CreationDate 3
ExchRateDifferencesAccountDetn ExchRateDifferencesAccountDetn 3
FieldStatusGroup FieldStatusGroup 2
GLAccountCurrency GLAccountCurrency 3
GLAcctInflationKey GLAcctInflationKey 2
HouseBank HouseBank 3
HouseBankAccount HouseBankAccount 3
InterestCalculationCode InterestCalculationCode 3
InterestCalculationDate InterestCalculationDate 3
IntrstCalcFrequencyInMonths IntrstCalcFrequencyInMonths 3
IsAutomaticallyPosted IsAutomaticallyPosted 2
IsCashFlowAccount IsCashFlowAccount 2
IsExtendedOpenItemManaged IsExtendedOpenItemManaged 2
IsManagedExternally IsManagedExternally 2
IsOpenItemManaged IsOpenItemManaged 3
JointVentureRecoveryCode JointVentureRecoveryCode 2
LastChangeDateTime LastChangeDateTime 1
LastInterestCalcRunDate LastInterestCalcRunDate 2
LineItemDisplayIsEnabled LineItemDisplayIsEnabled 2
MultiCurrencyAccountingCode MultiCurrencyAccountingCode 2
PlanningLevel PlanningLevel 3
ReconciliationAccountType ReconciliationAccountType 8
ReconciliationAcctIsChangeable ReconciliationAcctIsChangeable 2
SupplementIsAllowed SupplementIsAllowed 3
TaxCategory TaxCategory 4
TaxCodeIsRequired TaxCodeIsRequired 3
ValuationGroup ValuationGroup 2
@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',
                 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
};

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SKB1"
],
"ASSOCIATED":
[
"I_COMMITMENTITEMSHORTID",
"I_COMPANYCODE",
"I_GLACCOUNTTEXTINCOMPANYCODE",
"I_GLACCTINCOCODEIMPLEMENTSTAT",
"I_JOINTVENTURERECOVERY",
"I_MULTICURRENCYACCOUNTING",
"I_RECONCILIATIONACCTTYPE",
"I_TAXCATEGORY",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/