P_RunOverheadOrder
List of Orders for Actual Overhead Calculation Run
P_RunOverheadOrder is a Composite CDS View that provides data about "List of Orders for Actual Overhead Calculation Run" in SAP S/4HANA. It reads from 2 data sources (I_InternalOrder, I_MaintenanceOrder) and exposes 10 fields with key field OrderID. Part of development package ODATA_OVERHEAD_CALC_SINGLE.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_InternalOrder | _InternalOrder | union |
| I_MaintenanceOrder | _MaintenanceOrder | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRUNOVHDORDER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderID | MaintenanceOrder | ||
| OrderDescription | MaintenanceOrderDesc | |||
| ControllingObject | MaintenanceOrderInternalID | |||
| ControllingArea | ControllingArea | |||
| CompanyCode | CompanyCode | |||
| OrderDescription | InternalOrderDescription | |||
| ControllingObject | ControllingObject | |||
| ControllingArea | ControllingArea | |||
| CompanyCode | CompanyCode | |||
| _CompanyCode | _CompanyCode |
@AbapCatalog.sqlViewName: 'PRUNOVHDORDER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_RunOverheadOrder
as select from I_MaintenanceOrder as _MaintenanceOrder
{
@ObjectModel.text.element: 'OrderDescription'
key MaintenanceOrder as OrderID,
@Semantics.text: true
MaintenanceOrderDesc as OrderDescription,
MaintenanceOrderInternalID as ControllingObject,
ControllingArea as ControllingArea,
@ObjectModel.foreignKey.association: '_CompanyCode'
CompanyCode as CompanyCode,
_CompanyCode
}
union select from I_InternalOrder as _InternalOrder
{
@ObjectModel.text.element: 'OrderDescription'
key InternalOrder as OrderID,
@Semantics.text: true
InternalOrderDescription as OrderDescription,
ControllingObject as ControllingObject,
ControllingArea as ControllingArea,
@ObjectModel.foreignKey.association: '_CompanyCode'
CompanyCode as CompanyCode,
_CompanyCode
}
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