I_TRANSACTIONTYPESTDGLACCT

CDS View

Transaction Type Standard G/L Account

I_TRANSACTIONTYPESTDGLACCT is a CDS View in S/4HANA. Transaction Type Standard G/L Account. It contains 1 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
C_InventoryGLAcctBalCube view left_outer CONSUMPTION Turkey Inventory CDS cube view
P_CO_DIANInventoryGLAccount view inner CONSUMPTION All Formats - Inventory G/L Account

Fields (1)

KeyField CDS FieldsUsed in Views
DebitGLAccount DebitGLAccount 1
@AbapCatalog.sqlViewName: 'IFISTDGLACCT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Transaction Type Standard G/L Account'
@Metadata.ignorePropagatedAnnotations: true

@VDM.viewType: #BASIC

@AbapCatalog.buffering: {
  type: #GENERIC,
  numberOfKeyFields: 2,
  status: #ACTIVE
}
@ObjectModel:{
  usageType: {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #A
  },
  supportedCapabilities:[#CDS_MODELING_DATA_SOURCE]
}

define view I_TransactionTypeStdGLAcct
  as select from t030

  association [0..1] to I_StandardGLAcctDetnRule as _StandardGLAcctDetnRule on  $projection.ChartOfAccounts              = _StandardGLAcctDetnRule.ChartOfAccounts
                                                                            and $projection.TransactionTypeDetermination = _StandardGLAcctDetnRule.TransactionTypeDetermination

{
  key cast (ktopl as fis_ktopl preserving type)                    as ChartOfAccounts,
  key cast (ktosl as fac_ktosl preserving type )                   as TransactionTypeDetermination,
  key bwmod                                                        as ValuationAreaGroup,
  key komok                                                        as GLAcctDetnDifferentiation,
  key bklas                                                        as ValuationClass,
      cast (konts as ftr_gen_gl_account_debit preserving type)     as DebitGLAccount,
      cast (case
              when konth is null then konts
              else konth
            end as ftr_gen_gl_account_credit preserving type )     as CreditGLAccount

  ,_StandardGLAcctDetnRule
}