R_MaintOrderOpLongTextTP

DDL: R_MAINTORDEROPLONGTEXTTP Type: view_entity TRANSACTIONAL

Maintenance order operation long text TP

R_MaintOrderOpLongTextTP is a Transactional CDS View that provides data about "Maintenance order operation long text TP" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderOperationLongText) and exposes 12 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, TextObjectType, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintOrderOperationLongText I_MaintOrderOperationLongText from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_MaintenanceOrderTP _MaintenanceOrder $projection.MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder
[0..1] I_Language _Language _Language.Language = $projection.Language

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 Maintenance order operation long text TP view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder MaintenanceOrder Order
KEY MaintenanceOrderOperation
KEY MaintenanceOrderSubOperation
KEY TextObjectType TextObjectType Text ID
KEY Language Report Text Language
TextObjectKey TextObjectKey Text Name
OrderOperationLongText OrderOperationLongText Long Text
TextObjectCategory TextObjectCategory Text object
MaintOrdLongTxtIsUpdtd
_MaintenanceOrder _MaintenanceOrder
_MaintenanceOrderOperation _MaintenanceOrderOperation
_Language _Language

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_MaintOrderOpLongTextTP.
-- 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_MaintOrderOpLongTextTP AS
SELECT
  MaintenanceOrder,
  cast( _MaintenanceOrderSubOperation.MaintenanceOrderOperation as maintenanceorderoperation preserving type ) AS MaintenanceOrderOperation,
  cast( _MaintenanceOrderSubOperation.MaintenanceOrderSubOperation as maintenanceordersuboperation preserving type ) AS MaintenanceOrderSubOperation,
  TextObjectType,
  cast( Language as spras preserving type ) AS Language,
  TextObjectKey,
  OrderOperationLongText,
  TextObjectCategory,
  cast( '' as maintordlongtxtisupdtd preserving type ) AS MaintOrdLongTxtIsUpdtd
FROM I_MaintOrderOperationLongText
LEFT OUTER JOIN R_MaintenanceOrderTP AS _MaintenanceOrder ON MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
;