P_SubstnStrgyUsgeCntInAltvCtrl

DDL: P_SUBSTNSTRGYUSGECNTINALTVCTRL Type: view_entity COMPOSITE Package: ATP_ABC_SUBSTITUTION_STRATEGY

Count of Substitution Strategy usage in Alternative Control

P_SubstnStrgyUsgeCntInAltvCtrl is a Composite CDS View that provides data about "Count of Substitution Strategy usage in Alternative Control" in SAP S/4HANA. It reads from 1 data source (R_SubstnStrgyAssgmtByAccUUID) and exposes 2 fields with key field AltvBsdConfSubstnStrgyUUID. Part of development package ATP_ABC_SUBSTITUTION_STRATEGY.

Data Sources (1)

SourceAliasJoin Type
R_SubstnStrgyAssgmtByAccUUID R_SubstnStrgyAssgmtByAccUUID from

Annotations (3)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AltvBsdConfSubstnStrgyUUID AltvBsdConfSubstnStrgyUUID Substitution Strategy UUID
NumberOfRelatedAltvControls

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 P_SubstnStrgyUsgeCntInAltvCtrl.
-- 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 P_SubstnStrgyUsgeCntInAltvCtrl AS
SELECT
  AltvBsdConfSubstnStrgyUUID,
  cast(sum(NumberOfRelatedAltvControls) as atp_abc_n_o_related_altvctrl) AS NumberOfRelatedAltvControls
FROM R_SubstnStrgyAssgmtByAccUUID
;