I_MaintCmplRqOrigin

DDL: I_MAINTCMPLRQORIGIN Type: view_entity BASIC Package: VDM_EAM_MAINTENANCEITEM

Maintenance Compliance Origin

I_MaintCmplRqOrigin is a Basic CDS View that provides data about "Maintenance Compliance Origin" in SAP S/4HANA. It reads from 1 data source (cmplorigin) and exposes 4 fields with key field MaintCmplRqOriginCode. It has 2 associations to related views. Part of development package VDM_EAM_MAINTENANCEITEM.

Data Sources (1)

SourceAliasJoin Type
cmplorigin cmplorigin from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_MaintenanceCompliance _MaintenanceCompliance _MaintenanceCompliance.MaintCmplRqOriginCode = $projection.MaintCmplRqOriginCode
[0..1] I_MaintCmplRqOriginText _Text _Text.MaintCmplRqOriginCode = $projection.MaintCmplRqOriginCode and _Text.Language = $session.system_language

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Compliance Origin view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey MaintCmplRqOriginCode view
Analytics.technicalName ICMPLRQORGN view
ObjectModel.resultSet.sizeCategory #XS view
Search.searchable true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MaintCmplRqOriginCode origin Task Origin
MaintCmplRqOriginDescription
_MaintenanceCompliance _MaintenanceCompliance
_Text _Text

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_MaintCmplRqOrigin.
-- 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 I_MaintCmplRqOrigin AS
SELECT
  origin AS MaintCmplRqOriginCode,
  _Text[1:Language = $session.system_language].MaintCmplRqOriginDescription AS MaintCmplRqOriginDescription
FROM cmplorigin
LEFT OUTER JOIN I_MaintenanceCompliance AS _MaintenanceCompliance ON _MaintenanceCompliance.MaintCmplRqOriginCode = MaintCmplRqOriginCode  -- association [0..*]
LEFT OUTER JOIN I_MaintCmplRqOriginText AS _Text ON _Text.MaintCmplRqOriginCode = MaintCmplRqOriginCode AND _Text.Language = $session.system_language  -- association [0..1]
;