P_MaintPlanStatus

DDL: P_MAINTPLANSTATUS Type: view_entity COMPOSITE

P_MaintPlanStatus is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_StatusObjectActiveStatus, I_MaintenancePlanBasic) and exposes 4 fields with key field MaintenancePlan.

Data Sources (2)

SourceAliasJoin Type
I_StatusObjectActiveStatus jest inner
I_MaintenancePlanBasic MaintenancePlan from

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan I_MaintenancePlanBasic MaintenancePlan MaintenancePlan
MaintenancePlanInternalID I_MaintenancePlanBasic MaintenancePlanInternalID Val. Obj. No.
MaintenancePlanCategory I_MaintenancePlanBasic MaintenancePlanCategory MPlan cat.
AuthorizationGroup I_MaintenancePlanBasic AuthorizationGroup AuthorizGroup

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 P_MaintPlanStatus.
-- 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 P_MaintPlanStatus AS
SELECT
  MaintenancePlan.MaintenancePlan AS MaintenancePlan,
  MaintenancePlan.MaintenancePlanInternalID AS MaintenancePlanInternalID,
  MaintenancePlan.MaintenancePlanCategory AS MaintenancePlanCategory,
  MaintenancePlan.AuthorizationGroup AS AuthorizationGroup
FROM I_MaintenancePlanBasic AS MaintenancePlan
INNER JOIN I_StatusObjectActiveStatus AS jest ON /* join condition not captured in parsed metadata */
;