sycm_aps_i_usage

DDL: SYCM_APS_I_USAGE SQL: SYCMVIUSAGE Type: view

Usage aggregated for project

sycm_aps_i_usage is a CDS View that provides data about "Usage aggregated for project" in SAP S/4HANA. It reads from 3 data sources (sycma_tadir_d, sycma_usg_odata, sycma_prj_usg) and exposes 5 fields with key fields project_id, obj_type, obj_name.

Data Sources (3)

SourceAliasJoin Type
sycma_tadir_d tadir inner
sycma_usg_odata usage_o inner
sycma_prj_usg usages_for_project from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SYCMVIUSAGE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Usage aggregated for project view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY project_id sycma_prj_usg project_id Project UUID
KEY obj_type sycma_usg_odata obj_type Type
KEY obj_name sycma_usg_odata 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.
-- 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: SYCMVIUSAGE

CREATE VIEW sycm_aps_i_usage AS
SELECT
  usages_for_project.project_id AS project_id,
  usage_o.obj_type AS obj_type,
  usage_o.obj_name AS obj_name,
  sum(usage_o.counter) AS counter,
  max(usage_o.last_used) AS last_used
FROM sycma_prj_usg AS usages_for_project
INNER JOIN sycma_usg_odata AS usage_o ON /* join condition not captured in parsed metadata */
INNER JOIN sycma_tadir_d AS tadir ON /* join condition not captured in parsed metadata */
;