C_SimulationLogStatusCount

DDL: C_SIMULATIONLOGSTATUSCOUNT SQL: CSIMLNSTSCNT Type: view CONSUMPTION Package: ODATA_MM_COMMONS_MASSUPDT

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. It is exposed through 2 OData services (ASQL_F3332, ASQL_F4400). Part of development package ODATA_MM_COMMONS_MASSUPDT.

Data Sources (1)

SourceAliasJoin Type
P_SimlnLogSingleSuccess P_SimlnLogSingleSuccess from

Associations (5)

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

NameValueLevelField
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

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3332 ASQL_F3332 C2 NOT_RELEASED
ASQL_F4400 ASQL_F4400 C2 NOT_RELEASED

Fields (22)

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