R_MaintenanceItemReasonTextTP
Maintenance Item Reason Long Text
R_MaintenanceItemReasonTextTP is a Transactional CDS View that provides data about "Maintenance Item Reason Long Text" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceItemReasonText) and exposes 10 fields with key fields MaintenanceItem, NmbrOfMaintComplianceItems, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceItemReasonText | _MaintenanceItemReasonText | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TextObjectPlainLongText | _LongText | _LongText.TextObjectCategory = 'MPCR' and _LongText.TextObjectType = 'LTXT' and _LongText.TextObjectKey = $projection.TextObjectKey and _LongText.Language = $projection.Language |
| [1..1] | R_MaintenanceItemTP | _MaintenanceItem | $projection.MaintenanceItem = _MaintenanceItem.MaintenanceItem |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Item Reason Long Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceItem | I_MaintenanceItemReasonText | MaintenanceItem | |
| KEY | NmbrOfMaintComplianceItems | I_MaintenanceItemReasonText | NmbrOfMaintComplianceItems | |
| KEY | Language | _TextObject | Language | |
| TextObjectKey | I_MaintenanceItemReasonText | TextObjectKey | ||
| TextObjectCategory | I_MaintenanceItemReasonText | TextObjectCategory | ||
| TextObjectType | I_MaintenanceItemReasonText | TextObjectType | ||
| PlainLongText | _LongText | PlainLongText | ||
| _LongText | ||||
| _MaintenanceItem | _MaintenanceItem | |||
| _MaintenanceItemReason | _MaintenanceItemReason |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Maintenance Item Reason Long Text'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #TRANSACTIONAL
@VDM.usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #L
define view entity R_MaintenanceItemReasonTextTP
as select from I_MaintenanceItemReasonText as _MaintenanceItemReasonText
left outer to many join I_TextObject as _TextObject on _TextObject.TextObjectType = 'LTXT'
and _TextObject.TextObjectCategory = 'MPCR'
and _TextObject.TextObjectKey = _MaintenanceItemReasonText.TextObjectKey
association [0..1] to I_TextObjectPlainLongText as _LongText on _LongText.TextObjectCategory = 'MPCR'
and _LongText.TextObjectType = 'LTXT'
and _LongText.TextObjectKey = $projection.TextObjectKey
and _LongText.Language = $projection.Language
association [1..1] to R_MaintenanceItemTP as _MaintenanceItem on $projection.MaintenanceItem = _MaintenanceItem.MaintenanceItem
association to parent R_MaintenanceItemReasonTP as _MaintenanceItemReason on $projection.MaintenanceItem = _MaintenanceItemReason.MaintenanceItem
and $projection.NmbrOfMaintComplianceItems = _MaintenanceItemReason.NmbrOfMaintComplianceItems
{
key _MaintenanceItemReasonText.MaintenanceItem,
key _MaintenanceItemReasonText.NmbrOfMaintComplianceItems,
key _TextObject.Language,
_MaintenanceItemReasonText.TextObjectKey,
_MaintenanceItemReasonText.TextObjectCategory,
_MaintenanceItemReasonText.TextObjectType,
_LongText.PlainLongText,
-- Associations --
_MaintenanceItemReasonText._LongText,
_MaintenanceItem,
_MaintenanceItemReason
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCEITEMREASONTEXT",
"I_TEXTOBJECT",
"I_TEXTOBJECTPLAINLONGTEXT"
],
"ASSOCIATED":
[
"I_TEXTOBJECTPLAINLONGTEXT",
"R_MAINTENANCEITEMREASONTP",
"R_MAINTENANCEITEMTP"
],
"BASE":
[
"I_MAINTENANCEITEMREASONTEXT"
],
"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