sycm_aps_i_scp_by_ep

DDL: SYCM_APS_I_SCP_BY_EP SQL: SYCMVISCPBYEP Type: view

Scope for entry points

sycm_aps_i_scp_by_ep is a CDS View that provides data about "Scope for entry points" in SAP S/4HANA. It reads from 3 data sources (sycm_aps_i_atc_fnd_by_ep_agg, sycma_scp_usage, sycm_aps_i_usage_by_ep) and exposes 4 fields with key field project_id. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
sycm_aps_i_atc_fnd_by_ep_agg findings_by_ep_agg left_outer
sycma_scp_usage scope from
sycm_aps_i_usage_by_ep usage_by_ep left_outer

Associations (2)

CardinalityTargetAliasCondition
[1] sycm_aps_i_scmon_roottype_text _roottype_text _roottype_text.roottype = scope.entry_point_type
[0..*] sycm_aps_c_scp_by_ep_item_e _object _object.project_id = scope.project_id and _object.entry_point_type = scope.entry_point_type and _object.entry_point_name = scope.entry_point_name

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SYCMVISCPBYEP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Scope for entry points view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY project_id sycma_scp_usage project_id Project UUID
h_index sycma_scp_usage h_index Complexity (H-Index)
last_used sycm_aps_i_usage_by_ep last_used Time Stamp
_object _object

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_scp_by_ep.
-- 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: SYCMVISCPBYEP

CREATE VIEW sycm_aps_i_scp_by_ep AS
SELECT
  scope.project_id AS project_id,
  scope.h_index AS h_index,
  usage_by_ep.last_used AS last_used
FROM sycma_scp_usage AS scope
LEFT OUTER JOIN sycm_aps_i_usage_by_ep AS usage_by_ep ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sycm_aps_i_atc_fnd_by_ep_agg AS findings_by_ep_agg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sycm_aps_i_scmon_roottype_text AS _roottype_text ON _roottype_text.roottype = scope.entry_point_type  -- association [1]
LEFT OUTER JOIN sycm_aps_c_scp_by_ep_item_e AS _object ON _object.project_id = scope.project_id AND _object.entry_point_type = scope.entry_point_type AND _object.entry_point_name = scope.entry_point_name  -- association [0..*]
;