C_MaintPlanActvSystStatusQ

DDL: C_MAINTPLANACTVSYSTSTATUSQ Type: view_entity CONSUMPTION Package: ODATA_EAM_MAINTENANCEPLAN

Maintenance Plan System Status - Qry

C_MaintPlanActvSystStatusQ is a Consumption CDS View that provides data about "Maintenance Plan System Status - Qry" in SAP S/4HANA. It reads from 1 data source (I_MaintenancePlanStatus) and exposes 6 fields with key field MaintenancePlan. Part of development package ODATA_EAM_MAINTENANCEPLAN.

Data Sources (1)

SourceAliasJoin Type
I_MaintenancePlanStatus I_MaintenancePlanStatus from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Maintenance Plan System Status - Qry view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
OData.publish true view
Analytics.query true view
Analytics.technicalName CMPLANSTATUSQ view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan MaintenancePlan MaintenancePlan
NumberOfMaintenancePlans
MaintPlanIsMarkedForDeletion Marked for Deletion
AuthorizationGroup AuthorizationGroup AuthorizGroup
MaintenancePlanCategory MaintenancePlanCategory
_MaintenancePlanCatParam _MaintenancePlanCatParam

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_MaintPlanActvSystStatusQ.
-- 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_MaintPlanActvSystStatusQ AS
SELECT
  MaintenancePlan,
  cast (1 as vdm_eam_mplans_status) AS NumberOfMaintenancePlans,
  cast( case when MaintPlanIsMarkedForDeletion = 1 then 1 end as vdm_eam_mplans_status ) AS MaintPlanIsMarkedForDeletion,
  AuthorizationGroup,
  MaintenancePlanCategory
FROM I_MaintenancePlanStatus
;