C_CostCenterActivityTypeTP
Activity Type Master Record
C_CostCenterActivityTypeTP is a Consumption CDS View that provides data about "Activity Type Master Record" in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityTypeTP) and exposes 48 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CostCenterActivityTypeTP | I_CostCenterActivityTypeTP | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_CostCenterActivityTypeTextTP | _CostCenterActivityTypeTextTP | $projection.ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea and $projection.CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType and $projection.ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate |
| [0..1] | I_UserContactCard | _EnteredByUser | $projection.EnteredByUser = _EnteredByUser.ContactCardID |
| [0..1] | I_UnitOfMeasure | _CostCtrActivityTypeQtyUnit | $projection.CostCtrActivityTypeQtyUnit = _CostCtrActivityTypeQtyUnit.UnitOfMeasure_E |
| [0..1] | I_UnitOfMeasure | _CostCtrActyTypeOutpQtyUnit | $projection.CostCtrActivityTypeOutpQtyUnit = _CostCtrActyTypeOutpQtyUnit.UnitOfMeasure_E |
| [0..1] | I_CostElementOnChartOfAccounts | _CostElementOnChartOfAccounts | $projection.ChartOfAccounts = _CostElementOnChartOfAccounts.ChartOfAccounts and $projection.AllocationCostElement = _CostElementOnChartOfAccounts.CostElement |
| [0..1] | I_PriceAllocationMethod | _PriceAllocationMethod | $projection.PriceAllocationMethod = _PriceAllocationMethod.PriceAllocationMethod |
| [0..1] | I_PriceAllocationMethod | _ActualPriceAllocationMethod | $projection.ActualPriceAllocationMethod = _ActualPriceAllocationMethod.PriceAllocationMethod |
| [0..1] | I_ActlPostgCostCtrActyTypeCat | _ActlPostgCostCtrActyTypeCat | $projection.ActlPostgCostCenterActyTypeCat = _ActlPostgCostCtrActyTypeCat.ActlPostgCostCenterActyTypeCat |
| [0..*] | C_CostCtrActyTypeChgDocument | _CostCtrActyTypeChgDocument | $projection.ChangeDocObject = _CostCtrActyTypeChgDocument.ChangeDocObject and _CostCtrActyTypeChgDocument.ChangeDocumentSAPClient = $session.client and $projection.ControllingAreaForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentControllingArea and $projection.CostCtrActivityTypeForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentActivityType and $projection.ValidityEndDateForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentValidityEndDate |
Annotations (24)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCCACTTYPTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| Consumption.semanticObject | ActivityType | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| UI.headerInfo.typeName | Activity Type | view | |
| UI.headerInfo.typeNamePlural | Activity Types | view | |
| UI.headerInfo.title.label | Activity Type | view | |
| UI.headerInfo.title.value | CostCtrActivityTypeForEdit | view | |
| UI.headerInfo.description.value | CostCtrActivityTypeName | view | |
| EndUserText.label | Activity Type Master Record | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | CostCtrActivityType | CostCtrActivityType | Activity Type | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| ControllingAreaForEdit | ControllingAreaForEdit | Controlling Area | ||
| CostCtrActivityTypeForEdit | CostCtrActivityTypeForEdit | Activity Type | ||
| CostCtrActivityTypeName | CostCtrActivityTypeName | |||
| CostCtrActivityTypeDesc | CostCtrActivityTypeDesc | |||
| ValidityEndDateForEdit | ValidityEndDateForEdit | Valid To | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| CostCtrActivityTypeQtyUnit | CostCtrActivityTypeQtyUnit | |||
| CostCtrActivityTypeValidCat | CostCtrActivityTypeValidCat | |||
| CreationDate | CreationDate | Time Stamp | ||
| EnteredByUser | EnteredByUser | |||
| FullName | _EnteredByUser | FullName | Name | |
| CostCtrActivityTypeCategory | CostCtrActivityTypeCategory | |||
| AllocationCostElement | AllocationCostElement | |||
| PriceAllocationMethod | PriceAllocationMethod | |||
| ActualQuantityIsSetManually | ActualQuantityIsSetManually | |||
| PlanQuantityIsSetManually | PlanQuantityIsSetManually | |||
| PeriodPriceIsAverage | PeriodPriceIsAverage | |||
| FixedCostIsPredistributed | FixedCostIsPredistributed | |||
| ActyTypeDfltIndicatorIsHidden | ActyTypeDfltIndicatorIsHidden | |||
| ActlPostgCostCenterActyTypeCat | ActlPostgCostCenterActyTypeCat | |||
| ActualPriceAllocationMethod | ActualPriceAllocationMethod | |||
| ActivityTypeIsBlocked | ActivityTypeIsBlocked | |||
| CostCtrActivityTypeOutpQtyUnit | CostCtrActivityTypeOutpQtyUnit | |||
| OutputQuantityFactor | OutputQuantityFactor | |||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| ControllingAreaName | _ControllingArea | ControllingAreaName | Long Text | |
| CostCtrActivityTypeCatName | ||||
| CostCtrActyTypeQtyUnitName | ||||
| CostCtrActyTypeOutpQtyUnitName | ||||
| PriceAllocationMethodName | ||||
| ActualPrcAllocationMethodName | ||||
| ActlPostgCostCtrActyTypeCatLbl | ||||
| CostElementName | ||||
| ActivityTypeValidityPeriodText | ActivityTypeValidityPeriodText | |||
| ChangeDocObject | ChangeDocObject | Object Value | ||
| _CostCenterActivityTypeTextTP | _CostCenterActivityTypeTextTP | |||
| _CostCtrActivityTypeQtyUnit | _CostCtrActivityTypeQtyUnit | |||
| _CostCtrActyTypeOutpQtyUnit | _CostCtrActyTypeOutpQtyUnit | |||
| _CostElementOnChartOfAccounts | _CostElementOnChartOfAccounts | |||
| _PriceAllocationMethod | _PriceAllocationMethod | |||
| _ActualPriceAllocationMethod | _ActualPriceAllocationMethod | |||
| _ActlPostgCostCtrActyTypeCat | _ActlPostgCostCtrActyTypeCat | |||
| _EnteredByUser | _EnteredByUser | |||
| _CostCtrActyTypeChgDocument | _CostCtrActyTypeChgDocument | |||
| _ControllingArea | _ControllingArea |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_CostCenterActivityTypeTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CCCACTTYPTP
CREATE VIEW C_CostCenterActivityTypeTP AS
SELECT
ControllingArea,
CostCtrActivityType,
ValidityEndDate,
ControllingAreaForEdit,
CostCtrActivityTypeForEdit,
CostCtrActivityTypeName,
CostCtrActivityTypeDesc,
ValidityEndDateForEdit,
ValidityStartDate,
CostCtrActivityTypeQtyUnit,
CostCtrActivityTypeValidCat,
CreationDate,
EnteredByUser,
_EnteredByUser.FullName AS FullName,
CostCtrActivityTypeCategory,
AllocationCostElement,
PriceAllocationMethod,
ActualQuantityIsSetManually,
PlanQuantityIsSetManually,
PeriodPriceIsAverage,
FixedCostIsPredistributed,
ActyTypeDfltIndicatorIsHidden,
ActlPostgCostCenterActyTypeCat,
ActualPriceAllocationMethod,
ActivityTypeIsBlocked,
CostCtrActivityTypeOutpQtyUnit,
OutputQuantityFactor,
ChartOfAccounts,
_ControllingArea.ControllingAreaName AS ControllingAreaName,
_CostCtrActivityTypeCategory._Text[1:Language=$session.system_language].CostCtrActivityTypeCatName AS CostCtrActivityTypeCatName,
_CostCtrActivityTypeQtyUnit._Text[1:Language=$session.system_language].UnitOfMeasureName AS CostCtrActyTypeQtyUnitName,
_CostCtrActyTypeOutpQtyUnit._Text[1:Language=$session.system_language].UnitOfMeasureName AS CostCtrActyTypeOutpQtyUnitName,
_PriceAllocationMethod._Text[1:Language=$session.system_language].PriceAllocationMethodName AS PriceAllocationMethodName,
_ActualPriceAllocationMethod._Text[1:Language=$session.system_language].PriceAllocationMethodName AS ActualPrcAllocationMethodName,
_ActlPostgCostCtrActyTypeCat._Text[1:Language=$session.system_language].ActlPostgCostCtrActyTypeCatLbl AS ActlPostgCostCtrActyTypeCatLbl,
_CostElementOnChartOfAccounts._Text[1:Language=$session.system_language].CostElementName AS CostElementName,
ActivityTypeValidityPeriodText,
ChangeDocObject
FROM I_CostCenterActivityTypeTP
LEFT OUTER JOIN C_CostCenterActivityTypeTextTP AS _CostCenterActivityTypeTextTP ON ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea AND CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType AND ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate -- association [1..*]
LEFT OUTER JOIN I_UserContactCard AS _EnteredByUser ON EnteredByUser = _EnteredByUser.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _CostCtrActivityTypeQtyUnit ON CostCtrActivityTypeQtyUnit = _CostCtrActivityTypeQtyUnit.UnitOfMeasure_E -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _CostCtrActyTypeOutpQtyUnit ON CostCtrActivityTypeOutpQtyUnit = _CostCtrActyTypeOutpQtyUnit.UnitOfMeasure_E -- association [0..1]
LEFT OUTER JOIN I_CostElementOnChartOfAccounts AS _CostElementOnChartOfAccounts ON ChartOfAccounts = _CostElementOnChartOfAccounts.ChartOfAccounts AND AllocationCostElement = _CostElementOnChartOfAccounts.CostElement -- association [0..1]
LEFT OUTER JOIN I_PriceAllocationMethod AS _PriceAllocationMethod ON PriceAllocationMethod = _PriceAllocationMethod.PriceAllocationMethod -- association [0..1]
LEFT OUTER JOIN I_PriceAllocationMethod AS _ActualPriceAllocationMethod ON ActualPriceAllocationMethod = _ActualPriceAllocationMethod.PriceAllocationMethod -- association [0..1]
LEFT OUTER JOIN I_ActlPostgCostCtrActyTypeCat AS _ActlPostgCostCtrActyTypeCat ON ActlPostgCostCenterActyTypeCat = _ActlPostgCostCtrActyTypeCat.ActlPostgCostCenterActyTypeCat -- association [0..1]
LEFT OUTER JOIN C_CostCtrActyTypeChgDocument AS _CostCtrActyTypeChgDocument ON ChangeDocObject = _CostCtrActyTypeChgDocument.ChangeDocObject AND _CostCtrActyTypeChgDocument.ChangeDocumentSAPClient = $session.client AND ControllingAreaForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentControllingArea AND CostCtrActivityTypeForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentActivityType AND ValidityEndDateForEdit = _CostCtrActyTypeChgDocument.ChangeDocumentValidityEndDate -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA