P_AssetDepreciationAreaSetting

DDL: P_ASSETDEPRECIATIONAREASETTING SQL: P_AA_CMP_DA Type: view BASIC

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)

SourceAliasJoin Type
faat_cmp_da faat_cmp_da from

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/