P_MaintOrdCompInconsistency
Maint. order component Inconsistencies
P_MaintOrdCompInconsistency is a Consumption CDS View that provides data about "Maint. order component Inconsistencies" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderComponent_2) and exposes 4 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, MaintOrderComponentInternalID. Part of development package ODATA_EAM_ORD_COMP_MAN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceOrderComponent_2 | component | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Maint. order component Inconsistencies | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | I_MaintenanceOrderComponent_2 | MaintenanceOrder | |
| KEY | MaintenanceOrderOperation | I_MaintenanceOrderComponent_2 | MaintenanceOrderOperation | |
| KEY | MaintenanceOrderSubOperation | I_MaintenanceOrderComponent_2 | MaintenanceOrderSubOperation | |
| KEY | MaintOrderComponentInternalID | I_MaintenanceOrderComponent_2 | MaintOrderComponentInternalID |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Maint. order component Inconsistencies'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #P,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
@VDM.private:true
@VDM.viewType: #CONSUMPTION
define view entity P_MaintOrdCompInconsistency as select from I_MaintenanceOrderComponent_2 as component
association of exact one to one P_ClosedOrdCompInconsistency as _ClosedOrdCompInconsistency
on _ClosedOrdCompInconsistency.MaintenanceOrder = $projection.MaintenanceOrder and
_ClosedOrdCompInconsistency.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation and
_ClosedOrdCompInconsistency.MaintenanceOrderSubOperation = $projection.MaintenanceOrderSubOperation and
_ClosedOrdCompInconsistency.MaintOrderComponentInternalID = $projection.MaintOrderComponentInternalID
association of exact one to one P_DeletedCompInconsistency as _DeletedCompInconsistency
on _DeletedCompInconsistency.MaintenanceOrder = $projection.MaintenanceOrder and
_DeletedCompInconsistency.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation and
_DeletedCompInconsistency.MaintenanceOrderSubOperation = $projection.MaintenanceOrderSubOperation and
_DeletedCompInconsistency.MaintOrderComponentInternalID = $projection.MaintOrderComponentInternalID
{
key component.MaintenanceOrder,
key component.MaintenanceOrderOperation,
key component.MaintenanceOrderSubOperation,
key component.MaintOrderComponentInternalID,
cast(
case when _ClosedOrdCompInconsistency.MaintOrdCompIsInconsistent = 'X'
or _DeletedCompInconsistency.MaintOrdCompIsInconsistent = 'X'
then 'X'
else '' end as boolean preserving type ) as MaintOrdCompIsInconsistent
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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