I_CostComponent
Cost Component
I_CostComponent is a Basic CDS View (Dimension) that provides data about "Cost Component" in SAP S/4HANA. It reads from 1 data source (P_TCKH3) and exposes 14 fields with key fields CostComponentStructure, CostComponent. It has 3 associations to related views. Part of development package FINS_PCP_CUST_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TCKH3 | P_TCKH3 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CostComponentStructure | _CostComponentStructure | $projection.CostComponentStructure = _CostComponentStructure.CostComponentStructure |
| [0..1] | I_CostComponentGroup | _CostComponentGroup | $projection.CostComponentGroup = _CostComponentGroup.CostComponentGroup |
| [0..*] | I_CostComponentText | _Text | $projection.CostComponentStructure = _Text.CostComponentStructure and $projection.CostComponent = _Text.CostComponent |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFICOSTCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | CostComponent | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Cost Component | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostComponentStructure | CostComponentStructure | ||
| KEY | CostComponent | CostComponent | ||
| CostComponentGroup | CostComponentGroup | |||
| CostCompIsForInitialCostSplit | CostCompIsForInitialCostSplit | |||
| CostCompIsForSalesAndAdminCost | CostCompIsForSalesAndAdminCost | |||
| CostCompIsForCOGM | CostCompIsForCOGM | |||
| CostCompIsForInvtryValuation | CostCompIsForInvtryValuation | |||
| CostCompIsForInvtryOnCommlLaw | CostCompIsForInvtryOnCommlLaw | |||
| CostCompIsForInvtryOnTaxLaw | CostCompIsForInvtryOnTaxLaw | |||
| CostCompIsForTransfPrSurcharge | CostCompIsForTransfPrSurcharge | |||
| CostComponentIsRolledUp | CostComponentIsRolledUp | |||
| _CostComponentStructure | _CostComponentStructure | |||
| _CostComponentGroup | _CostComponentGroup | |||
| _Text | _Text |
@AbapCatalog: {
sqlViewName: 'IFICOSTCOMP',
compiler.compareFilter: true
}
@ClientHandling: {
type: #CLIENT_DEPENDENT,
algorithm: #SESSION_VARIABLE }
@Analytics: {
dataCategory: #DIMENSION,
internalName: #LOCAL }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: {
representativeKey: 'CostComponent',
usageType: {
serviceQuality: #A,
sizeCategory: #M,
dataClass: #CUSTOMIZING } }
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Cost Component'
define view I_CostComponent
as select from P_TCKH3
association [0..1] to I_CostComponentStructure as _CostComponentStructure on $projection.CostComponentStructure = _CostComponentStructure.CostComponentStructure
association [0..1] to I_CostComponentGroup as _CostComponentGroup on $projection.CostComponentGroup = _CostComponentGroup.CostComponentGroup
association [0..*] to I_CostComponentText as _Text on $projection.CostComponentStructure = _Text.CostComponentStructure
and $projection.CostComponent = _Text.CostComponent
{
@ObjectModel.foreignKey.association: '_CostComponentStructure'
key CostComponentStructure,
@ObjectModel.text.association: '_Text'
key CostComponent,
@ObjectModel.foreignKey.association: '_CostComponentGroup'
CostComponentGroup,
//Cost Component View
CostCompIsForInitialCostSplit,
CostCompIsForSalesAndAdminCost,
CostCompIsForCOGM,
CostCompIsForInvtryValuation,
CostCompIsForInvtryOnCommlLaw,
CostCompIsForInvtryOnTaxLaw,
CostCompIsForTransfPrSurcharge,
CostComponentIsRolledUp,
_CostComponentStructure,
_CostComponentGroup,
_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