I_CapacityRequirementItem
Capacity Requirement Item
I_CapacityRequirementItem is a Basic CDS View (Dimension) that provides data about "Capacity Requirement Item" in SAP S/4HANA. It has 2 associations to related views.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CapacityRequirement | _CapacityRequirement | $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement -- to child |
| [1..*] | I_CapacityRequirementItemCap | _CapacityRequirementItemCap | $projection.CapacityRequirement = _CapacityRequirementItemCap.CapacityRequirement and $projection.CapacityRequirementItem = _CapacityRequirementItemCap.CapacityRequirementItem |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPCAPRQMTITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.representativeKey | CapacityRequirementItem | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Capacity Requirement Item | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirement | bedid | ||
| KEY | CapacityRequirementItem | bedzl | ||
| _CapacityRequirement | _CapacityRequirement | |||
| _CapacityRequirementItemCap | _CapacityRequirementItemCap |
@AbapCatalog.sqlViewName: 'IPPCAPRQMTITEM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #MANDATORY
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION]
@ObjectModel.representativeKey: 'CapacityRequirementItem'
@ObjectModel.semanticKey: ['CapacityRequirement', 'CapacityRequirementItem']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Capacity Requirement Item'
// To be used for foreign key associations on the 2nd key field of table KBED
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view I_CapacityRequirementItem
as select distinct from kbed
-- to parent/root
association [1..1] to I_CapacityRequirement as _CapacityRequirement on $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement
-- to child
association [1..*] to I_CapacityRequirementItemCap as _CapacityRequirementItemCap on $projection.CapacityRequirement = _CapacityRequirementItemCap.CapacityRequirement
and $projection.CapacityRequirementItem = _CapacityRequirementItemCap.CapacityRequirementItem
{
// Key
@ObjectModel.foreignKey.association: '_CapacityRequirement'
key bedid as CapacityRequirement,
key bedzl as CapacityRequirementItem,
// Associations
@ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
_CapacityRequirement,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_CapacityRequirementItemCap
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"KBED"
],
"ASSOCIATED":
[
"I_CAPACITYREQUIREMENT",
"I_CAPACITYREQUIREMENTITEMCAP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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