TMO_HM_C_LOGS_COUNT_R

DDL: TMO_HM_C_LOGS_COUNT_R Type: view_entity

CDS View Application Logs Count

TMO_HM_C_LOGS_COUNT_R is a CDS View that provides data about "CDS View Application Logs Count" in SAP S/4HANA. It reads from 1 data source (GSM_I_MS_API_CURRENT_ATTR_E_R) and exposes 6 fields with key fields Target_Type, LogObjectId. It is exposed through 1 OData service (TMO_UI_HM_MAIN_R).

Data Sources (1)

SourceAliasJoin Type
GSM_I_MS_API_CURRENT_ATTR_E_R _Values from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label CDS View Application Logs Count view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

OData Services (1)

ServiceBindingVersionContractRelease
TMO_UI_HM_MAIN_R TMO_UI_HM_MAIN_R V2 C1 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Target_Type GSM_I_MS_API_CURRENT_ATTR_E_R Target_Type Target Type
KEY LogObjectId _Log_Object Attribute_Value Rnd.Attr. Value
Latest_TS_Utc GSM_I_MS_API_CURRENT_ATTR_E_R Timestamp_Utc Timestamp
Value GSM_I_MS_API_CURRENT_ATTR_E_R Value_Sum Metric Value
Value_Rating GSM_I_MS_API_CURRENT_ATTR_E_R Value_Rating Rating
Value_RatingendasCriticality

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 TMO_HM_C_LOGS_COUNT_R.
-- 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 TMO_HM_C_LOGS_COUNT_R AS
SELECT
  _Values.Target_Type AS Target_Type,
  _Log_Object.Attribute_Value AS LogObjectId,
  _Values.Timestamp_Utc AS Latest_TS_Utc,
  _Values.Value_Sum AS Value,
  _Values.Value_Rating AS Value_Rating,
  case when _Values.Value_Rating = 1 then 3 when _Values.Value_Rating = 3 then 1 when _Values.Value_Rating = 4 then 1 else _Values.Value_Rating end as Criticality AS Value_RatingendasCriticality
FROM GSM_I_MS_API_CURRENT_ATTR_E_R AS _Values
;