I_MaintenanceOrderLongText

DDL: I_MAINTENANCEORDERLONGTEXT SQL: IMAINTORDLTXT Type: view BASIC

Maintenance Order Long Text

I_MaintenanceOrderLongText is a Basic CDS View that provides data about "Maintenance Order Long Text" in SAP S/4HANA. It reads from 3 data sources (afih, aufk_text, I_TextObjectPlainLongText) and exposes 8 fields with key fields MaintenanceOrder, TextObjectType, Language. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
afih afih inner
aufk_text aufk_text inner
I_TextObjectPlainLongText I_TextObjectPlainLongText from

Associations (2)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMAINTORDLTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Order Long Text view
ObjectModel.usageType.serviceQuality #B 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 (8)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder aufk_text aufnr SettlementOrder
KEY TextObjectType I_TextObjectPlainLongText TextObjectType Text ID
KEY Language I_TextObjectPlainLongText Language Report Text Language
TextObjectKey aufk_text tdname Text Name
MaintenanceOrderLongText I_TextObjectPlainLongText PlainLongText Long Text
TextObjectCategory I_TextObjectPlainLongText TextObjectCategory Text object
_MaintenanceOrder _MaintenanceOrder
_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_MaintenanceOrderLongText.
-- 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: IMAINTORDLTXT

CREATE VIEW I_MaintenanceOrderLongText AS
SELECT
  aufk_text.aufnr AS MaintenanceOrder,
  I_TextObjectPlainLongText.TextObjectType AS TextObjectType,
  I_TextObjectPlainLongText.Language AS Language,
  aufk_text.tdname AS TextObjectKey,
  I_TextObjectPlainLongText.PlainLongText AS MaintenanceOrderLongText,
  I_TextObjectPlainLongText.TextObjectCategory AS TextObjectCategory
FROM I_TextObjectPlainLongText
INNER JOIN aufk_text ON /* join condition not captured in parsed metadata */
INNER JOIN afih 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]
;