P_POGRSchedLineDetails
PO Goods Receipt and Sched Line Details
P_POGRSchedLineDetails is a Consumption CDS View that provides data about "PO Goods Receipt and Sched Line Details" in SAP S/4HANA. It reads from 1 data source (ekbe) and exposes 28 fields with key fields ebeln, ebelp, belnr, buzei, vgabe. Part of development package ODATA_MM_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ekbe | History | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPOGRSLDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | PO Goods Receipt and Sched Line Details | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ebeln | ekbe | ebeln | Source PurchDoc |
| KEY | ebelp | ekbe | ebelp | Item pur. doc. |
| KEY | belnr | ekbe | belnr | SD Document |
| KEY | buzei | ekbe | buzei | Posting View Item |
| KEY | vgabe | ekbe | vgabe | Transact. Type |
| KEY | gjahr | ekbe | gjahr | Settlement Year |
| KEY | etenr | |||
| IsFinalScheduleLine | ||||
| HasReversal | ||||
| bsart | ||||
| ekorg | ||||
| ekgrp | ||||
| werks | ||||
| matkl | ||||
| PurchasingCategory | ||||
| budat | budat | Posting Date | ||
| menge | ||||
| TotalDeliveredQuantity | ||||
| LastDeliveredQuantity | ||||
| GRSatisfyingSchedLine | ||||
| OutstandingQtyCurrGR | ||||
| OutstandingQtyLastGR | ||||
| TimeVariance | ||||
| TimeVarianceByDelieveryDate | ||||
| TimeVarianceInPct | ||||
| TimeVarianceInPctByDelivDate | ||||
| TimeVarianceInPctWithSign | ||||
| TimeVarcInPctWithSignByDD |
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_POGRSchedLineDetails.
-- 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: PPOGRSLDETAIL
CREATE VIEW P_POGRSchedLineDetails AS
SELECT
History.ebeln AS ebeln,
History.ebelp AS ebelp,
History.belnr AS belnr,
History.buzei AS buzei,
History.vgabe AS vgabe,
History.gjahr AS gjahr,
cast('' as eeten ) AS etenr,
cast('' as final_schedule_line ) AS IsFinalScheduleLine,
cast(1 as abap.int1) AS HasReversal,
cast('' as esart) AS bsart,
cast('' as ekorg) AS ekorg,
cast('' as bkgrp) AS ekgrp,
cast('' as ewerk) AS werks,
cast('' as matkl) AS matkl,
cast('' as /srmsmc/purchasing_category_id) AS PurchasingCategory,
budat,
cast(0 as menge_d) AS menge,
cast(0 as abap.quan( 15, 3 )) AS TotalDeliveredQuantity,
cast(0 as abap.quan( 15, 3 )) AS LastDeliveredQuantity,
cast(0 as abap.quan( 15, 3 )) AS GRSatisfyingSchedLine,
cast(0 as abap.quan( 15, 3 )) AS OutstandingQtyCurrGR,
cast(0 as abap.quan( 15, 3 )) AS OutstandingQtyLastGR,
cast(0 as int4 ) AS TimeVariance,
cast(0 as int4 ) AS TimeVarianceByDelieveryDate,
cast(0 as abap.dec(4,1)) AS TimeVarianceInPct,
cast(0 as abap.dec(4,1)) AS TimeVarianceInPctByDelivDate,
cast(0 as krpac) AS TimeVarianceInPctWithSign,
cast(0 as krpac) AS TimeVarcInPctWithSignByDD
FROM ekbe AS History
;
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