I_ProductionOrderTriggerPoint

DDL: I_PRODUCTIONORDERTRIGGERPOINT Type: view_entity COMPOSITE Package: VDM_PP_SFC

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

CategoryCDS Views for Discrete Manufacturing
Data CategoryFact
Purpose
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.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM-2CL
CapabilitiesData 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
PackageManufacturing 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

Data Sources (2)

SourceAliasJoin Type
I_Projectmilestone mlst from
I_MfgOrderOperationBasic oper inner

Associations (11)

CardinalityTargetAliasCondition
[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)

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

KeyFieldSource TableSource FieldDescription
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..*]
;