R_MaintenanceItemCauseTextTP

DDL: R_MAINTENANCEITEMCAUSETEXTTP Type: view_entity TRANSACTIONAL

Maintenance Item Cause Long Text

R_MaintenanceItemCauseTextTP is a Transactional CDS View that provides data about "Maintenance Item Cause Long Text" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceItemCauseText) and exposes 10 fields with key fields MaintenanceItem, NmbrOfMaintComplianceItems, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceItemCauseText _MaintenanceItemCauseText from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Item Cause Long Text view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceItem I_MaintenanceItemCauseText MaintenanceItem MaintItem
KEY NmbrOfMaintComplianceItems I_MaintenanceItemCauseText NmbrOfMaintComplianceItems
KEY Language _TextObject Language Report Text Language
TextObjectKey I_MaintenanceItemCauseText TextObjectKey Text Name
TextObjectCategory I_MaintenanceItemCauseText TextObjectCategory Text object
TextObjectType I_MaintenanceItemCauseText TextObjectType Text ID
PlainLongText _LongText PlainLongText Long Text
_LongText I_MaintenanceItemCauseText _LongText
_MaintenanceItem _MaintenanceItem
_MaintenanceItemCause _MaintenanceItemCause

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_MaintenanceItemCauseTextTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_MaintenanceItemCauseTextTP AS
SELECT
  _MaintenanceItemCauseText.MaintenanceItem AS MaintenanceItem,
  _MaintenanceItemCauseText.NmbrOfMaintComplianceItems AS NmbrOfMaintComplianceItems,
  _TextObject.Language AS Language,
  _MaintenanceItemCauseText.TextObjectKey AS TextObjectKey,
  _MaintenanceItemCauseText.TextObjectCategory AS TextObjectCategory,
  _MaintenanceItemCauseText.TextObjectType AS TextObjectType,
  _LongText.PlainLongText AS PlainLongText,
  _MaintenanceItemCauseText._LongText AS _LongText
FROM I_MaintenanceItemCauseText AS _MaintenanceItemCauseText
LEFT OUTER JOIN I_TextObjectPlainLongText AS _LongText ON _LongText.TextObjectCategory = 'MPCR' AND _LongText.TextObjectType = 'LTXT' AND _LongText.TextObjectKey = TextObjectKey AND _LongText.Language = Language  -- association [0..1]
LEFT OUTER JOIN R_MaintenanceItemTP AS _MaintenanceItem ON MaintenanceItem = _MaintenanceItem.MaintenanceItem  -- association [1..1]
;