sycm_aps_c_usage

DDL: SYCM_APS_C_USAGE SQL: SYCMVCUSAGE Type: view Package: SYCM_APS

Usage aggregated for project

sycm_aps_c_usage is a CDS View that provides data about "Usage aggregated for project" in SAP S/4HANA. It reads from 2 data sources (sycma_scp_usage, sycm_aps_i_usage) and exposes 6 fields with key fields project_id, obj_type, obj_name. It has 2 associations to related views. It is exposed through 1 OData service (SYCM_APS_SCOPING). It is used in 1 Fiori application: Custom Code Migration. Part of development package SYCM_APS.

Data Sources (2)

SourceAliasJoin Type
sycma_scp_usage scope left_outer
sycm_aps_i_usage usage from

Associations (2)

CardinalityTargetAliasCondition
[1] sycm_aps_i_scmon_roottype_text _roottype_text _roottype_text.roottype = usage.entry_point_type
[1] sycm_aps_i_scp_info_text _scope_text _scope_text.scope_information = $projection.scope_information

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName SYCMVCUSAGE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Usage aggregated for project view
Metadata.allowExtensions true view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
SYCM_APS_SCOPING SYCM_APS_SCOPING V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F3191 Custom Code Migration Transactional The Custom Code Migration app enables you to create three different kinds of projects: 1. SAP S/4HANA Migration Project: Analyze custom code that shall be migrated from an existing product like SAP Business Suite to a new product such as SAP S/4HANA 2021. To evaluate the custom objects to be adapted, it performs the SAP S/4HANA custom code checks. 2. SAP BTP Analysis Project: Analyze custom code for readiness to run in SAP BTP, ABAP environment. 3. Custom Code Analysis Project: Analyze custom code with arbitrary ATC check variants. In addition, this app supports you with identifying unused custom code based on your collected usage data. This enables you to remove unused custom code during a system conversion to SAP S/4HANA.

Custom Code Migration

Business Role: Quality Manager - Software Development

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY project_id sycm_aps_i_usage project_id Project UUID
KEY obj_type sycm_aps_i_usage obj_type Type
KEY obj_name sycm_aps_i_usage obj_name Object Name
counter sycm_aps_i_usage counter Version
last_used sycm_aps_i_usage last_used Time Stamp
_scope_text _scope_text

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_c_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: SYCMVCUSAGE

CREATE VIEW sycm_aps_c_usage AS
SELECT
  usage.project_id AS project_id,
  usage.obj_type AS obj_type,
  usage.obj_name AS obj_name,
  usage.counter AS counter,
  usage.last_used AS last_used
FROM sycm_aps_i_usage AS usage
LEFT OUTER JOIN sycma_scp_usage AS scope ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sycm_aps_i_scmon_roottype_text AS _roottype_text ON _roottype_text.roottype = usage.entry_point_type  -- association [1]
LEFT OUTER JOIN sycm_aps_i_scp_info_text AS _scope_text ON _scope_text.scope_information = scope_information  -- association [1]
;