R_MaintOrderOpCompLongTextTP_2

DDL: R_MAINTORDEROPCOMPLONGTEXTTP_2 Type: view_entity TRANSACTIONAL

Maint Order Op Comp Long Text TP

R_MaintOrderOpCompLongTextTP_2 is a Transactional CDS View that provides data about "Maint Order Op Comp Long Text TP" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderOpCompLongText_2) and exposes 12 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, MaintOrderComponentInternalID, TextObjectType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintOrderOpCompLongText_2 I_MaintOrderOpCompLongText_2 from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_MaintenanceOrderTP _MaintenanceOrder $projection.MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #TEXT view
EndUserText.label Maint Order Op Comp Long Text TP view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder MaintenanceOrder Order
KEY MaintenanceOrderOperation MaintenanceOrderOperation Suboperation
KEY MaintenanceOrderSubOperation MaintenanceOrderSubOperation Suboperation
KEY MaintOrderComponentInternalID MaintOrderComponentInternalID Object number
KEY TextObjectType TextObjectType Text ID
KEY Language Language Report Text Language
TextObjectKey TextObjectKey Text Name
TextObjectCategory TextObjectCategory Text object
OrderComponentLongText OrderComponentLongText Long Text
MaintOrdLongTxtIsUpdtd
_MaintenanceOrder _MaintenanceOrder
_MaintenanceOrderComponent _MaintenanceOrderComponent

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_MaintOrderOpCompLongTextTP_2.
-- 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_MaintOrderOpCompLongTextTP_2 AS
SELECT
  MaintenanceOrder,
  MaintenanceOrderOperation,
  MaintenanceOrderSubOperation,
  MaintOrderComponentInternalID,
  TextObjectType,
  Language,
  TextObjectKey,
  TextObjectCategory,
  OrderComponentLongText,
  cast( '' as maintordlongtxtisupdtd preserving type ) AS MaintOrdLongTxtIsUpdtd
FROM I_MaintOrderOpCompLongText_2
LEFT OUTER JOIN R_MaintenanceOrderTP AS _MaintenanceOrder ON MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder  -- association [1..1]
;