I_CostCenterActivityTypeTP
Cost Center Activity Type
I_CostCenterActivityTypeTP is a Transactional CDS View that provides data about "Cost Center Activity Type" in SAP S/4HANA. It reads from 1 data source (P_CostCenterActivityTypeTP) and exposes 35 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate. It has 1 association to related views. Part of development package ODATA_ACTIVITY_TYPE_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CostCenterActivityTypeTP | P_CostCenterActivityTypeTP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CostCenterActivityTypeTextTP | _CostCenterActivityTypeTextTP | $projection.ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea and $projection.CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType and $projection.ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCACTTYPTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.draft.sharing | #PUBLIC | view | |
| ObjectModel.draft.concurrentEditing | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeDraftPersistence | CSLA_DRAFT | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| EndUserText.label | Cost Center Activity Type | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | ||
| KEY | CostCtrActivityType | CostCtrActivityType | ||
| KEY | ValidityEndDate | ValidityEndDate | ||
| ControllingAreaForEdit | ControllingArea | |||
| CostCtrActivityTypeForEdit | CostCtrActivityType | |||
| ValidityEndDateForEdit | ValidityEndDate | |||
| ValidityStartDate | ValidityStartDate | |||
| CostCtrActivityTypeQtyUnit | CostCtrActivityTypeQtyUnit | |||
| CostCtrActivityTypeCategory | CostCtrActivityTypeCategory | |||
| AllocationCostElement | AllocationCostElement | |||
| CostCtrActivityTypeOutpQtyUnit | CostCtrActivityTypeOutpQtyUnit | |||
| CreationDate | CreationDate | |||
| EnteredByUser | EnteredByUser | |||
| ActlPostgCostCenterActyTypeCat | ActlPostgCostCenterActyTypeCat | |||
| OutputQuantityFactor | OutputQuantityFactor | |||
| ActivityTypeIsBlocked | ActivityTypeIsBlocked | |||
| FixedCostIsPredistributed | FixedCostIsPredistributed | |||
| PriceAllocationMethod | PriceAllocationMethod | |||
| PeriodPriceIsAverage | PeriodPriceIsAverage | |||
| ActyTypeDfltIndicatorIsHidden | ||||
| ActualPriceAllocationMethod | ActualPriceAllocationMethod | |||
| ActualQuantityIsSetManually | ActualQuantityIsSetManually | |||
| PlanQuantityIsSetManually | PlanQuantityIsSetManually | |||
| CostCtrActivityTypeValidCat | CostCtrActivityTypeValidCat | |||
| CostCtrActivityTypeName | ||||
| CostCtrActivityTypeDesc | ||||
| ChartOfAccounts | ChartOfAccounts | |||
| ActivityTypeValidityPeriodText | ||||
| ChangeDocObject | ||||
| _CostCenterActivityTypeTextTP | _CostCenterActivityTypeTextTP | |||
| _Text | _Text | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenterCategory | _CostCenterCategory | |||
| _CostCtrActivityTypeCategory | _CostCtrActivityTypeCategory | |||
| _UnitOfMeasure | _UnitOfMeasure |
@AbapCatalog: {
sqlViewName: 'ICCACTTYPTP',
compiler.compareFilter: true,
preserveKey: true
}
@VDM.viewType: #TRANSACTIONAL
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #NOT_REQUIRED
}
@ClientHandling.algorithm: #SESSION_VARIABLE
// BOPF
@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel.compositionRoot: true
// Draft Related Annotations
@ObjectModel.draftEnabled: true
@ObjectModel.draft.sharing: #PUBLIC
@ObjectModel.draft.concurrentEditing: true
@ObjectModel.transactionalProcessingEnabled: true
@ObjectModel.semanticKey: [ 'ControllingArea', 'CostCtrActivityType', 'ValidityEndDate' ]
@ObjectModel.writeDraftPersistence: 'CSLA_DRAFT'
@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: 'EXTERNAL_CALCULATION'
@ObjectModel.deleteEnabled: 'EXTERNAL_CALCULATION'
//@ObjectModel.entityChangeStateId: 'ETag'
@ObjectModel.usageType.dataClass: #ORGANIZATIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@EndUserText.label: 'Cost Center Activity Type'
define view I_CostCenterActivityTypeTP
as select from P_CostCenterActivityTypeTP
association [1..*] to I_CostCenterActivityTypeTextTP as _CostCenterActivityTypeTextTP on $projection.ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea
and $projection.CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType
and $projection.ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate
{
key ControllingArea,
key CostCtrActivityType,
key ValidityEndDate,
@ObjectModel.mandatory: true
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
@ObjectModel.editableFieldFor: 'ControllingArea'
ControllingArea as ControllingAreaForEdit,
@ObjectModel.mandatory: true
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
@ObjectModel.editableFieldFor: 'CostCtrActivityType'
CostCtrActivityType as CostCtrActivityTypeForEdit,
@ObjectModel.mandatory: true
@ObjectModel.editableFieldFor: 'ValidityEndDate'
ValidityEndDate as ValidityEndDateForEdit,
@ObjectModel.mandatory: true
ValidityStartDate,
@ObjectModel.mandatory: true
CostCtrActivityTypeQtyUnit,
@ObjectModel.mandatory: true
CostCtrActivityTypeCategory,
@ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
AllocationCostElement,
CostCtrActivityTypeOutpQtyUnit,
@ObjectModel.readOnly: true
CreationDate,
@ObjectModel.readOnly: true
EnteredByUser,
ActlPostgCostCenterActyTypeCat,
OutputQuantityFactor,
ActivityTypeIsBlocked,
FixedCostIsPredistributed,
PriceAllocationMethod,
PeriodPriceIsAverage,
@ObjectModel.readOnly: true
cast( 'X' as flag preserving type ) as ActyTypeDfltIndicatorIsHidden,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
ActualPriceAllocationMethod,
ActualQuantityIsSetManually,
PlanQuantityIsSetManually,
@ObjectModel.mandatory: true
CostCtrActivityTypeValidCat,
@ObjectModel.mandatory: true
cast ( CostCtrActivityTypeName as ktext preserving type ) as CostCtrActivityTypeName,
cast ( CostCtrActivityTypeDesc as kltxt preserving type ) as CostCtrActivityTypeDesc,
ChartOfAccounts,
@ObjectModel.readOnly: true
cast( concat(ValidityStartDate, concat('-',ValidityEndDate)) as activitytypevalidityperiodtext) as ActivityTypeValidityPeriodText,
@UI.hidden: true
@ObjectModel.readOnly: true
cast( concat(ControllingArea, CostCtrActivityType) as cdobjectv ) as ChangeDocObject,
// cast(CONCAT ( CONCAT( ControllingArea, CostCtrActivityType), ValidityEndDate ) as hash160) as ETag,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_CostCenterActivityTypeTextTP,
_Text,
_ControllingArea,
_CostCenterCategory,
_CostCtrActivityTypeCategory,
_UnitOfMeasure
}
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