P_FixedAssetVH

DDL: P_FIXEDASSETVH Type: view COMPOSITE

P_FixedAssetVH is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_FixedAsset) and exposes 7 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset.

Data Sources (1)

SourceAliasJoin Type
I_FixedAsset I_FixedAsset from

Annotations (8)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FixedAsset CompanyCode
KEY MasterFixedAsset I_FixedAsset MasterFixedAsset
KEY FixedAsset I_FixedAsset FixedAsset
FixedAssetDescription I_FixedAsset FixedAssetDescription
AssetClass I_FixedAsset AssetClass
AssetAuthorizationContext I_FixedAsset AssetAuthorizationContext
AssetCapitalizationDate P_FixedAssetVH1 AssetCapitalizationDate
@AbapCatalog: {sqlViewName: 'PFIFXDASTVH', preserveKey: true, compiler.compareFilter: true}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

define view P_FixedAssetVH
  as select from           I_FixedAsset
    left outer to one join P_FixedAssetVH1 on  I_FixedAsset.CompanyCode      = P_FixedAssetVH1.CompanyCode
                                           and I_FixedAsset.MasterFixedAsset = P_FixedAssetVH1.MasterFixedAsset
                                           and I_FixedAsset.FixedAsset       = P_FixedAssetVH1.FixedAsset
{
  key I_FixedAsset.CompanyCode,
  key I_FixedAsset.MasterFixedAsset,
  key I_FixedAsset.FixedAsset,

      I_FixedAsset.FixedAssetDescription,
      I_FixedAsset.AssetClass,
      I_FixedAsset.AssetAuthorizationContext, //Needed for DCL


      P_FixedAssetVH1.AssetCapitalizationDate //Mininum of AssetCapitalizationDate on ledger level

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FIXEDASSET",
"P_FIXEDASSETVH1"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/