I_ProductionOrderTriggerPoint
Production Order Trigger Point
I_ProductionOrderTriggerPoint (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
ProductionOrderTriggerPoint · Manufacturing
I_ProductionOrderTriggerPoint is a Composite CDS View (Fact) that provides data about "Production Order Trigger Point" in SAP S/4HANA. It reads from 2 data sources (I_Projectmilestone, I_MfgOrderOperationBasic) and exposes 44 fields with key field TriggerPointNumber. It has 11 associations to related views. Part of development package VDM_PP_SFC.
SAP Help Documentation
| Category | CDS Views for Discrete Manufacturing |
|---|---|
| Data Category | Fact |
This CDS view selects the trigger points assigned to a production order. This CDS view provides the data to answer the following business questions: Which trigger points exist for a production order? Which workflows or functions are executed by a trigger point? 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) AUFART_WERKS (Order Type/Plant) 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 TriggerPointNumber Trigger Point Number TriggerPointName Trigger Point Name TriggerPointUsage Usage ProductionOrder Production Order ProductionOrderType Production Order Type ProductionOrderSequence Production Order Sequence ProductionOrderOperation Production Order Operation OperationControlProfile Control Profile TrggrPtReleaseStopIsActive Relevant for Release Stop TrggrPtIsUsedForTrggrPtFunc Trigger Point is Relevant for a Workflow TrggrPtIsMarkedForCreateOrder Create Order with Reference TrggrPtIsMarkedForInsertRefOp Insert Reference Operation Set TrggrPtIsMarkedForRelPrevOp Release Preceeding Operations TrggrPtIsMarkedForRelFllwngOp Release Succeeding Operations TrggrPtIsMarkedForRelUpToStop Release Up To Stop Function TrggrPtIsMrkdForStartWrkflwTsk Start Workflow Task Function
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | PP-VDM-2CL |
| Capabilities | Data Source for Data Extraction,Data Source for Defining CDS Entities,Data Source in SQL Select |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view selects the trigger points assigned to a production order. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which trigger points exist for a production order?</p></li> <li><p>Which workflows or functions are executed by a trigger point?</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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Projectmilestone | mlst | from |
| I_MfgOrderOperationBasic | oper | inner |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OrderInternalID | _OrderInternalID | $projection.OrderInternalID = _OrderInternalID.OrderInternalID |
| [1..1] | I_ProductionOrderType | _ProductionOrderType | $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType |
| [0..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterType = _WorkCenterType.WorkCenterTypeCode |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterType = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID |
| [0..1] | I_TriggerPointUsage | _TriggerPointUsage | $projection.TriggerPointUsage = _TriggerPointUsage.TriggerPointUsage |
| [0..*] | I_TriggerPointText | _TriggerPointText | $projection.TriggerPointNumber = _TriggerPointText.TriggerPointNumber -- SOT relations |
| [1..1] | I_ProductionOrder | _ProductionOrderHeader | $projection.ProductionOrder = _ProductionOrderHeader.ProductionOrder |
| [1..1] | I_ProductionOrderSequence | _ProductionOrderSequence | $projection.ProductionOrder = _ProductionOrderSequence.ProductionOrder and $projection.ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence |
| [1..1] | I_Plant | _ProductionPlantText | $projection.ProductionPlant = _ProductionPlantText.Plant |
| [1..1] | I_ProductionOrder | _ProductionOrderText | $projection.ProductionOrder = _ProductionOrderText.ProductionOrder |
| [0..*] | I_WorkCenterText | _WorkCenterText | $projection.WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID and $projection.WorkCenterType = _WorkCenterText.WorkCenterTypeCode -- end new associations for full coverage of text relations |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IPRODNORDTRGGRPT | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.sapObjectNodeType.name | ProductionOrderTriggerPoint | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Production Order Trigger Point | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TriggerPointNumber | Trigger Point Number | ||
| TriggerPointName | Trigger Point Name | |||
| OrderInternalID | I_MfgOrderOperationBasic | OrderInternalBillOfOperations | Order Internal Bill of Operations | |
| OrderOperationInternalID | I_MfgOrderOperationBasic | OrderIntBillOfOperationsItem | Internal Identifier of an Operation or Activity | |
| TriggerPointInternalID | Internal ID of a Trigger Point | |||
| IsMarkedForDeletion | I_Projectmilestone | IsDeleted | Deletion Indicator | |
| TriggerPointUsage | I_Projectmilestone | UsageCode | Usage | |
| CreationDate | I_Projectmilestone | CreationDate | Record Creation Date | |
| LastChangeDate | I_Projectmilestone | LastChangeDate | Date on which object was last changed | |
| CreatedByUser | I_Projectmilestone | CreatedByUser | Name of Person Responsible for Creating the Object | |
| LastChangedByUser | I_Projectmilestone | LastChangedByUser | Name of Person Who Changed Object | |
| ProductionOrder | Production Order | |||
| ProductionOrderType | Production Order Type | |||
| ProductionOrderSequence | Production Order Sequence | |||
| ProductionOrderOperation | Production Order Operation | |||
| ProductionPlant | I_MfgOrderOperationBasic | ProductionPlant | Prod plnt | |
| WorkCenterType | I_MfgOrderOperationBasic | WorkCenterTypeCode_2 | Work Center Type | |
| WorkCenterInternalID | I_MfgOrderOperationBasic | WorkCenterInternalID | Work Center Internal ID | |
| OperationControlProfile | Operation Control Profile | |||
| ScheduledBasicDate | I_Projectmilestone | ScheduledBasicDate | Scheduled milestone date (Basic) | |
| FixedBasicDate | I_Projectmilestone | FixedBasicDate | Fixed Date | |
| ActualEndDate | I_Projectmilestone | ActualEndDate | Actual Finish | |
| TrggrPtReleaseStopIsActive | I_Projectmilestone | MlstnReleaseStopIsActive | Indicator: Milestone is used for milestone functions | |
| TrggrPtIsUsedForTrggrPtFunc | Trigger Point is Relevant for a Workflow | |||
| TrggrPtIsMarkedForCreateOrder | Trigger Point: Create Order with Reference | |||
| TrggrPtIsMarkedForInsertRefOp | Trigger Point: Insert Reference Operation Set | |||
| TrggrPtIsMarkedForRelPrevOp | Trigger Point: Release Preceeding Operations | |||
| TrggrPtIsMarkedForRelFllwngOp | Trigger Point: Release Succeeding Operations | |||
| TrggrPtIsMarkedForRelUpToStop | I_Projectmilestone | MlstnIsMarkedForRelUptoStopInd | Selection function | |
| TrggrPtIsMrkdForStartWrkflwTsk | I_Projectmilestone | MlstnIsMarkedForStrtWrkflwTsk | Selection function | |
| _OrderInternalID | _OrderInternalID | |||
| _ProductionOrderType | _ProductionOrderType | |||
| _ProductionOrderHeader | _ProductionOrderHeader | |||
| _ProductionOrderSequence | _ProductionOrderSequence | |||
| _ProductionOrderOperation | _ProductionOrderOperation | |||
| _ProductionPlant | I_MfgOrderOperationBasic | _ProductionPlant | ||
| _OperationControlProfile | I_MfgOrderOperationBasic | _OperationControlProfile | ||
| _WorkCenterType | _WorkCenterType | |||
| _WorkCenter | _WorkCenter | |||
| _TriggerPointUsage | _TriggerPointUsage | |||
| _TriggerPointText | _TriggerPointText | |||
| newtextrelations_ProductionPlantText | ||||
| _ProductionOrderText | _ProductionOrderText | |||
| _WorkCenterText | _WorkCenterText |
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_ProductionOrderTriggerPoint.
-- 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_ProductionOrderTriggerPoint AS
SELECT
cast(mlst.ProjectMilestone as pph_mlst_zaehl preserving type) AS TriggerPointNumber,
cast(mlst.MilestoneDescription as pph_mlst_ktext preserving type) AS TriggerPointName,
oper.OrderInternalBillOfOperations AS OrderInternalID,
oper.OrderIntBillOfOperationsItem AS OrderOperationInternalID,
cast(mlst.ProjectMilestoneInternalID as pph_mlst_intid preserving type) AS TriggerPointInternalID,
mlst.IsDeleted AS IsMarkedForDeletion,
mlst.UsageCode AS TriggerPointUsage,
mlst.CreationDate AS CreationDate,
mlst.LastChangeDate AS LastChangeDate,
mlst.CreatedByUser AS CreatedByUser,
mlst.LastChangedByUser AS LastChangedByUser,
cast(oper.ManufacturingOrder as vdm_manufacturingorder preserving type) AS ProductionOrder,
cast(oper.ManufacturingOrderType as vdm_prodnordertype preserving type) AS ProductionOrderType,
cast(oper.ManufacturingOrderSequence as vdm_prodnordersequence preserving type) AS ProductionOrderSequence,
cast(oper.ManufacturingOrderOperation_2 as vdm_prodnorderoperation preserving type) AS ProductionOrderOperation,
oper.ProductionPlant AS ProductionPlant,
oper.WorkCenterTypeCode_2 AS WorkCenterType,
oper.WorkCenterInternalID AS WorkCenterInternalID,
cast(oper.OperationControlProfile as pph_steus preserving type) AS OperationControlProfile,
mlst.ScheduledBasicDate AS ScheduledBasicDate,
mlst.FixedBasicDate AS FixedBasicDate,
mlst.ActualEndDate AS ActualEndDate,
mlst.MlstnReleaseStopIsActive AS TrggrPtReleaseStopIsActive,
cast(mlst.MlstnIsUsedforMlstnFunc as vdm_pp_wflow preserving type) AS TrggrPtIsUsedForTrggrPtFunc,
cast(mlst.MlstnIsMarkedForCreateNtwk as vdm_pp_incnw preserving type) AS TrggrPtIsMarkedForCreateOrder,
cast(mlst.MlstnIsMarkedForIncludeSubNtwk as vdm_pp_incpn preserving type) AS TrggrPtIsMarkedForInsertRefOp,
cast(mlst.MlstnIsMarkedForCreateSubNtwk as vdm_pp_incsn preserving type) AS TrggrPtIsMarkedForRelPrevOp,
cast(mlst.MlstnIsMarkedForRelFllwngActy as vdm_pp_relsu preserving type) AS TrggrPtIsMarkedForRelFllwngOp,
mlst.MlstnIsMarkedForRelUptoStopInd AS TrggrPtIsMarkedForRelUpToStop,
mlst.MlstnIsMarkedForStrtWrkflwTsk AS TrggrPtIsMrkdForStartWrkflwTsk,
oper._ProductionPlant AS _ProductionPlant,
oper._OperationControlProfile AS _OperationControlProfile
FROM I_Projectmilestone AS mlst
INNER JOIN I_MfgOrderOperationBasic AS oper ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalID = _OrderInternalID.OrderInternalID -- association [1..1]
LEFT OUTER JOIN I_ProductionOrderType AS _ProductionOrderType ON ProductionOrderType = _ProductionOrderType.ProductionOrderType -- association [1..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterType = _WorkCenterType.WorkCenterTypeCode -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterType = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- association [0..1]
LEFT OUTER JOIN I_TriggerPointUsage AS _TriggerPointUsage ON TriggerPointUsage = _TriggerPointUsage.TriggerPointUsage -- association [0..1]
LEFT OUTER JOIN I_TriggerPointText AS _TriggerPointText ON TriggerPointNumber = _TriggerPointText.TriggerPointNumber -- association [0..*]
LEFT OUTER JOIN I_ProductionOrder AS _ProductionOrderHeader ON ProductionOrder = _ProductionOrderHeader.ProductionOrder -- association [1..1]
LEFT OUTER JOIN I_ProductionOrderSequence AS _ProductionOrderSequence ON ProductionOrder = _ProductionOrderSequence.ProductionOrder AND ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlantText ON ProductionPlant = _ProductionPlantText.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductionOrder AS _ProductionOrderText ON ProductionOrder = _ProductionOrderText.ProductionOrder -- association [1..1]
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterText ON WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID AND WorkCenterType = _WorkCenterText.WorkCenterTypeCode -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA