C_SimulationLogStatusCount
Count error, wrng msgs in app log
C_SimulationLogStatusCount is a Consumption CDS View that provides data about "Count error, wrng msgs in app log" in SAP S/4HANA. It reads from 1 data source (P_SimlnLogSingleSuccess) and exposes 22 fields with key fields SimulationJobUUID, SystemMessageNumber, SystemMessageIdentification, SystemMessageType, SystemMessageVariable1. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SimlnLogSingleSuccess | P_SimlnLogSingleSuccess | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_PurchasingDocSimulationJob | _PurchasingDocSimulationJob | $projection.SimulationJobUUID = _PurchasingDocSimulationJob.SimulationJobUUID |
| [1..*] | C_MassUpdtPurgDocsMsgDets | _MassUpdtPurgDocsMsgDets | $projection.SimulationJobUUID = _MassUpdtPurgDocsMsgDets.SimulationJobUUID and $projection.SystemMessageNumber = _MassUpdtPurgDocsMsgDets.SystemMessageNumber and $projection.SystemMessageIdentification = _MassUpdtPurgDocsMsgDets.SystemMessageIdentification and $projection.SystemMessageType = _MassUpdtPurgDocsMsgDets.SystemMessageType and $projection.SystemMessageVariable1 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable1 and $projection.SystemMessageVariable2 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable2 and $projection.SystemMessageVariable3 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable3 and $projection.SystemMessageVariable4 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable4 |
| [1..*] | C_MassUpdtCntrlCtrMsgDets | _MassUpdtCntrlCtrMsgDets | $projection.SimulationJobUUID = _MassUpdtCntrlCtrMsgDets.SimulationJobUUID and $projection.SystemMessageNumber = _MassUpdtCntrlCtrMsgDets.SystemMessageNumber and $projection.SystemMessageIdentification = _MassUpdtCntrlCtrMsgDets.SystemMessageIdentification and $projection.SystemMessageType = _MassUpdtCntrlCtrMsgDets.SystemMessageType and $projection.SystemMessageVariable1 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable1 and $projection.SystemMessageVariable2 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable2 and $projection.SystemMessageVariable3 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable3 and $projection.SystemMessageVariable4 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable4 |
| [1..*] | C_MassUpdtCntrlCtrHierMsgDets | _MassUpdtCntrlCtrHierMsgDets | $projection.SimulationJobUUID = _MassUpdtCntrlCtrHierMsgDets.SimulationJobUUID and $projection.SystemMessageNumber = _MassUpdtCntrlCtrHierMsgDets.SystemMessageNumber and $projection.SystemMessageIdentification = _MassUpdtCntrlCtrHierMsgDets.SystemMessageIdentification and $projection.SystemMessageType = _MassUpdtCntrlCtrHierMsgDets.SystemMessageType and $projection.SystemMessageVariable1 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable1 and $projection.SystemMessageVariable2 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable2 and $projection.SystemMessageVariable3 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable3 and $projection.SystemMessageVariable4 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable4 |
| [1..*] | C_MassUpdtPHRPRqItmMsgDet | _MassUpdtPHRPRqItmMsgDet | $projection.SimulationJobUUID = _MassUpdtPHRPRqItmMsgDet.SimulationJobUUID and $projection.SystemMessageIdentification = _MassUpdtPHRPRqItmMsgDet.SystemMessageIdentification and $projection.SystemMessageType = _MassUpdtPHRPRqItmMsgDet.SystemMessageType and $projection.SystemMessageVariable1 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable1 and $projection.SystemMessageVariable2 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable2 and $projection.SystemMessageVariable3 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable3 and $projection.SystemMessageVariable4 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable4 |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSIMLNSTSCNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Count error, wrng msgs in app log | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SimulationJobUUID | SimulationJobUUID | ||
| KEY | SystemMessageNumber | SystemMessageNumber | Message Number | |
| KEY | SystemMessageIdentification | SystemMessageIdentification | Message ID | |
| KEY | SystemMessageType | SystemMessageType | Message type | |
| KEY | SystemMessageVariable1 | SystemMessageVariable1 | Variable 1 | |
| KEY | SystemMessageVariable2 | SystemMessageVariable2 | Variable 2 | |
| KEY | SystemMessageVariable3 | SystemMessageVariable3 | Variable 3 | |
| KEY | SystemMessageVariable4 | SystemMessageVariable4 | Variable 4 | |
| SystemMessageText | Message Text | |||
| StatusMessageText | ||||
| NumberOfOccurrences | ||||
| PurchasingDocument | ||||
| PurchasingDocumentCategory | _PurchasingDocSimulationJob | PurchasingDocumentCategory | Doc. Category | |
| PurchasingDocumentSubtype | _PurchasingDocSimulationJob | PurchasingDocumentSubtype | Control | |
| CntrlPurContrIsNotActv | _PurchasingDocSimulationJob | CntrlPurContrIsNotActv | ||
| CntrlPurReqnIsNotActv | _PurchasingDocSimulationJob | CntrlPurReqnIsNotActv | ||
| CntrlPurContrHierIsNotActv | _PurchasingDocSimulationJob | CntrlPurContrHierIsNotActv | ||
| PurchaseOrderIsNotActive | _PurchasingDocSimulationJob | PurchaseOrderIsNotActive | ||
| _MassUpdtPurgDocsMsgDets | _MassUpdtPurgDocsMsgDets | |||
| _MassUpdtCntrlCtrMsgDets | _MassUpdtCntrlCtrMsgDets | |||
| _MassUpdtCntrlCtrHierMsgDets | _MassUpdtCntrlCtrHierMsgDets | |||
| _MassUpdtPHRPRqItmMsgDet | _MassUpdtPHRPRqItmMsgDet |
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_SimulationLogStatusCount.
-- 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.
-- SQL view name: CSIMLNSTSCNT
CREATE VIEW C_SimulationLogStatusCount AS
SELECT
SimulationJobUUID,
SystemMessageNumber,
SystemMessageIdentification,
SystemMessageType,
SystemMessageVariable1,
SystemMessageVariable2,
SystemMessageVariable3,
SystemMessageVariable4,
cast('' as bapi_msg) AS SystemMessageText,
cast('' as abap.char( 32 )) AS StatusMessageText,
cast(count(*) as srtcm_d_executions) AS NumberOfOccurrences,
cast ('' as ebeln) AS PurchasingDocument,
_PurchasingDocSimulationJob.PurchasingDocumentCategory AS PurchasingDocumentCategory,
_PurchasingDocSimulationJob.PurchasingDocumentSubtype AS PurchasingDocumentSubtype,
_PurchasingDocSimulationJob.CntrlPurContrIsNotActv AS CntrlPurContrIsNotActv,
_PurchasingDocSimulationJob.CntrlPurReqnIsNotActv AS CntrlPurReqnIsNotActv,
_PurchasingDocSimulationJob.CntrlPurContrHierIsNotActv AS CntrlPurContrHierIsNotActv,
_PurchasingDocSimulationJob.PurchaseOrderIsNotActive AS PurchaseOrderIsNotActive
FROM P_SimlnLogSingleSuccess
LEFT OUTER JOIN P_PurchasingDocSimulationJob AS _PurchasingDocSimulationJob ON SimulationJobUUID = _PurchasingDocSimulationJob.SimulationJobUUID -- association [1..1]
LEFT OUTER JOIN C_MassUpdtPurgDocsMsgDets AS _MassUpdtPurgDocsMsgDets ON SimulationJobUUID = _MassUpdtPurgDocsMsgDets.SimulationJobUUID AND SystemMessageNumber = _MassUpdtPurgDocsMsgDets.SystemMessageNumber AND SystemMessageIdentification = _MassUpdtPurgDocsMsgDets.SystemMessageIdentification AND SystemMessageType = _MassUpdtPurgDocsMsgDets.SystemMessageType AND SystemMessageVariable1 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable1 AND SystemMessageVariable2 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable2 AND SystemMessageVariable3 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable3 AND SystemMessageVariable4 = _MassUpdtPurgDocsMsgDets.SystemMessageVariable4 -- association [1..*]
LEFT OUTER JOIN C_MassUpdtCntrlCtrMsgDets AS _MassUpdtCntrlCtrMsgDets ON SimulationJobUUID = _MassUpdtCntrlCtrMsgDets.SimulationJobUUID AND SystemMessageNumber = _MassUpdtCntrlCtrMsgDets.SystemMessageNumber AND SystemMessageIdentification = _MassUpdtCntrlCtrMsgDets.SystemMessageIdentification AND SystemMessageType = _MassUpdtCntrlCtrMsgDets.SystemMessageType AND SystemMessageVariable1 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable1 AND SystemMessageVariable2 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable2 AND SystemMessageVariable3 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable3 AND SystemMessageVariable4 = _MassUpdtCntrlCtrMsgDets.SystemMessageVariable4 -- association [1..*]
LEFT OUTER JOIN C_MassUpdtCntrlCtrHierMsgDets AS _MassUpdtCntrlCtrHierMsgDets ON SimulationJobUUID = _MassUpdtCntrlCtrHierMsgDets.SimulationJobUUID AND SystemMessageNumber = _MassUpdtCntrlCtrHierMsgDets.SystemMessageNumber AND SystemMessageIdentification = _MassUpdtCntrlCtrHierMsgDets.SystemMessageIdentification AND SystemMessageType = _MassUpdtCntrlCtrHierMsgDets.SystemMessageType AND SystemMessageVariable1 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable1 AND SystemMessageVariable2 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable2 AND SystemMessageVariable3 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable3 AND SystemMessageVariable4 = _MassUpdtCntrlCtrHierMsgDets.SystemMessageVariable4 -- association [1..*]
LEFT OUTER JOIN C_MassUpdtPHRPRqItmMsgDet AS _MassUpdtPHRPRqItmMsgDet ON SimulationJobUUID = _MassUpdtPHRPRqItmMsgDet.SimulationJobUUID AND SystemMessageIdentification = _MassUpdtPHRPRqItmMsgDet.SystemMessageIdentification AND SystemMessageType = _MassUpdtPHRPRqItmMsgDet.SystemMessageType AND SystemMessageVariable1 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable1 AND SystemMessageVariable2 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable2 AND SystemMessageVariable3 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable3 AND SystemMessageVariable4 = _MassUpdtPHRPRqItmMsgDet.SystemMessageVariable4 -- association [1..*]
;
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