C_RFM_OrdFlfmtApplJobMsgCnt

DDL: C_RFM_ORDFLFMTAPPLJOBMSGCNT SQL: CRFMOFAJMC Type: view CONSUMPTION

Cnsmpn view for OrdFlfmt Appl Job Msg Ct

C_RFM_OrdFlfmtApplJobMsgCnt is a Consumption CDS View that provides data about "Cnsmpn view for OrdFlfmt Appl Job Msg Ct" in SAP S/4HANA. It reads from 1 data source (I_RFM_OrdFlfmtApplJobMsgDoc) and exposes 4 fields with key field SimulationJobUUID.

Data Sources (1)

SourceAliasJoin Type
I_RFM_OrdFlfmtApplJobMsgDoc I_RFM_OrdFlfmtApplJobMsgDoc from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRFMOFAJMC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
EndUserText.label Cnsmpn view for OrdFlfmt Appl Job Msg Ct view
AbapCatalog.preserveKey true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SimulationJobUUID SimulationJobUUID Key
int4asErrorCount
int4asWarningCount
int4asSuccessCount

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_RFM_OrdFlfmtApplJobMsgCnt.
-- 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: CRFMOFAJMC

CREATE VIEW C_RFM_OrdFlfmtApplJobMsgCnt AS
SELECT
  SimulationJobUUID,
  cast(sum(case when SystemMessageType = 'E' then 1 else 0 end) as abap.int4) as ErrorCount AS int4asErrorCount,
  cast(sum(case when SystemMessageType = 'W' then 1 else 0 end) as abap.int4) as WarningCount AS int4asWarningCount,
  cast(sum(case when SystemMessageType = 'S' or SystemMessageType = 'I' then 1 else 0 end) as abap.int4) as SuccessCount AS int4asSuccessCount
FROM I_RFM_OrdFlfmtApplJobMsgDoc
;