P_MatlStkRepSubsLogDate

DDL: P_MATLSTKREPSUBSLOGDATE Type: view_entity COMPOSITE Package: ODATA_MM_IM_STOCKOUTPUT

Material Stock Subscription Log

P_MatlStkRepSubsLogDate is a Composite CDS View that provides data about "Material Stock Subscription Log" in SAP S/4HANA. It reads from 1 data source (I_MatlStkReportSubscriptionLog) and exposes 13 fields with key fields MaterialStockSubscriptionUUID, MaterialStockSubscriptionItem, MatlStkSubscrpnItemIteration. It has 1 association to related views. Part of development package ODATA_MM_IM_STOCKOUTPUT.

Data Sources (1)

SourceAliasJoin Type
I_MatlStkReportSubscriptionLog _SubsLog from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MatlStkReportRunLog _RunLog _SubsLog.MaterialStockReportRunUUID = _RunLog.MaterialStockReportRunUUID

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 (13)

KeyFieldSource TableSource FieldDescription
KEY MaterialStockSubscriptionUUID MaterialStockSubscriptionUUID Collection Subs. Id
KEY MaterialStockSubscriptionItem MaterialStockSubscriptionItem Stock Reporting Subscription Id Item
KEY MatlStkSubscrpnItemIteration MatlStkSubscrpnItemIteration Subscrpn Iteration
MaterialStockReportRunUUID MaterialStockReportRunUUID Collection Run Id
MaterialStockReportUUID MaterialStockReportUUID Stock Report ID
MaterialStockReportStep MaterialStockReportStep Processing Step
MaterialStockReportStepStatus MaterialStockReportStepStatus Processing Status
MatlStockReportStepMessageText MatlStockReportStepMessageText Step Error Message
FirstGoodsMovementPostingDate FirstGoodsMovementPostingDate Period Start
LastGoodsMovementPostingDate LastGoodsMovementPostingDate Period End
MatlStkRptOffBoardingDate MatlStkRptOffBoardingDate Offboarding Date
CreationDateTime _RunLog CreationDateTime Timestamp
UserID _RunLog UserID User Name

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_MatlStkRepSubsLogDate.
-- 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_MatlStkRepSubsLogDate AS
SELECT
  MaterialStockSubscriptionUUID,
  MaterialStockSubscriptionItem,
  MatlStkSubscrpnItemIteration,
  MaterialStockReportRunUUID,
  MaterialStockReportUUID,
  MaterialStockReportStep,
  MaterialStockReportStepStatus,
  MatlStockReportStepMessageText,
  FirstGoodsMovementPostingDate,
  LastGoodsMovementPostingDate,
  MatlStkRptOffBoardingDate,
  _RunLog.CreationDateTime AS CreationDateTime,
  _RunLog.UserID AS UserID
FROM I_MatlStkReportSubscriptionLog AS _SubsLog
LEFT OUTER JOIN I_MatlStkReportRunLog AS _RunLog ON _SubsLog.MaterialStockReportRunUUID = _RunLog.MaterialStockReportRunUUID  -- association [1..1]
;