P_MfgOrderFirstOperation
P_MfgOrderFirstOperation is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationBasic) and exposes 3 fields with key fields ManufacturingOrder, ManufacturingOrderSequence.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationBasic | I_MfgOrderOperationBasic | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPPMFGORDFIROP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | ManufacturingOrder | ||
| KEY | ManufacturingOrderSequence | ManufacturingOrderSequence | ||
| ManufacturingOrderOperation |
@AbapCatalog.sqlViewName: 'PPPMFGORDFIROP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #CONSUMPTION
@VDM.private: true
// To be used in consumption views, e.g. popover views that need to display
// the very first operation of a manufacturing order
define view P_MfgOrderFirstOperation
as select from I_MfgOrderOperationBasic
{
key ManufacturingOrder,
key ManufacturingOrderSequence,
// First Operation
min(ManufacturingOrderOperation) as ManufacturingOrderOperation
}
group by
ManufacturingOrder,
ManufacturingOrderSequence;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDEROPERATIONBASIC"
],
"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