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 (tckh3) and exposes 14 fields with key fields CostComponentStructure, CostComponent. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tckh3 | 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 (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFICOSTCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 1 | view | |
| AbapCatalog.buffering.status | #ACTIVE | 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 | elehk | ||
| KEY | CostComponent | elemt | ||
| CostComponentGroup | egrup | |||
| CostCompIsForInitialCostSplit | zusch | |||
| CostCompIsForSalesAndAdminCost | vv_gk | |||
| CostCompIsForCOGM | herko | |||
| CostCompIsForInvtryValuation | besbw | |||
| CostCompIsForInvtryOnCommlLaw | invhr | |||
| CostCompIsForInvtryOnTaxLaw | invsr | |||
| CostCompIsForTransfPrSurcharge | gewzs | |||
| CostComponentIsRolledUp | waelz | |||
| _CostComponentStructure | _CostComponentStructure | |||
| _CostComponentGroup | _CostComponentGroup | |||
| _Text | _Text |
@AbapCatalog: {
sqlViewName: 'IFICOSTCOMP',
compiler.compareFilter: true,
preserveKey: true,
buffering: {
type: #GENERIC,
numberOfKeyFields: 1,
status: #ACTIVE } }
@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 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 elehk as CostComponentStructure,
@ObjectModel.text.association: '_Text'
key elemt as CostComponent,
@ObjectModel.foreignKey.association: '_CostComponentGroup'
egrup as CostComponentGroup,
//Cost Component View
zusch as CostCompIsForInitialCostSplit,
vv_gk as CostCompIsForSalesAndAdminCost,
herko as CostCompIsForCOGM,
besbw as CostCompIsForInvtryValuation,
invhr as CostCompIsForInvtryOnCommlLaw,
invsr as CostCompIsForInvtryOnTaxLaw,
gewzs as CostCompIsForTransfPrSurcharge,
waelz as 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