P_AssetDepreciationAreaSetting
P_AssetDepreciationAreaSetting is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (faat_cmp_da) and exposes 4 fields with key fields CompanyCode, Ledger, AssetDepreciationArea.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| faat_cmp_da | faat_cmp_da | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_AA_CMP_DA | 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 | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | comp_code | ||
| KEY | Ledger | ledger | ||
| KEY | AssetDepreciationArea | depr_area | ||
| AssetAcctgLastClosedFiscalYear | closed_fisc_year |
@AbapCatalog.sqlViewName: 'P_AA_CMP_DA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
private: true,
viewType: #BASIC}
@ObjectModel.usageType:
{
serviceQuality: #A,
dataClass: #MASTER,
sizeCategory: #XXL
}
define view P_AssetDepreciationAreaSetting
as select from faat_cmp_da
{
key comp_code as CompanyCode,
key ledger as Ledger,
key depr_area as AssetDepreciationArea,
(cast (closed_fisc_year as abap.int2) +1) as min_open_year,
// cast(cast((cast (closed_fisc_year as abap.int2) +1) as abap.char(19))as abap.numc(4)) as min_open_year,
closed_fisc_year as AssetAcctgLastClosedFiscalYear
//(cast (closed_fisc_year as abap.int2) +1) as min_open_year
// _CompanyCode,
// _Ledger,
// _AssetDepreciationArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FAAT_CMP_DA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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