I_ProductionOrderInternalID

DDL: I_PRODUCTIONORDERINTERNALID Type: view_entity BASIC

Production Order by Internal ID

I_ProductionOrderInternalID (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

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.

SAP Help Documentation

CategoryCDS Views for Discrete Manufacturing
Purpose
This CDS view retrieves production order data by their internal ID. This CDS view provides the data to answer the following business questions: What are the internal IDs associated with specific production orders? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: AUTYP (Order Category) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description ProductionOrderInternalID Order Internal ID ProductionOrder Production Order ProductionOrderType Production Order Type

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical Dimension, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves production order data by their internal ID.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the internal IDs associated with specific production orders? </p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_LogisticsOrder I_LogisticsOrder from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductionOrder _ProductionOrder $projection.ProductionOrder = _ProductionOrder.ProductionOrder
[1..1] I_ProductionOrderType _ProductionOrderType $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType

Annotations (16)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY ProductionOrderInternalID OrderInternalBillOfOperations Order Internal Bill of Operations
ProductionOrder Production Order
ProductionOrderType Production Order Type
_ProductionOrder _ProductionOrder
_ProductionOrderType _ProductionOrderType

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ProductionOrderInternalID.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_ProductionOrderInternalID AS
SELECT
  OrderInternalBillOfOperations AS ProductionOrderInternalID,
  cast(OrderID as vdm_manufacturingorder preserving type) AS ProductionOrder,
  cast(OrderType as vdm_prodnordertype preserving type) AS ProductionOrderType
FROM I_LogisticsOrder
LEFT OUTER JOIN I_ProductionOrder AS _ProductionOrder ON ProductionOrder = _ProductionOrder.ProductionOrder  -- association [1..1]
LEFT OUTER JOIN I_ProductionOrderType AS _ProductionOrderType ON ProductionOrderType = _ProductionOrderType.ProductionOrderType  -- association [1..1]
;