A_MaintenanceItemReason

DDL: A_MAINTENANCEITEMREASON Type: view_entity CONSUMPTION Package: VDM_EAM_MAINTENANCEITEM

Maintenance Item Reason

A_MaintenanceItemReason is a Consumption CDS View that provides data about "Maintenance Item Reason" in SAP S/4HANA. It reads from 1 data source (R_MaintenanceItemReasonTP) and exposes 15 fields with key fields MaintenanceItem, NmbrOfMaintComplianceItems. It is exposed through 4 OData services (API_MAINTENANCEITEM, API_MAINTENANCEPLAN, ASQL_F8664, ...). Part of development package VDM_EAM_MAINTENANCEITEM.

Data Sources (1)

SourceAliasJoin Type
R_MaintenanceItemReasonTP R_MaintenanceItemReasonTP projection

Annotations (8)

NameValueLevelField
EndUserText.label Maintenance Item Reason view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

OData Services (4)

ServiceBindingVersionContractRelease
API_MAINTENANCEITEM API_MAINTENANCEITEM V2 C2 C1
API_MAINTENANCEPLAN API_MAINTENANCEPLAN V2 C2 C1
ASQL_F8664 ASQL_F8664 C2 NOT_RELEASED
ASQL_F8666 ASQL_F8666 C2 NOT_RELEASED

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceItem MaintenanceItem MaintItem
KEY NmbrOfMaintComplianceItems NmbrOfMaintComplianceItems
MaintenanceComplianceGroupCode MaintenanceComplianceGroupCode
MaintenanceComplianceCode MaintenanceComplianceCode
MaintenanceComplianceTypeCode MaintenanceComplianceTypeCode
MaintComplianceCatalogCode MaintComplianceCatalogCode
MaintComplianceDescription MaintComplianceDescription
MaintenancePackage MaintenancePackage
MaintCmplRqIsLegallyBinding MaintCmplRqIsLegallyBinding
MaintCmplRqOriginCode MaintCmplRqOriginCode
AdminDataCreatedByUser
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp

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 A_MaintenanceItemReason.
-- 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 A_MaintenanceItemReason AS
SELECT
  MaintenanceItem,
  NmbrOfMaintComplianceItems,
  MaintenanceComplianceGroupCode,
  MaintenanceComplianceCode,
  MaintenanceComplianceTypeCode,
  MaintComplianceCatalogCode,
  MaintComplianceDescription,
  MaintenancePackage,
  MaintCmplRqIsLegallyBinding,
  MaintCmplRqOriginCode,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  LastChangeDateTime
FROM R_MaintenanceItemReasonTP
;