I_MaintenancePlanText

DDL: I_MAINTENANCEPLANTEXT SQL: IMPLATEXT Type: view COMPOSITE

Maintenance Plan Long Text

I_MaintenancePlanText is a Composite CDS View that provides data about "Maintenance Plan Long Text" in SAP S/4HANA. It reads from 2 data sources (I_MaintenancePlanBasic, I_TextObject) and exposes 9 fields with key fields MaintenancePlan, Language. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_MaintenancePlanBasic _MPLan from
I_TextObject _TextObjectInSessionLanguage inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_MaintenancePlanBasic _MaintenancePlan $projection.MaintenancePlan = _MaintenancePlan.MaintenancePlan
[0..1] I_Language _Language _Language.Language = $projection.Language
[0..1] I_TextObjectPlainLongText _TextObjectPlainLongText _TextObjectPlainLongText.TextObjectKey = $projection.MaintenancePlan and _TextObjectPlainLongText.TextObjectType = 'LTXT' and _TextObjectPlainLongText.TextObjectCategory = 'MPLA' and _TextObjectPlainLongText.Language = $projection.Language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMPLATEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Maintenance Plan Long Text view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey MaintenancePlan view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan I_MaintenancePlanBasic MaintenancePlan MaintenancePlan
KEY Language I_TextObject Language Report Text Language
TextObjectKey I_TextObject TextObjectKey Text Name
TextObjectCategory
TextObjectType
MaintenancePlanLongText _TextObjectPlainLongText PlainLongText Long Text
_MaintenancePlan _MaintenancePlan
_Language _Language
_TextObjectPlainLongText _TextObjectPlainLongText

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_MaintenancePlanText.
-- 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: IMPLATEXT

CREATE VIEW I_MaintenancePlanText AS
SELECT
  _MPLan.MaintenancePlan AS MaintenancePlan,
  _TextObjectInSessionLanguage.Language AS Language,
  _TextObjectInSessionLanguage.TextObjectKey AS TextObjectKey,
  cast( 'MPLA ' as tdobject preserving type ) AS TextObjectCategory,
  cast( 'LTXT' as tdid preserving type ) AS TextObjectType,
  _TextObjectPlainLongText.PlainLongText AS MaintenancePlanLongText
FROM I_MaintenancePlanBasic AS _MPLan
INNER JOIN I_TextObject AS _TextObjectInSessionLanguage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenancePlanBasic AS _MaintenancePlan ON MaintenancePlan = _MaintenancePlan.MaintenancePlan  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_TextObjectPlainLongText AS _TextObjectPlainLongText ON _TextObjectPlainLongText.TextObjectKey = MaintenancePlan AND _TextObjectPlainLongText.TextObjectType = 'LTXT' AND _TextObjectPlainLongText.TextObjectCategory = 'MPLA' AND _TextObjectPlainLongText.Language = Language  -- association [0..1]
;