R_MatlStockReportProcedureTP
Material Stock Reporting Procedure - TP
R_MatlStockReportProcedureTP is a Transactional CDS View that provides data about "Material Stock Reporting Procedure - TP" in SAP S/4HANA. It reads from 1 data source (I_MatlStkReportingProcedure) and exposes 17 fields with key field MaterialStockReportProcedUUID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlStkReportingProcedure | I_MatlStkReportingProcedure | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MatlStockReportFrequencyT | _CollectionFreqT | $projection.MatlStkRptCollectionFrequency = _CollectionFreqT.MatlStkRptCollectionFrequency |
| [0..*] | I_MatlStkRptCollectionWeekDayT | _CollectionDayT | $projection.MatlStkRptCollectionWeekDay = _CollectionDayT.MatlStkRptCollectionWeekDay |
| [0..*] | I_MatlStkRptProcedureStatusT | _ProcedureStatusT | $projection.MaterialStockRptProcedStatus = _ProcedureStatusT.MaterialStockRptProcedStatus |
| [0..*] | I_MatlStkReportingProcedureT | _StockProcT | $projection.MaterialStockReportProcedUUID = _StockProcT.MaterialStockReportProcedUUID |
| [0..*] | I_DaysOfMonthValueHelp | _CollectionMonthT | $projection.MatlStkRptCollectionMonthDay = _CollectionMonthT.MatlStkRptCollectionMonthDay |
| [1..1] | P_MatlStkRepProcStatus | _Status | $projection.MaterialStockReportProcedUUID = _Status.MaterialStockReportProcedUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Material Stock Reporting Procedure - TP | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | MaterialStock | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialStockReportProcedUUID | MaterialStockReportProcedUUID | Stock Reporting Procedure Id | |
| MaterialStockReportProcedName | MaterialStockReportProcedName | Reporting Procedure | ||
| MaterialStockRptProcedStatus | _Status | MaterialStockRptProcedStatus | Procedure Status | |
| MatlStkRptHasOnlyNewMovements | MatlStkRptHasOnlyNewMovements | Only new movmements | ||
| MatlStkRptCollectionFrequency | MatlStkRptCollectionFrequency | Reporting Frequency | ||
| MatlStkRptProcedColltAftDays | MatlStkRptProcedColltAftDays | Offset of days | ||
| MatlStkRptCollectionWeekDay | MatlStkRptCollectionWeekDay | Collection Day | ||
| MatlStkRptCollectionMonthDay | MatlStkRptCollectionMonthDay | Day of Month | ||
| MatlStkRptCollIsAtEndOfMonth | MatlStkRptCollIsAtEndOfMonth | Last Day of the Month for the Collection | ||
| UserID | UserID | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LocalLastChangedDateTime | LocalLastChangedDateTime | Time Stamp | ||
| _CollectionFreqT | _CollectionFreqT | |||
| _CollectionDayT | _CollectionDayT | |||
| _CollectionMonthT | _CollectionMonthT | |||
| _ProcedureStatusT | _ProcedureStatusT | |||
| _StockProcT | _StockProcT |
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 R_MatlStockReportProcedureTP.
-- 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 R_MatlStockReportProcedureTP AS
SELECT
MaterialStockReportProcedUUID,
MaterialStockReportProcedName,
_Status.MaterialStockRptProcedStatus AS MaterialStockRptProcedStatus,
MatlStkRptHasOnlyNewMovements,
MatlStkRptCollectionFrequency,
MatlStkRptProcedColltAftDays,
MatlStkRptCollectionWeekDay,
MatlStkRptCollectionMonthDay,
MatlStkRptCollIsAtEndOfMonth,
UserID,
CreationDateTime,
LocalLastChangedDateTime
FROM I_MatlStkReportingProcedure
LEFT OUTER JOIN I_MatlStockReportFrequencyT AS _CollectionFreqT ON MatlStkRptCollectionFrequency = _CollectionFreqT.MatlStkRptCollectionFrequency -- association [0..*]
LEFT OUTER JOIN I_MatlStkRptCollectionWeekDayT AS _CollectionDayT ON MatlStkRptCollectionWeekDay = _CollectionDayT.MatlStkRptCollectionWeekDay -- association [0..*]
LEFT OUTER JOIN I_MatlStkRptProcedureStatusT AS _ProcedureStatusT ON MaterialStockRptProcedStatus = _ProcedureStatusT.MaterialStockRptProcedStatus -- association [0..*]
LEFT OUTER JOIN I_MatlStkReportingProcedureT AS _StockProcT ON MaterialStockReportProcedUUID = _StockProcT.MaterialStockReportProcedUUID -- association [0..*]
LEFT OUTER JOIN I_DaysOfMonthValueHelp AS _CollectionMonthT ON MatlStkRptCollectionMonthDay = _CollectionMonthT.MatlStkRptCollectionMonthDay -- association [0..*]
LEFT OUTER JOIN P_MatlStkRepProcStatus AS _Status ON MaterialStockReportProcedUUID = _Status.MaterialStockReportProcedUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA