P_ASSETCLASSTEXT

CDS View

P_ASSETCLASSTEXT is a CDS View in S/4HANA. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_AssetClassText view from BASIC Asset Class - Text
@AbapCatalog: { sqlViewName: 'PFIASSETCLASST', preserveKey: true, compiler.compareFilter: true }
@VDM.viewType: #BASIC
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED

define view P_AssetClassText
  as select from ankt
    inner join   P_TF_AssetRedesignSwitchStatus( P_SAPClient : $session.client ) on P_TF_AssetRedesignSwitchStatus.IsActive = ''
{
  key anlkl                            as AssetClass,
  key spras                            as Language,

      txk20                            as AssetClassName,
      txk50                            as AssetClassDescription,
      cast('CLASSIC' as faa_authcntxt) as AssetAuthorizationContext
}

union all select from faac_acls0_t
  inner join          P_TF_AssetRedesignSwitchStatus( P_SAPClient : $session.client ) on P_TF_AssetRedesignSwitchStatus.IsActive = 'X'
{
  key asset_class                  as AssetClass,
  key language                     as Language,

      description_short            as AssetClassName,
      description_long             as AssetClassDescription,
      cast('NEW' as faa_authcntxt) as AssetAuthorizationContext
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ANKT",
"FAAC_ACLS0_T"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/