P_GLACCTINDEFAULTLANGUAGETEXT

CDS View

GL Account description with default language

P_GLACCTINDEFAULTLANGUAGETEXT is a CDS View in S/4HANA. GL Account description with default language. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_GLAcctInDefaultLanguageText view from BASIC General Ledger Account - Text
@AbapCatalog.sqlViewName: 'PGLACCTINDEFT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #BASIC
@VDM.private:true
@AbapCatalog.buffering.status: #ACTIVE
@AbapCatalog.buffering.type: #FULL
@AbapCatalog.buffering.numberOfKeyFields: 1
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_GLAcctInDefaultLanguageText
  as select from skat
{
  key ktopl,
  key saknr,
  key spras      as Language,
      txt20,
      txt50,
      last_changed_ts,
      'X'        as description_maintained
}

union all

select from       t004
  inner join      skat as default on  t004.ktopl = default.ktopl
                                  and t004.dspra = default.spras
  left outer join skat as logon   on  logon.ktopl = t004.ktopl
                                  and logon.saknr = default.saknr
                                  and logon.spras = $session.system_language
{
  key t004.ktopl,
  key default.saknr,
  key $session.system_language as Language,
      default.txt20,
      default.txt50,
      default.last_changed_ts,
      ''                       as description_maintained
}
where
  logon.txt20 is null