C_ObjPgMaintOrdOpChecklist

DDL: C_OBJPGMAINTORDOPCHECKLIST Type: view_entity CONSUMPTION

C_ObjPgMaintOrdOpChecklist is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderCheckList) and exposes 20 fields with key fields MaintenanceOrder, InspectionLot, MaintenanceOrderOperation. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceOrderCheckList I_MaintenanceOrderCheckList from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot

Annotations (6)

NameValueLevelField
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder MaintenanceOrder Order
KEY InspectionLot InspectionLot Inspection Lot
KEY MaintenanceOrderOperation MaintenanceOrderOperation Suboperation
MaintenanceBusinessSubobject MaintenanceBusinessSubobject
Plant Plant Valuation Area
PlantName PlantName Plant Name
TechnicalObject TechnicalObject Technical Object
TechObjIsEquipOrFuncnlLoc TechObjIsEquipOrFuncnlLoc Tech. Obj. Type
MainChecklistIsDeactivated MainChecklistIsDeactivated
InspCharAcceptedCount InspCharAcceptedCount
InspCharOpenCount InspCharOpenCount
InspCharRejectedCount InspCharRejectedCount
InspectionLotText InspectionLotText
TechnicalObjectDescription
TechnicalObjectLabel
InspLotUsageDecisionValuation _InspLotUsageDecision InspLotUsageDecisionValuation
_MaintenanceOrderOperation _MaintenanceOrderOperation
_InspectionLotAggregate _InspectionLotAggregate
StatusObject _InspectionLot StatusObject Status Object
InspLotStatusCanceled InspLotStatusCanceled

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_ObjPgMaintOrdOpChecklist.
-- 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 C_ObjPgMaintOrdOpChecklist AS
SELECT
  MaintenanceOrder,
  InspectionLot,
  MaintenanceOrderOperation,
  MaintenanceBusinessSubobject,
  Plant,
  PlantName,
  TechnicalObject,
  TechObjIsEquipOrFuncnlLoc,
  MainChecklistIsDeactivated,
  InspCharAcceptedCount,
  InspCharOpenCount,
  InspCharRejectedCount,
  InspectionLotText,
  _TechnicalObject._TechnicalObjectText[1: Language = $session.system_language ].TechnicalObjectDescription AS TechnicalObjectDescription,
  cast (_TechnicalObject.TechnicalObjectLabel as eams_tech_obj_alpha_conv preserving type) AS TechnicalObjectLabel,
  _InspLotUsageDecision.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation,
  _InspectionLot.StatusObject AS StatusObject,
  InspLotStatusCanceled
FROM I_MaintenanceOrderCheckList
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1..1]
;