I_CostCenterActivityTypeCtrl
Cost Center Activity Type Control Data
I_CostCenterActivityTypeCtrl is a Basic CDS View (Dimension) that provides data about "Cost Center Activity Type Control Data" in SAP S/4HANA. It reads from 1 data source (cssl) and exposes 20 fields with key fields ControllingArea, FiscalYear. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cssl | cssl | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..*] | I_CostCenterActivityType | _CostCtrActivityType | $projection.ControllingArea = _CostCtrActivityType.ControllingArea and $projection.CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType |
| [0..*] | I_CostCenterActivityTypeText | _Text | $projection.ControllingArea = _Text.ControllingArea and $projection.CostCtrActivityType = _Text.CostCtrActivityType |
| [0..*] | I_CostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter -- |
| [0..*] | I_CostCenterText | _CCText | $projection.ControllingArea = _CCText.ControllingArea |
| [0..1] | I_CostCenterActivityTypeCat | _CostCtrActivityTypeCategory | $projection.CostCtrActivityTypeCategory = _CostCtrActivityTypeCategory.CostCtrActivityTypeCategory |
| [0..1] | I_ActlPostgCostCtrActyTypeCat | _ActlPostgCostCtrActyTypeCat | $projection.ActlPostgCostCenterActyTypeCat = _ActlPostgCostCtrActyTypeCat.ActlPostgCostCenterActyTypeCat |
| [0..*] | I_FiscalYear | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.CostCtrActivityTypeQtyUnit = _UnitOfMeasure.UnitOfMeasure |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFICCACTCTRL | view | |
| ObjectModel.representativeKey | CostCtrActivityType | view | |
| EndUserText.label | Cost Center Activity Type Control Data | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.allowExtensions | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | |||
| keykostlasCostCenter | ||||
| keylstarasCostCtrActivityType | ||||
| KEY | FiscalYear | gjahr | ||
| CostCollector | cckey | |||
| CostCtrActivityTypeCategory | latyp | |||
| CostCtrActivityTypeQtyUnit | leinh | |||
| OutputQuantityFactor | ausfk | |||
| CostCtrActivityTypeOutpQtyUnit | auseh | |||
| ControllingObject | ||||
| ActlPostgCostCenterActyTypeCat | latypi | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _CostCtrActivityType | _CostCtrActivityType | |||
| _CostCtrActivityTypeCategory | _CostCtrActivityTypeCategory | |||
| _ActlPostgCostCtrActyTypeCat | _ActlPostgCostCtrActyTypeCat | |||
| _FiscalYear | _FiscalYear | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _CCText | ||||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'IFICCACTCTRL'
@ObjectModel.representativeKey: 'CostCtrActivityType'
@EndUserText.label: 'Cost Center Activity Type Control Data'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #M
}
@Analytics: {dataCategory: #DIMENSION, dataExtraction.enabled: true}
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@Metadata.allowExtensions: true
define view I_CostCenterActivityTypeCtrl as select from cssl
association [1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [0..*] to I_CostCenterActivityType as _CostCtrActivityType on $projection.ControllingArea = _CostCtrActivityType.ControllingArea
and $projection.CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType
association [0..*] to I_CostCenterActivityTypeText as _Text on $projection.ControllingArea = _Text.ControllingArea
and $projection.CostCtrActivityType = _Text.CostCtrActivityType
association [0..*] to I_CostCenter as _CostCenter on $projection.ControllingArea = _CostCenter.ControllingArea
and $projection.CostCenter = _CostCenter.CostCenter
--association [0..*] to I_CostCenterText as _CCText on $projection.ControllingArea = _CCText.ControllingArea
association [0..1] to I_CostCenterActivityTypeCat as _CostCtrActivityTypeCategory on $projection.CostCtrActivityTypeCategory = _CostCtrActivityTypeCategory.CostCtrActivityTypeCategory
association [0..1] to I_ActlPostgCostCtrActyTypeCat as _ActlPostgCostCtrActyTypeCat on $projection.ActlPostgCostCenterActyTypeCat = _ActlPostgCostCtrActyTypeCat.ActlPostgCostCenterActyTypeCat
association [0..*] to I_FiscalYear as _FiscalYear on $projection.FiscalYear = _FiscalYear.FiscalYear
association [0..1] to I_UnitOfMeasure as _UnitOfMeasure on $projection.CostCtrActivityTypeQtyUnit = _UnitOfMeasure.UnitOfMeasure
{
//CSSL
@ObjectModel.foreignKey.association: '_ControllingArea'
key cast( kokrs as fis_kokrs preserving type ) as ControllingArea,
@ObjectModel.foreignKey.association: '_CostCenter'
--@ObjectModel.text.association: '_CCText'
key kostl as CostCenter,
--@ObjectModel.foreignKey.association: '_CostCtrActivityType'
@ObjectModel.text.association: '_Text'
key lstar as CostCtrActivityType,
@ObjectModel.foreignKey.association: '_FiscalYear'
key gjahr as FiscalYear,
cckey as CostCollector,
@ObjectModel.foreignKey.association: '_CostCtrActivityTypeCategory'
latyp as CostCtrActivityTypeCategory,
@ObjectModel.foreignKey.association: '_UnitOfMeasure'
@Semantics.unitOfMeasure:true
leinh as CostCtrActivityTypeQtyUnit,
@DefaultAggregation: #SUM
//@Semantics: { quantity : {unitOfMeasure: 'CostCtrActivityTypeQtyUnit'} }
ausfk as OutputQuantityFactor,
auseh as CostCtrActivityTypeOutpQtyUnit,
cast(objnr as j_objnr preserving type ) as ControllingObject,
@ObjectModel.foreignKey.association: '_ActlPostgCostCtrActyTypeCat'
latypi as ActlPostgCostCenterActyTypeCat,
_ControllingArea,
_CostCenter,
_CostCtrActivityType,
_CostCtrActivityTypeCategory,
_ActlPostgCostCtrActyTypeCat,
_FiscalYear,
_UnitOfMeasure,
--_CCText,
_Text
}
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