P_AUDIT_AT_AstSrtKeyFigSetSpec
P_AUDIT_AT_AstSrtKeyFigSetSpec is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_AssetKeyFigureSetSpec, I_AssetKeyFigureText) and exposes 5 fields with key fields AssetAccountingKeyFigureSet, AssetAccountingKeyFigure.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetKeyFigureSetSpec | a | from |
| I_AssetKeyFigureText | AssetKeyFigureText | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAUDITATASTSRTKF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssetAccountingKeyFigureSet | I_AssetKeyFigureSetSpec | AssetAccountingKeyFigureSet | |
| KEY | AssetAccountingKeyFigure | I_AssetKeyFigureSetSpec | AssetAccountingKeyFigure | |
| AssetAcctgKeyFigureSortSqnc | I_AssetKeyFigureSetSpec | AssetAcctgKeyFigureSortSqnc | ||
| _AssetKeyFigureSet | I_AssetKeyFigureSetSpec | _AssetKeyFigureSet | ||
| _AssetKeyFigure | I_AssetKeyFigureSetSpec | _AssetKeyFigure |
@AbapCatalog.sqlViewName: 'PAUDITATASTSRTKF'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #MASTER
// get sequence for asset key figures per asset key figure set and text in German
define view P_AUDIT_AT_AstSrtKeyFigSetSpec
as select from I_AssetKeyFigureSetSpec as a
left outer join I_AssetKeyFigureText as AssetKeyFigureText on AssetKeyFigureText.AssetAccountingKeyFigure = a.AssetAccountingKeyFigure
and AssetKeyFigureText.Language = 'D'
{
@ObjectModel.foreignKey.association: '_AssetKeyFigureSet'
key a.AssetAccountingKeyFigureSet,
@ObjectModel.foreignKey.association: '_AssetKeyfigure'
key a.AssetAccountingKeyFigure,
a.AssetAcctgKeyFigureSortSqnc,
@Semantics.text
case
when AssetKeyFigureText.AssetAccountingKeyFigureText <> '' and AssetKeyFigureText.AssetAccountingKeyFigureText is not null
then AssetKeyFigureText.AssetAccountingKeyFigureText
else a.AssetAccountingKeyFigure
end as AssetAcctgKeyFigureDescription,
a._AssetKeyFigureSet,
a._AssetKeyFigure
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ASSETKEYFIGURESETSPEC",
"I_ASSETKEYFIGURETEXT"
],
"ASSOCIATED":
[
"I_ASSETKEYFIGURE",
"I_ASSETKEYFIGURESET"
],
"BASE":
[
"I_ASSETKEYFIGURESETSPEC"
],
"ANNO_REF":
[],
"VERSION":0
}
}*/
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