P_ActyTypeValidLatest

DDL: P_ACTYTYPEVALIDLATEST SQL: PACTYLTST Type: view BASIC

Cost Center Activity Types With Max End Date

P_ActyTypeValidLatest is a Basic CDS View that provides data about "Cost Center Activity Types With Max End Date" in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityType) and exposes 3 fields with key fields ControllingArea, CostCtrActivityType.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterActivityType I_CostCenterActivityType from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PACTYLTST 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
EndUserText.label Cost Center Activity Types With Max End Date view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea
KEY CostCtrActivityType CostCtrActivityType
ValidityEndDate
@AbapCatalog.sqlViewName: 'PACTYLTST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #BASIC
--@EndUserText.label: 'Cost Center Activity Types With Max End Date'
define view P_ActyTypeValidLatest as select from I_CostCenterActivityType {
    //I_CostCenterActivityType 

    key ControllingArea, 
    key CostCtrActivityType, 
    max(ValidityEndDate) as  ValidityEndDate
}

group by ControllingArea, CostCtrActivityType
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCENTERACTIVITYTYPE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/