C_ProductionHoldTP

DDL: C_PRODUCTIONHOLDTP Type: view CONSUMPTION

Manage Production Holds

C_ProductionHoldTP is a Consumption CDS View that provides data about "Manage Production Holds" in SAP S/4HANA. It reads from 1 data source (I_ProductionHoldTP) and exposes 94 fields with key field ProductionHold. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductionHoldTP I_ProductionHoldTP from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_MfgOrderVH _MfgOrderVH $projection.ManufacturingOrder = _MfgOrderVH.ManufacturingOrder -- contact cards
[0..1] I_UserContactCard _ApplyUserContactCard $projection.ProductionHoldAppliedByUser = _ApplyUserContactCard.ContactCardID
[0..1] I_UserContactCard _ReleaseUserContactCard $projection.ProductionHoldReleasedByUser = _ReleaseUserContactCard.ContactCardID

Annotations (16)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CMPEPRODHOLDTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Manage Production Holds view
Metadata.allowExtensions true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.draftEnabled false view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (94)

KeyFieldSource TableSource FieldDescription
KEY ProductionHold ProductionHold
ProductionHoldObjectType ProductionHoldObjectType
MfgObjectType MfgObjectType
ProductionHoldObjectTypeName ProductionHoldObjectTypeName
ProductionHoldObject ProductionHoldObject
ProdnHoldObjectDescription ProdnHoldObjectDescription
ProductionPlant ProductionPlant Prod plnt
Material Material Vehicle Model
MaterialName MaterialName Material Description
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenterTypeCode Object Type
WorkCenter WorkCenter Work Center
WorkCenterText WorkCenterText Work Center Text
ManufacturingOrder ManufacturingOrder Order
OrderInternalID OrderInternalID Plan No.f.Oper.
OrderOperationInternalID OrderOperationInternalID
ManufacturingOrderSequence ManufacturingOrderSequence
ManufacturingOrderOperation ManufacturingOrderOperation Activity
OperationText OperationText Description
ShopFloorItem ShopFloorItem Serial.Mat. ID
SerialNumber SerialNumber Serial Number
OpActyNtwkInstance OpActyNtwkInstance Instance ID
OpActyNtwkElement OpActyNtwkElement Element Number
OperationActivityName OperationActivityName
OperationActivitySFIGroup OperationActivitySFIGroup
OpActySFIGroupName OpActySFIGroupName
OpActyNtwkElementExternalID OpActyNtwkElementExternalID Op. Activity
ProductionHoldStartDateTime ProductionHoldStartDateTime
ProductionHoldEndDateTime ProductionHoldEndDateTime
ProductionHoldStatus ProductionHoldStatus
ProductionHoldStatusName ProductionHoldStatusName
StatusIsActive StatusIsActive
MfgExecDocNoteIsExisting MfgExecDocNoteIsExisting
Action ProductionHold
ProdnHoldAppliedByUserName ProdnHoldAppliedByUserName Full Name
ProdnHoldApplyRsnCodeGrpCtlg ProdnHoldApplyRsnCodeGrpCtlg
ProdnHoldApplyRsnCodeGroup ProdnHoldApplyRsnCodeGroup
ProductionHoldApplyReasonCode ProductionHoldApplyReasonCode
ProdnHoldApplyReasonCodeName ProdnHoldApplyReasonCodeName
ProductionHoldApplyNote ProductionHoldApplyNote
ProdnHoldApplyLastChgdByUsr ProdnHoldApplyLastChgdByUsr
ProdnHoldApplyLstChgByUsrName ProdnHoldApplyLstChgByUsrName Full Name
ProdnHoldApplyLastChgdDteTme ProdnHoldApplyLastChgdDteTme
ProdnHoldReleasedByUserName ProdnHoldReleasedByUserName Full Name
ProdnHoldRelRsnCodeGrpCtlg ProdnHoldRelRsnCodeGrpCtlg
ProdnHoldRelRsnCodeGroup ProdnHoldRelRsnCodeGroup
ProductionHoldRelReasonCode ProductionHoldRelReasonCode
ProdnHoldRelReasonCodeName ProdnHoldRelReasonCodeName
ProductionHoldReleaseNote ProductionHoldReleaseNote
ProdnHoldReleaseLastChgdByUsr ProdnHoldReleaseLastChgdByUsr
ProdnHoldRelLastChgdByUsrName ProdnHoldRelLastChgdByUsrName Full Name
ProdnHoldReleaseLastChgdDteTme ProdnHoldReleaseLastChgdDteTme
DefectDefectInternalIDasDefectInternalID
Defect _Defect Defect
DefectText _Defect DefectText
Notification Notification Notification
NotificationItem NotificationItem
DefectLifecycleStatus _Defect DefectLifecycleStatus
DefectLifecycleStatusText
DefectCodeGroup _Defect DefectCodeGroup Code Group
DefectCode _Defect DefectCode Damage Code
DefectCodeText
HoldDurationInSeconds HoldDurationInSeconds
CalendarBasedNetDurnInSeconds CalendarBasedNetDurnInSeconds
WorkCenterBsdNetDurnInSeconds WorkCenterBsdNetDurnInSeconds
CalendarBasedNetDuration CalendarBasedNetDuration
DurationUnit DurationUnit Unit
ProdnHoldApplyRsnCodeRqmt ProdnHoldApplyRsnCodeRqmt
ProdnHoldApplySttgRsnCodeGroup ProdnHoldApplySttgRsnCodeGroup
ProdnHoldRelRsnCodeRqmt ProdnHoldRelRsnCodeRqmt
ProdnHoldRelSttgRsnCodeGroup ProdnHoldRelSttgRsnCodeGroup
ReasonCodeOrNoteIsEditable ReasonCodeOrNoteIsEditable
ProdnHoldIsAppldForOrderChg ProdnHoldIsAppldForOrderChg
ProdnHoldIsToBeManuallyReld ProdnHoldIsToBeManuallyReld
_ProductionHoldObjectType _ProductionHoldObjectType
_ProductionHoldStatus _ProductionHoldStatus
_ProductionPlant _ProductionPlant
_Material _Material
_WorkCenter _WorkCenter
_WorkCenterBySemanticKey _WorkCenterBySemanticKey
_MfgOrder _MfgOrder
_MfgOrderVH _MfgOrderVH
_MfgOrderOperation _MfgOrderOperation
_ShopFloorItem _ShopFloorItem
_OperationActivitySFIGroup _OperationActivitySFIGroup
_AppliedByUser _AppliedByUser
_ReleasedByUser _ReleasedByUser
_Notification _Notification
_ApplyUserContactCard _ApplyUserContactCard
_ReleaseUserContactCard _ReleaseUserContactCard
_Defect _Defect
_DefectStatus _Defect _DefectStatus
_DefectCodeGroup _Defect _DefectCodeGroup
_DefectCode _Defect _DefectCode

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 C_ProductionHoldTP.
-- 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 C_ProductionHoldTP AS
SELECT
  ProductionHold,
  ProductionHoldObjectType,
  MfgObjectType,
  ProductionHoldObjectTypeName,
  ProductionHoldObject,
  ProdnHoldObjectDescription,
  ProductionPlant,
  Material,
  MaterialName,
  WorkCenterInternalID,
  WorkCenterTypeCode,
  WorkCenter,
  WorkCenterText,
  ManufacturingOrder,
  OrderInternalID,
  OrderOperationInternalID,
  ManufacturingOrderSequence,
  ManufacturingOrderOperation,
  OperationText,
  ShopFloorItem,
  SerialNumber,
  OpActyNtwkInstance,
  OpActyNtwkElement,
  OperationActivityName,
  OperationActivitySFIGroup,
  OpActySFIGroupName,
  OpActyNtwkElementExternalID,
  ProductionHoldStartDateTime,
  ProductionHoldEndDateTime,
  ProductionHoldStatus,
  ProductionHoldStatusName,
  StatusIsActive,
  MfgExecDocNoteIsExisting,
  ProductionHold AS Action,
  ProdnHoldAppliedByUserName,
  ProdnHoldApplyRsnCodeGrpCtlg,
  ProdnHoldApplyRsnCodeGroup,
  ProductionHoldApplyReasonCode,
  ProdnHoldApplyReasonCodeName,
  ProductionHoldApplyNote,
  ProdnHoldApplyLastChgdByUsr,
  ProdnHoldApplyLstChgByUsrName,
  ProdnHoldApplyLastChgdDteTme,
  ProdnHoldReleasedByUserName,
  ProdnHoldRelRsnCodeGrpCtlg,
  ProdnHoldRelRsnCodeGroup,
  ProductionHoldRelReasonCode,
  ProdnHoldRelReasonCodeName,
  ProductionHoldReleaseNote,
  ProdnHoldReleaseLastChgdByUsr,
  ProdnHoldRelLastChgdByUsrName,
  ProdnHoldReleaseLastChgdDteTme,
  _Defect.Defect AS Defect,
  _Defect.DefectText AS DefectText,
  Notification,
  NotificationItem,
  _Defect.DefectLifecycleStatus AS DefectLifecycleStatus,
  _Defect._DefectStatus._DefectStatusText[1: Language=$session.system_language].DefectLifecycleStatusText AS DefectLifecycleStatusText,
  _Defect.DefectCodeGroup AS DefectCodeGroup,
  _Defect.DefectCode AS DefectCode,
  _Defect._DefectCode._Text[1: Language=$session.system_language].DefectCodeText AS DefectCodeText,
  HoldDurationInSeconds,
  CalendarBasedNetDurnInSeconds,
  WorkCenterBsdNetDurnInSeconds,
  CalendarBasedNetDuration,
  DurationUnit,
  ProdnHoldApplyRsnCodeRqmt,
  ProdnHoldApplySttgRsnCodeGroup,
  ProdnHoldRelRsnCodeRqmt,
  ProdnHoldRelSttgRsnCodeGroup,
  ReasonCodeOrNoteIsEditable,
  ProdnHoldIsAppldForOrderChg,
  ProdnHoldIsToBeManuallyReld,
  _Defect._DefectStatus AS _DefectStatus,
  _Defect._DefectCodeGroup AS _DefectCodeGroup,
  _Defect._DefectCode AS _DefectCode
FROM I_ProductionHoldTP
LEFT OUTER JOIN I_MfgOrderVH AS _MfgOrderVH ON ManufacturingOrder = _MfgOrderVH.ManufacturingOrder  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ApplyUserContactCard ON ProductionHoldAppliedByUser = _ApplyUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ReleaseUserContactCard ON ProductionHoldReleasedByUser = _ReleaseUserContactCard.ContactCardID  -- association [0..1]
;