I_MaintOrderOperationLongText

DDL: I_MAINTORDEROPERATIONLONGTEXT SQL: IMAINTORDOPLTXT Type: view BASIC

Maintenance Order Operation Long Text

I_MaintOrderOperationLongText is a Basic CDS View that provides data about "Maintenance Order Operation Long Text" in SAP S/4HANA. It reads from 3 data sources (afvc_text, I_MaintOrderOperAndSubOper, I_TextObjectPlainLongText) and exposes 12 fields with key fields MaintenanceOrder, MaintOrderRoutingNumber, MaintenanceOrderRoutingNode, TextObjectType, Language. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
afvc_text afvc_text inner
I_MaintOrderOperAndSubOper I_MaintOrderOperAndSubOper inner
I_TextObjectPlainLongText I_TextObjectPlainLongText from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_MaintenanceOrder _MaintenanceOrder _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder
[0..1] I_Language _Language _Language.Language = $projection.Language
[0..1] I_MaintOrderOperAndSubOper _MaintenanceOrderSubOperation _MaintenanceOrderSubOperation.MaintenanceOrder = $projection.MaintenanceOrder and _MaintenanceOrderSubOperation.MaintOrderRoutingNumber = $projection.MaintOrderRoutingNumber and _MaintenanceOrderSubOperation.MaintOrderOperationCounter = $projection.MaintenanceOrderRoutingNode
[0..*] I_TextObjectPlainLongText _TextObjectPlainLongText _TextObjectPlainLongText.TextObjectKey = $projection.TextObjectKey and _TextObjectPlainLongText.TextObjectCategory = 'AUFK' and ( _TextObjectPlainLongText.TextObjectType = 'AVOT' or _TextObjectPlainLongText.TextObjectType = 'AVON' or _TextObjectPlainLongText.TextObjectType = 'AVOC' or _TextObjectPlainLongText.TextObjectType = 'AVOD' )

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMAINTORDOPLTXT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Order Operation Long Text view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey MaintenanceOrder view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder I_MaintOrderOperAndSubOper MaintenanceOrder Order
KEY MaintOrderRoutingNumber afvc_text aufpl TaskList No.Ops
KEY MaintenanceOrderRoutingNode afvc_text aplzl Plan No.f.Oper.
KEY TextObjectType I_TextObjectPlainLongText TextObjectType Text ID
KEY Language I_TextObjectPlainLongText Language Report Text Language
TextObjectKey afvc_text tdname Text Name
OrderOperationLongText I_TextObjectPlainLongText PlainLongText Long Text
TextObjectCategory I_TextObjectPlainLongText TextObjectCategory Text object
_MaintenanceOrderSubOperation _MaintenanceOrderSubOperation
_MaintenanceOrder _MaintenanceOrder
_TextObjectPlainLongText _TextObjectPlainLongText
_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 I_MaintOrderOperationLongText.
-- 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.
-- SQL view name: IMAINTORDOPLTXT

CREATE VIEW I_MaintOrderOperationLongText AS
SELECT
  I_MaintOrderOperAndSubOper.MaintenanceOrder AS MaintenanceOrder,
  afvc_text.aufpl AS MaintOrderRoutingNumber,
  afvc_text.aplzl AS MaintenanceOrderRoutingNode,
  I_TextObjectPlainLongText.TextObjectType AS TextObjectType,
  I_TextObjectPlainLongText.Language AS Language,
  afvc_text.tdname AS TextObjectKey,
  I_TextObjectPlainLongText.PlainLongText AS OrderOperationLongText,
  I_TextObjectPlainLongText.TextObjectCategory AS TextObjectCategory
FROM I_TextObjectPlainLongText
INNER JOIN afvc_text ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaintOrderOperAndSubOper ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = MaintenanceOrder  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_MaintOrderOperAndSubOper AS _MaintenanceOrderSubOperation ON _MaintenanceOrderSubOperation.MaintenanceOrder = MaintenanceOrder AND _MaintenanceOrderSubOperation.MaintOrderRoutingNumber = MaintOrderRoutingNumber AND _MaintenanceOrderSubOperation.MaintOrderOperationCounter = MaintenanceOrderRoutingNode  -- association [0..1]
LEFT OUTER JOIN I_TextObjectPlainLongText AS _TextObjectPlainLongText ON _TextObjectPlainLongText.TextObjectKey = TextObjectKey AND _TextObjectPlainLongText.TextObjectCategory = 'AUFK' AND ( _TextObjectPlainLongText.TextObjectType = 'AVOT' OR _TextObjectPlainLongText.TextObjectType = 'AVON' OR _TextObjectPlainLongText.TextObjectType = 'AVOC' OR _TextObjectPlainLongText.TextObjectType = 'AVOD' )  -- association [0..*]
;