P_MatlStkRepProcUseInLogs

DDL: P_MATLSTKREPPROCUSEINLOGS Type: view_entity COMPOSITE

P_MatlStkRepProcUseInLogs is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_MatlStkLastRepSubsLog) and exposes 2 fields with key field MaterialStockReportProcedUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_MatlStkLastRepSubsLog _SubsLog from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MatlStkSubscrpn _Subscriptions _Subscriptions.MaterialStockSubscriptionUUID = _SubsLog.MaterialStockSubscriptionUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockReportProcedUUID _Subscriptions MaterialStockReportProcedUUID
NumberOfEntries

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_MatlStkRepProcUseInLogs.
-- 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_MatlStkRepProcUseInLogs AS
SELECT
  _Subscriptions.MaterialStockReportProcedUUID AS MaterialStockReportProcedUUID,
  count (*) AS NumberOfEntries
FROM P_MatlStkLastRepSubsLog AS _SubsLog
LEFT OUTER JOIN I_MatlStkSubscrpn AS _Subscriptions ON _Subscriptions.MaterialStockSubscriptionUUID = _SubsLog.MaterialStockSubscriptionUUID  -- association [1..1]
;