C_MaintItemMaintOrderTypeVH

DDL: C_MAINTITEMMAINTORDERTYPEVH SQL: CMIMOTYP Type: view CONSUMPTION

Maintenance Item Maintenance Order Type

C_MaintItemMaintOrderTypeVH is a Consumption CDS View that provides data about "Maintenance Item Maintenance Order Type" in SAP S/4HANA. It reads from 1 data source (I_OrderType) and exposes 2 fields with key field MaintenanceOrderType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_OrderType I_OrderType from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MaintOrderTypeControlParam _MaintOrderTypeControlParam $projection.MaintenanceOrderType = _MaintOrderTypeControlParam.OrderType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CMIMOTYP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Maintenance Item Maintenance Order Type view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey MaintenanceOrderType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
ObjectModel.resultSet.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrderType I_OrderType OrderType Order Type
MaintenanceOrderTypeName Order Type 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 C_MaintItemMaintOrderTypeVH.
-- 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: CMIMOTYP

CREATE VIEW C_MaintItemMaintOrderTypeVH AS
SELECT
  I_OrderType.OrderType AS MaintenanceOrderType,
  I_OrderType._Text[1:Language = $session.system_language].OrderTypeName AS MaintenanceOrderTypeName
FROM I_OrderType
LEFT OUTER JOIN I_MaintOrderTypeControlParam AS _MaintOrderTypeControlParam ON MaintenanceOrderType = _MaintOrderTypeControlParam.OrderType  -- association [0..1]
;