P_NextCostCtrActivityType
N
P_NextCostCtrActivityType is a Composite CDS View that provides data about "N" in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityType) and exposes 3 fields with key fields ControllingArea, CostCtrActivityType. Part of development package FINS_FIS_FICO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CostCenterActivityType | I_CostCenterActivityType | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.representativeKey | CostCtrActivityType | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | I_CostCenterActivityType | ControllingArea | |
| KEY | CostCtrActivityType | I_CostCenterActivityType | CostCtrActivityType | |
| ValidityEndDate |
@VDM.viewType:#COMPOSITE
@VDM.private:true
//@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'CostCtrActivityType'
//@Analytics.technicalName: 'PFINEXTCCAT'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view entity P_NextCostCtrActivityType with parameters
@Consumption.hidden: true
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : sydate
as select from I_CostCenterActivityType as I_CostCenterActivityType {
key I_CostCenterActivityType.ControllingArea,
key I_CostCenterActivityType.CostCtrActivityType,
// @Semantics.businessDate.to: true
min( I_CostCenterActivityType.ValidityEndDate ) as ValidityEndDate
// @Semantics.businessDate.from: true
// ValidityStartDate,
}
where I_CostCenterActivityType.ValidityStartDate > $parameters.P_KeyDate
group by I_CostCenterActivityType.ControllingArea, I_CostCenterActivityType.CostCtrActivityType
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