P_PurReqMonitorScheduleDate
Private view for PR Delivery Date
P_PurReqMonitorScheduleDate is a Consumption CDS View that provides data about "Private view for PR Delivery Date" in SAP S/4HANA. It reads from 1 data source (P_CalcDeliveryDate) and exposes 10 fields with key fields PurchaseRequisition, PurchaseRequisitionItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CalcDeliveryDate | P_CalcDeliveryDate | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRMNTRSCHEDDATE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Private view for PR Delivery Date | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisition | PurchaseRequisition | Requisition | |
| KEY | PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | |
| DeliveryDate | DeliveryDate | Delivery Date | ||
| FirstDayOfWeekDate | _calendardate1 | FirstDayOfWeekDate | First day of week date | |
| char10asDurationToNextStatusInDays | ||||
| syatemdate | ||||
| PurchaseRequisitionType | PurchaseRequisitionType | Order Type | ||
| Plant | Plant | Valuation Area | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group |
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_PurReqMonitorScheduleDate.
-- 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: PPRMNTRSCHEDDATE
CREATE VIEW P_PurReqMonitorScheduleDate AS
SELECT
PurchaseRequisition,
PurchaseRequisitionItem,
DeliveryDate,
_calendardate1.FirstDayOfWeekDate AS FirstDayOfWeekDate,
cast(case when DeliveryDate>=weekstart and DeliveryDate<=weekend then '1' when DeliveryDate>weekend and DeliveryDate<=secweekend then '2' when DeliveryDate > secweekend and DeliveryDate <= fourthweekend then '3' when DeliveryDate > fourthweekend then '4' end as abap.char( 10 ))as DurationToNextStatusInDays AS char10asDurationToNextStatusInDays,
$session.system_date AS syatemdate,
PurchaseRequisitionType,
Plant,
PurchasingOrganization,
PurchasingGroup
FROM P_CalcDeliveryDate
;
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