P_AssetClassText
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA