I_ProcessMessage

DDL: I_PROCESSMESSAGE Type: view_entity BASIC

Process Message Header

I_ProcessMessage (Basic)

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

Manufacturing

I_ProcessMessage is a Basic CDS View (Fact) that provides data about "Process Message Header" in SAP S/4HANA. It reads from 1 data source (comh) and exposes 12 fields with key field ProcessMessage. It has 4 associations to related views.

SAP Help Documentation

CategoryCDS Views for Process Industries
StatusProcessing Status
Purpose
This CDS view helps to select process messages (table COMH ). This CDS view provides the data to answer the following business questions: Which process messages exist for a process order? Which category is a process message assigned to? What’s the sender name of a process message? 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 the following authorization objects assigned: C _MESS _WRK PP-PI: Control Recipe - Plant, authorization field ACTVT = 03

Structure
Fields Used for Filtering The main filters are as follows: Plant : This field is used to filter by plant. ProcessOrder : This field is used to filter by process order. ProcessMessageCategory : This field is used to filter by category. Further Important Fields Important fields in this view include the following: Field Name Description ProcessMessage Process Message Plant Plant ProcessOrder Process Order ProcessMessageCategory Process Message Category ProcessMessageProcessingStatus Processing Status ProcessMessageSenderName Sender

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps to select process messages (table COMH).</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which process messages exist for a process order?</p></li> <li><p>Which category is a process message assigned to?</p></li> <li><p>What’s the sender name of a process message?</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
comh comh from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_ManufacturingOrder _ProcessOrder $projection.ProcessOrder = _ProcessOrder.ManufacturingOrder
[1..1] I_ProcessMessageCategory _ProcessMessageCategory $projection.Plant = _ProcessMessageCategory.Plant and $projection.ProcessMessageCategory = _ProcessMessageCategory.ProcessMessageCategory
[0..*] I_ProcessMessageDestination _ProcessMessageDestination $projection.ProcessMessage = _ProcessMessageDestination.ProcessMessage

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #FACT view
Analytics.internalName #LOCAL view
Analytics.technicalName IPROCMESSAGE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Process Message Header view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ProcessMessage comh msid Number of the Process Message
Plant comh werk Plant
ProcessMessageCategory comh mscla Process Message Category
errkzasProcessMessageProcessingStatus
ProcessMessageIsForTesting comh tstkz Indicator: Message or Control Recipe for Test Purposes
ProcessMessageSenderName comh source Sender of the process message
CreationDate comh sedat Record Created On
CreationTime comh seuzt Time when the record was created
_Plant _Plant
_ProcessOrder _ProcessOrder
_ProcessMessageDestination _ProcessMessageDestination
_ProcessMessageCategory _ProcessMessageCategory

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_ProcessMessage.
-- 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_ProcessMessage AS
SELECT
  comh.msid AS ProcessMessage,
  comh.werk AS Plant,
  comh.mscla AS ProcessMessageCategory,
  comh.tstkz AS ProcessMessageIsForTesting,
  comh.source AS ProcessMessageSenderName,
  comh.sedat AS CreationDate,
  comh.seuzt AS CreationTime
FROM comh
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _ProcessOrder ON ProcessOrder = _ProcessOrder.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_ProcessMessageCategory AS _ProcessMessageCategory ON Plant = _ProcessMessageCategory.Plant AND ProcessMessageCategory = _ProcessMessageCategory.ProcessMessageCategory  -- association [1..1]
LEFT OUTER JOIN I_ProcessMessageDestination AS _ProcessMessageDestination ON ProcessMessage = _ProcessMessageDestination.ProcessMessage  -- association [0..*]
;