P_SubstnStrgyUsgeCntInAltvCtrl

DDL: P_SUBSTNSTRGYUSGECNTINALTVCTRL SQL: PSTRGYINALTVCNT Type: view COMPOSITE

P_SubstnStrgyUsgeCntInAltvCtrl is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (R_SubstnStrgyAssgmtByAccUUID) and exposes 2 fields with key field AltvBsdConfSubstnStrgyUUID.

Data Sources (1)

SourceAliasJoin Type
R_SubstnStrgyAssgmtByAccUUID R_SubstnStrgyAssgmtByAccUUID from

Annotations (6)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PSTRGYINALTVCNT view
AbapCatalog.compiler.compareFilter true 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.
-- SQL view name: PSTRGYINALTVCNT

CREATE VIEW P_SubstnStrgyUsgeCntInAltvCtrl AS
SELECT
  AltvBsdConfSubstnStrgyUUID,
  cast(sum(NumberOfRelatedAltvControls) as atp_abc_n_o_related_altvctrl) AS NumberOfRelatedAltvControls
FROM R_SubstnStrgyAssgmtByAccUUID
;