I_CapacityRequirementOrignText
Capacity Requirement Origin - Text
I_CapacityRequirementOrignText is a Basic CDS View that provides data about "Capacity Requirement Origin - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields CapacityRequirementOrigin, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | txt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_CapacityRequirementOrigin | _CapacityRequirementOrigin | $projection.CapacityRequirementOrigin = _CapacityRequirementOrigin.CapacityRequirementOrigin |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPCAPRQMTORTXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.representativeKey | CapacityRequirementOrigin | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Capacity Requirement Origin - Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirementOrigin | |||
| KEY | Language | |||
| CapacityRequirementOriginName | ||||
| DomainValue | dd07t | domvalue_l | ||
| _Language | _Language | |||
| _CapacityRequirementOrigin | _CapacityRequirementOrigin |
@AbapCatalog.sqlViewName: 'IPPCAPRQMTORTXT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'CapacityRequirementOrigin'
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Capacity Requirement Origin - Text'
/*+[hideWarning] { "IDS" : [ "KEY_CHECK", "CALCULATED_FIELD_CHECK" ] } */
define view I_CapacityRequirementOrignText
as select from dd07t as txt
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_CapacityRequirementOrigin as _CapacityRequirementOrigin on $projection.CapacityRequirementOrigin = _CapacityRequirementOrigin.CapacityRequirementOrigin
{
@ObjectModel.foreignKey.association: '_CapacityRequirementOrigin'
@ObjectModel.text.element: ['CapacityRequirementOriginName']
key cast(substring(txt.domvalue_l, 1, 1) as capacityrequirementorigin preserving type) as CapacityRequirementOrigin,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key cast(txt.ddlanguage as spras preserving type) as Language,
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
@Semantics.text: true
cast(txt.ddtext as capacityrequirementoriginname preserving type) as CapacityRequirementOriginName,
@Analytics.hidden: true
@Consumption.hidden: true
txt.domvalue_l as DomainValue,
// Associations
_Language,
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_CapacityRequirementOrigin
}
where domname = 'TYPKZ' and
as4local = 'A' and
as4vers = '0000';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_CAPACITYREQUIREMENTORIGIN",
"I_LANGUAGE"
],
"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