P_MatlStkReportSubscriptionLog

DDL: P_MATLSTKREPORTSUBSCRIPTIONLOG Type: view_entity BASIC

P_MatlStkReportSubscriptionLog is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (matstksubs_log) and exposes 11 fields with key fields MaterialStockSubscriptionUUID, MaterialStockSubscriptionItem, CollectionCounter.

Data Sources (1)

SourceAliasJoin Type
matstksubs_log matstksubs_log from

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 #BASIC view
VDM.private true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockSubscriptionUUID subscriptionid Collection Subs. Id
KEY MaterialStockSubscriptionItem subscriptionitem Stock Reporting Subscription Id Item
KEY CollectionCounter collection_counter Subscrpn Iteration
MaterialStockReportRunUUID stockreprunid Collection Run Id
MaterialStockReportUUID stockreport_id Stock Report ID
MaterialStockReportStep stockreport_step Processing Step
MaterialStockReportStepStatus stockreport_status Processing Status
MatlStockReportStepMessageText stockreport_msg Step Error Message
FirstGoodsMovementPostingDate firstgoodsmovementpostingdate Period Start
LastGoodsMovementPostingDate lastgoodsmovementpostingdate Period End
MatlStkRptOffBoardingDate offboardingdate Offboarding Date

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_MatlStkReportSubscriptionLog.
-- 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_MatlStkReportSubscriptionLog AS
SELECT
  subscriptionid AS MaterialStockSubscriptionUUID,
  subscriptionitem AS MaterialStockSubscriptionItem,
  collection_counter AS CollectionCounter,
  stockreprunid AS MaterialStockReportRunUUID,
  stockreport_id AS MaterialStockReportUUID,
  stockreport_step AS MaterialStockReportStep,
  stockreport_status AS MaterialStockReportStepStatus,
  stockreport_msg AS MatlStockReportStepMessageText,
  FirstGoodsMovementPostingDate,
  LastGoodsMovementPostingDate,
  offboardingdate AS MatlStkRptOffBoardingDate
FROM matstksubs_log
;