sycm_aps_i_usage_by_object

DDL: SYCM_APS_I_USAGE_BY_OBJECT SQL: SYCMVIUSAGEBYOBJ Type: view Package: SYCM_APS

Usage aggregated by object for project

sycm_aps_i_usage_by_object is a CDS View that provides data about "Usage aggregated by object for project" in SAP S/4HANA. It reads from 1 data source (sycm_aps_i_usage) and exposes 5 fields with key fields project_id, obj_type, obj_name. Part of development package SYCM_APS.

Data Sources (1)

SourceAliasJoin Type
sycm_aps_i_usage sycm_aps_i_usage from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SYCMVIUSAGEBYOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Usage aggregated by object for project view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY project_id project_id Project UUID
KEY obj_type obj_type Type
KEY obj_name obj_name Object Name
counter
last_used

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 sycm_aps_i_usage_by_object.
-- 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: SYCMVIUSAGEBYOBJ

CREATE VIEW sycm_aps_i_usage_by_object AS
SELECT
  project_id,
  obj_type,
  obj_name,
  sum(counter) AS counter,
  max(last_used) AS last_used
FROM sycm_aps_i_usage
;