C_MaintenancePlanQuickVw

DDL: C_MAINTENANCEPLANQUICKVW SQL: CMAINTPLANQW Type: view CONSUMPTION

Quick View for Maintenance Plan

C_MaintenancePlanQuickVw is a Consumption CDS View that provides data about "Quick View for Maintenance Plan" in SAP S/4HANA. It reads from 1 data source (I_MaintenancePlan) and exposes 19 fields with key field MaintenancePlan.

Data Sources (1)

SourceAliasJoin Type
I_MaintenancePlan I_MaintenancePlan from

Annotations (13)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CMAINTPLANQW view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Quick View for Maintenance Plan view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey MaintenancePlan view
UI.headerInfo.typeName Maintenance Plan view
UI.headerInfo.typeNamePlural Maintenance Plans view
UI.headerInfo.typeImageUrl sap-icon: imageUrl: view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan MaintenancePlan Maintenance Plan
MaintenancePlanDesc MaintenancePlanDesc MaintPlanText
MaintenancePlanLongText Long Text
MaintenancePlanCategory MaintenancePlanCategory Category
MaintenancePlanCategoryDesc Maintenance Plan Category Text
MaintenanceStrategy MaintenanceStrategy Maintenance Strategy
MaintenanceStrategyDesc Maintenance Plan Strategy Text
BasicStartDate BasicStartDate Start Of Cycle
MaintenancePlanInternalID MaintenancePlanInternalID Val. Obj. No.
MaintPlanActvSystemStatusDesc
LastScheduledMaintCallDate Last Scheduled Call Date
LastScheduledMaintCallObject Last Scheduled Call Object
NextScheduledMaintCallDate Next Scheduled Call Date
NextScheduledMaintCallObject Next Scheduled Call Object
LastManualMaintCallDate Last Manual Call Date
LastManualMaintCallObject Last Manual Call Object
NextManualMaintCallDate Next Manual Call Date
NextManualMaintCallObject Next Manual Call Object
sapicon Image

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_MaintenancePlanQuickVw.
-- 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: CMAINTPLANQW

CREATE VIEW C_MaintenancePlanQuickVw AS
SELECT
  MaintenancePlan,
  MaintenancePlanDesc,
  cast (' ' as eams_ltext ) AS MaintenancePlanLongText,
  MaintenancePlanCategory,
  _MaintenancePlanCatParam._Text[1:Language = $session.system_language].MaintenancePlanCategoryDesc AS MaintenancePlanCategoryDesc,
  MaintenanceStrategy,
  _MaintenanceStrategy._MaintenanceStrategyText[1:Language = $session.system_language].MaintenanceStrategyDesc AS MaintenanceStrategyDesc,
  BasicStartDate,
  MaintenancePlanInternalID,
  cast( '' as eam_maintplan_active_sy_status ) AS MaintPlanActvSystemStatusDesc,
  cast ('' as eams_last_sched_call_date) AS LastScheduledMaintCallDate,
  cast ('' as eams_last_sched_call_object) AS LastScheduledMaintCallObject,
  cast ('' as eams_next_sched_call_date) AS NextScheduledMaintCallDate,
  cast ('' as eams_next_sched_call_object) AS NextScheduledMaintCallObject,
  cast ('' as eams_last_man_call_date) AS LastManualMaintCallDate,
  cast ('' as eams_last_man_call_object) AS LastManualMaintCallObject,
  cast ('' as eams_next_man_call_date) AS NextManualMaintCallDate,
  cast ('' as eams_next_man_call_object) AS NextManualMaintCallObject
FROM I_MaintenancePlan
;