P_AssetClassText

DDL: P_ASSETCLASSTEXT Type: view BASIC

P_AssetClassText is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (ankt, faac_acls0_t, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus) and exposes 9 fields with key fields AssetClass, Language, Language.

Data Sources (4)

SourceAliasJoin Type
ankt ankt from
faac_acls0_t faac_acls0_t union_all
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIASSETCLASST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY AssetClass anlkl
KEY Language spras
AssetClassName txk20
AssetClassDescription txk50
IsActiveXkeyasset_classasAssetClass
KEY Language language
AssetClassName description_short
AssetClassDescription description_long
AssetAuthorizationContext
@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
}