P_MPEInspIssuesByProdnOrder
Inspection Issues by Production Order
P_MPEInspIssuesByProdnOrder is a Consumption CDS View that provides data about "Inspection Issues by Production Order" in SAP S/4HANA. It reads from 2 data sources (P_MfgOrderAORList, I_InspectionIssuesByOrder) and exposes 5 fields with key field ManufacturingOrder.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_MfgOrderAORList | _AORList | inner |
| I_InspectionIssuesByOrder | _InspIssOrder | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Inspection Issues by Production Order | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | I_InspectionIssuesByOrder | ManufacturingOrder | |
| OrderInternalBillOfOperations | I_InspectionIssuesByOrder | OrderInternalBillOfOperations | ||
| InspHasRejectedCharc | ||||
| InspHasRejectedInspSubset | ||||
| InspHasRejectedInspLot |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Inspection Issues by Production Order'
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MIXED}
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view entity P_MPEInspIssuesByProdnOrder
as select from I_InspectionIssuesByOrder as _InspIssOrder
inner join P_MfgOrderAORList as _AORList on _AORList.OrderID = _InspIssOrder.ManufacturingOrder
{
key _InspIssOrder.ManufacturingOrder,
_InspIssOrder.OrderInternalBillOfOperations,
max( _InspIssOrder.InspHasRejectedCharc ) as InspHasRejectedCharc,
max( _InspIssOrder.InspHasRejectedInspSubset ) as InspHasRejectedInspSubset,
max( _InspIssOrder.InspHasRejectedInspLot ) as InspHasRejectedInspLot
}
group by
_InspIssOrder.ManufacturingOrder,
_InspIssOrder.OrderInternalBillOfOperations
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INSPECTIONISSUESBYORDER",
"P_MFGORDERAORLIST"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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