I_ProductionOrderInternalID
Production Order by Internal ID
I_ProductionOrderInternalID is a Basic CDS View (Dimension) that provides data about "Production Order by Internal ID" in SAP S/4HANA. It reads from 1 data source (I_LogisticsOrder) and exposes 5 fields with key field ProductionOrderInternalID. It has 2 associations to related views. Part of development package VDM_PP_SFC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LogisticsOrder | I_LogisticsOrder | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionOrder | _ProductionOrder | $projection.ProductionOrder = _ProductionOrder.ProductionOrder |
| [1..1] | I_ProductionOrderType | _ProductionOrderType | $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IPRODNORDINTID | view | |
| Analytics.internalName | #LOCAL | view | |
| Consumption.ranked | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | ProductionOrderInternalID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Production Order by Internal ID | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionOrderInternalID | OrderInternalBillOfOperations | ||
| ProductionOrder | ||||
| ProductionOrderType | ||||
| _ProductionOrder | _ProductionOrder | |||
| _ProductionOrderType | _ProductionOrderType |
@AccessControl.authorizationCheck: #MANDATORY
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'IPRODNORDINTID'
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'ProductionOrderInternalID'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Order by Internal ID'
// Basic view with AUFPL (internal ID) as key
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity I_ProductionOrderInternalID
as select from I_LogisticsOrder
association [1..1] to I_ProductionOrder as _ProductionOrder on $projection.ProductionOrder = _ProductionOrder.ProductionOrder
association [1..1] to I_ProductionOrderType as _ProductionOrderType on $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType
{
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9}
key OrderInternalBillOfOperations as ProductionOrderInternalID,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderStdVH', element: 'ProductionOrder' } } ]
@ObjectModel.foreignKey.association: '_ProductionOrder'
cast(OrderID as vdm_manufacturingorder preserving type) as ProductionOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderTypeStdVH', element: 'ProductionOrderType' } } ]
@ObjectModel.foreignKey.association: '_ProductionOrderType'
cast(OrderType as vdm_prodnordertype preserving type) as ProductionOrderType,
// Associations
_ProductionOrder,
_ProductionOrderType
}
where
OrderCategory = '10' and
OrderInternalBillOfOperations <> '0000000000';
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