R_MaintenanceChecklistTP
Manage Inspection Checklists TP
R_MaintenanceChecklistTP is a Transactional CDS View that provides data about "Manage Inspection Checklists TP" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderInspectionLot) and exposes 64 fields with key fields InspectionLot, MaintenanceOrder, MaintenanceOrderOperation. It has 17 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderInspectionLot | I_MaintOrderInspectionLot | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceOrderOperation | _MaintenanceOrderOp | $projection.MaintenanceOrder = _MaintenanceOrderOp.MaintenanceOrder and $projection.MaintenanceBusinessSubobject = _MaintenanceOrderOp.MaintOrderOperationInternalID |
| [1..1] | I_MaintOrderTechObj | _OrderTechnicalObject | $projection.MaintenanceOrder = _OrderTechnicalObject.MaintenanceOrder |
| [0..1] | I_WorkCenter | _OperationWorkCenter | $projection.operationworkcenterinternalid = _OperationWorkCenter.WorkCenterInternalID and $projection.operationworkcentertypecode = _OperationWorkCenter.WorkCenterTypeCode |
| [0..1] | I_MaintenanceChecklistTypeText | _CheckListType | $projection.maintoperationalchecklisttype = _CheckListType.MaintOperationalChecklistType and _CheckListType.Language = $session.system_language |
| [1..1] | I_InspectionLotAggregate | _InspectionLotAggregate | $projection.InspectionLot = _InspectionLotAggregate.InspectionLot |
| [1..1] | I_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | I_OperationStandardText | _OperationStandardText | $projection.operationstandardtextcode = _OperationStandardText.OperationStandardTextCode |
| [1..1] | I_InspectionLotWithStatus | _InspectionLotWithStatus | $projection.InspectionLot = _InspectionLotWithStatus.InspectionLot |
| [1..1] | I_InspLotCompltnStatusText | _InspLotCompltnStatusText | $projection.InspLotCompltnStatus = _InspLotCompltnStatusText.InspLotCompltnStatus and _InspLotCompltnStatusText.Language = $session.system_language |
| [0..1] | I_InspectionLotStatus | _InspLotStatusLocked | $projection.StatusObject = _InspLotStatusLocked.StatusObject and _InspLotStatusLocked.StatusCode = 'I0043' |
| [0..1] | I_BillOfOperationsChangeState | _BillOfOperationsChangeState | $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant and $projection.BillOfOperationsChangeStateID = _BillOfOperationsChangeState.BOOInternalVersionCounter |
| [0..1] | I_BillOfOperationsUsage | _BillOfOperationsUsage | $projection.BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage |
| [0..1] | I_User | _CreatedByUser | _CreatedByUser.UserID = $projection.InspectionLotCreatedBy |
| [0..1] | I_User | _LastChangedByUser | _LastChangedByUser.UserID = $projection.InspectionLotChangedBy |
| [0..1] | I_TechObjAuthznGrpText | _AuthorizationGroup | _AuthorizationGroup.TechObjAuthorizationGroup = $projection.authorizationgroup and _AuthorizationGroup.Language = $session.system_language |
| [0..1] | I_OrderComponent | _OrderComponent | $projection.MaintenanceOrder = _OrderComponent.OrderID and $projection.MaintenanceOrderOperation = _OrderComponent.OrderOperation and $projection.Reservation = _OrderComponent.Reservation and $projection.ReservationItem = _OrderComponent.ReservationItem and _OrderComponent.RecordType = '' |
| [0..1] | I_TechnicalObject | _InspectionLotTechnicalObject | _InspectionLotTechnicalObject.TechnicalObject = $projection.InspectionLotTechnicalObject and _InspectionLotTechnicalObject.TechObjIsEquipOrFuncnlLoc = $projection.OpTechObjEquipOrFuncnlLoc |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Manage Inspection Checklists TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | InspectionLot | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | InspectionLot | Inspection Lot | |
| KEY | MaintenanceOrder | MaintenanceOrder | Order | |
| KEY | MaintenanceOrderOperation | |||
| MaintOperationalChecklistType | _MaintenanceOrderOp | MaintOperationalChecklistType | Checklist Type | |
| MaintenanceBusinessSubobject | MaintenanceBusinessSubobject | |||
| Plant | Plant | Valuation Area | ||
| InspectionLotType | InspectionLotType | Inspection Type | ||
| InspectionLotText | InspectionLotText | |||
| MainChecklistIsDeactivated | MainChecklistIsDeactivated | |||
| AuthorizationGroup | ||||
| InspectionLotQualityScore | _InspLotUsageDecision | InspectionLotQualityScore | Inspection Lot Score | |
| InspectionLotUsageDecisionCode | _InspLotUsageDecision | InspectionLotUsageDecisionCode | ||
| ScheduledBasicStartDate | ||||
| ScheduledBasicStartTime | ||||
| ScheduledBasicEndDate | ||||
| ScheduledBasicEndTime | ||||
| StatusObject | StatusObject | Status Object | ||
| MaintenanceOrderDesc | MaintenanceOrderDesc | Description | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| MaintenanceOrderType | MaintenanceOrderType | Order Type | ||
| MaintenancePlan | ||||
| MaintenanceItem | ||||
| MaintenanceActivityType | ||||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| MainWorkCenter | ||||
| MainWorkCenterPlant | ||||
| OperationDescription | _MaintenanceOrderOp | OperationDescription | Op. Short Text | |
| OperationWorkCenterInternalID | _MaintenanceOrderOp | OperationWorkCenterInternalID | Object ID | |
| OperationWorkCenterTypeCode | _MaintenanceOrderOp | OperationWorkCenterTypeCode | ||
| OperationControlKey | _MaintenanceOrderOp | OperationControlKey | Control Key | |
| OperationStandardTextCode | _MaintenanceOrderOp | OperationStandardTextCode | Std Text Key | |
| InspectionLotCreatedOn | InspectionLotCreatedOn | |||
| InspectionLotCreatedOnTime | InspectionLotCreatedOnTime | |||
| InspectionLotCreatedBy | InspectionLotCreatedBy | |||
| InspectionLotChangeDate | InspectionLotChangeDate | |||
| InspectionLotChangeTime | InspectionLotChangeTime | |||
| InspectionLotChangedBy | InspectionLotChangedBy | |||
| InspectionLotPlant | _InspectionLot | Plant | Valuation Area | |
| Material | Material | Vehicle Model | ||
| Supplier | Supplier | Supplier | ||
| BillOfOperationsGroup | BillOfOperationsGroup | Group | ||
| BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | ||
| BillOfOperationsType | BillOfOperationsType | Task List Type | ||
| BillOfOperationsUsage | BillOfOperationsUsage | |||
| BillOfOperationsChangeStateID | BillOfOperationsChangeStateID | |||
| _MaintenanceOrderOp | _MaintenanceOrderOp | |||
| _OrderTechnicalObject | _OrderTechnicalObject | |||
| _InspectionLotTechnicalObject | _InspectionLotTechnicalObject | |||
| _InspectionLotAggregate | _InspectionLotAggregate | |||
| _InspectionLot | _InspectionLot | |||
| _OrderComponent | _OrderComponent | |||
| _OperationStandardText | _OperationStandardText | |||
| _CheckListType | _CheckListType | |||
| _Plant | _Plant | |||
| _OperationWorkCenter | _OperationWorkCenter | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _AuthorizationGroup | _AuthorizationGroup | |||
| _InspLotCompltnStatusText | _InspLotCompltnStatusText | |||
| _BillOfOperationsChangeState | _BillOfOperationsChangeState | |||
| _BillOfOperationsUsage | _BillOfOperationsUsage | |||
| _Supplier | _Supplier | |||
| _InspLotUsageDecision | _InspLotUsageDecision | |||
| _InspectionLotType | _InspectionLotType |
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 R_MaintenanceChecklistTP.
-- 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 R_MaintenanceChecklistTP AS
SELECT
InspectionLot,
MaintenanceOrder,
cast(_MaintenanceOrderOp.MaintenanceOrderOperation as maintenanceorderoperation preserving type) AS MaintenanceOrderOperation,
_MaintenanceOrderOp.MaintOperationalChecklistType AS MaintOperationalChecklistType,
MaintenanceBusinessSubobject,
Plant,
InspectionLotType,
InspectionLotText,
MainChecklistIsDeactivated,
_OrderTechnicalObject._TechnicalObject.AuthorizationGroup AS AuthorizationGroup,
_InspLotUsageDecision.InspectionLotQualityScore AS InspectionLotQualityScore,
_InspLotUsageDecision.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
_MaintenanceOrderOp._MaintenanceOrder.ScheduledBasicStartDate AS ScheduledBasicStartDate,
_MaintenanceOrderOp._MaintenanceOrder.ScheduledBasicStartTime AS ScheduledBasicStartTime,
_MaintenanceOrderOp._MaintenanceOrder.ScheduledBasicEndDate AS ScheduledBasicEndDate,
_MaintenanceOrderOp._MaintenanceOrder.ScheduledBasicEndTime AS ScheduledBasicEndTime,
StatusObject,
MaintenanceOrderDesc,
MaintenancePlanningPlant,
MaintenanceOrderType,
_MaintenanceOrderOp._MaintenanceOrder.MaintenancePlan AS MaintenancePlan,
_MaintenanceOrderOp._MaintenanceOrder.MaintenanceItem AS MaintenanceItem,
_MaintenanceOrderOp._MaintenanceOrder.MaintenanceActivityType AS MaintenanceActivityType,
MaintenancePlannerGroup,
_MaintenanceOrderOp._MaintenanceOrder.MainWorkCenter AS MainWorkCenter,
_MaintenanceOrderOp._MaintenanceOrder.MainWorkCenterPlant AS MainWorkCenterPlant,
_MaintenanceOrderOp.OperationDescription AS OperationDescription,
_MaintenanceOrderOp.OperationWorkCenterInternalID AS OperationWorkCenterInternalID,
_MaintenanceOrderOp.OperationWorkCenterTypeCode AS OperationWorkCenterTypeCode,
_MaintenanceOrderOp.OperationControlKey AS OperationControlKey,
_MaintenanceOrderOp.OperationStandardTextCode AS OperationStandardTextCode,
InspectionLotCreatedOn,
InspectionLotCreatedOnTime,
InspectionLotCreatedBy,
InspectionLotChangeDate,
InspectionLotChangeTime,
InspectionLotChangedBy,
_InspectionLot.Plant AS InspectionLotPlant,
Material,
Supplier,
BillOfOperationsGroup,
BillOfOperationsVariant,
BillOfOperationsType,
BillOfOperationsUsage,
BillOfOperationsChangeStateID
FROM I_MaintOrderInspectionLot
LEFT OUTER JOIN I_MaintenanceOrderOperation AS _MaintenanceOrderOp ON MaintenanceOrder = _MaintenanceOrderOp.MaintenanceOrder AND MaintenanceBusinessSubobject = _MaintenanceOrderOp.MaintOrderOperationInternalID -- association [0..1]
LEFT OUTER JOIN I_MaintOrderTechObj AS _OrderTechnicalObject ON MaintenanceOrder = _OrderTechnicalObject.MaintenanceOrder -- association [1..1]
LEFT OUTER JOIN I_WorkCenter AS _OperationWorkCenter ON operationworkcenterinternalid = _OperationWorkCenter.WorkCenterInternalID AND operationworkcentertypecode = _OperationWorkCenter.WorkCenterTypeCode -- association [0..1]
LEFT OUTER JOIN I_MaintenanceChecklistTypeText AS _CheckListType ON maintoperationalchecklisttype = _CheckListType.MaintOperationalChecklistType AND _CheckListType.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_InspectionLotAggregate AS _InspectionLotAggregate ON InspectionLot = _InspectionLotAggregate.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_OperationStandardText AS _OperationStandardText ON operationstandardtextcode = _OperationStandardText.OperationStandardTextCode -- association [1..1]
LEFT OUTER JOIN I_InspectionLotWithStatus AS _InspectionLotWithStatus ON InspectionLot = _InspectionLotWithStatus.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspLotCompltnStatusText AS _InspLotCompltnStatusText ON InspLotCompltnStatus = _InspLotCompltnStatusText.InspLotCompltnStatus AND _InspLotCompltnStatusText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_InspectionLotStatus AS _InspLotStatusLocked ON StatusObject = _InspLotStatusLocked.StatusObject AND _InspLotStatusLocked.StatusCode = 'I0043' -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsChangeState AS _BillOfOperationsChangeState ON BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant AND BillOfOperationsChangeStateID = _BillOfOperationsChangeState.BOOInternalVersionCounter -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsUsage AS _BillOfOperationsUsage ON BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON _CreatedByUser.UserID = InspectionLotCreatedBy -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON _LastChangedByUser.UserID = InspectionLotChangedBy -- association [0..1]
LEFT OUTER JOIN I_TechObjAuthznGrpText AS _AuthorizationGroup ON _AuthorizationGroup.TechObjAuthorizationGroup = authorizationgroup AND _AuthorizationGroup.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_OrderComponent AS _OrderComponent ON MaintenanceOrder = _OrderComponent.OrderID AND MaintenanceOrderOperation = _OrderComponent.OrderOperation AND Reservation = _OrderComponent.Reservation AND ReservationItem = _OrderComponent.ReservationItem AND _OrderComponent.RecordType = '' -- association [0..1]
LEFT OUTER JOIN I_TechnicalObject AS _InspectionLotTechnicalObject ON _InspectionLotTechnicalObject.TechnicalObject = InspectionLotTechnicalObject AND _InspectionLotTechnicalObject.TechObjIsEquipOrFuncnlLoc = OpTechObjEquipOrFuncnlLoc -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA