I_ProductionResourceText
Production Resource - Text
I_ProductionResourceText is a Basic CDS View that provides data about "Production Resource - Text" in SAP S/4HANA. It reads from 1 data source (crtx) and exposes 6 fields with key fields ProductionResourceType, ProductionResourceInternalID, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crtx | crtx | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionResourceType | _ProductionResourceType | $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType |
| [1..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.technicalName | IPPPRODNRESTEXT | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ProductionResourceInternalID | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Production Resource - Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | |||
| KEY | ProductionResourceInternalID | crtx | objid | |
| KEY | Language | |||
| ProductionResourceText | ||||
| _ProductionResourceType | _ProductionResourceType | |||
| _Language | _Language |
//@AbapCatalog.sqlViewName: 'IPPPRODNRESTEXT'
//@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.technicalName: 'IPPPRODNRESTEXT'
//@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'ProductionResourceInternalID'
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #MASTER}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Resource - Text'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
//define view I_ProductionResourceText
define view entity I_ProductionResourceText
as select from crtx as crtx
association [1..1] to I_ProductionResourceType as _ProductionResourceType on $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
association [1..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_ProductionResourceType'
key cast(crtx.objty as productionresourcetype preserving type) as ProductionResourceType,
key crtx.objid as ProductionResourceInternalID,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key cast(crtx.spras as spras preserving type) as Language,
// Text
@Semantics.text: true
cast (crtx.ktext as productionresourcetext preserving type) as ProductionResourceText,
// Associations
_ProductionResourceType,
_Language
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRTX"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PRODUCTIONRESOURCETYPE"
],
"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