P_RFDYPurgSchedLineWthProcdQts
P_RFDYPurgSchedLineWthProcdQts is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_PurgDocScheduleLine) and exposes 5 fields with key fields PurchasingDocument, PurchasingDocumentItem, ScheduleLine.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgDocScheduleLine | I_PurgDocScheduleLine | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRFDYPURSPQTS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | PurchasingDocument | ||
| KEY | PurchasingDocumentItem | PurchasingDocumentItem | ||
| KEY | ScheduleLine | ScheduleLine | ||
| ScheduleLineOrderQuantity | ScheduleLineOrderQuantity | |||
| ScheduleLineCommittedQuantity | ScheduleLineCommittedQuantity |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRFDYPURSPQTS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_RFDYPurgSchedLineWthProcdQts
as select from I_PurgDocScheduleLine
{
key PurchasingDocument,
key PurchasingDocumentItem,
key ScheduleLine,
case
when GoodsReceiptQuantity > StockTransferDeliveredQuantity
and GoodsReceiptQuantity > ScheduleLineIssuedQuantity then GoodsReceiptQuantity
when StockTransferDeliveredQuantity > ScheduleLineIssuedQuantity then StockTransferDeliveredQuantity
else ScheduleLineIssuedQuantity
end as ProcessedQuantity,
ScheduleLineOrderQuantity,
ScheduleLineCommittedQuantity
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURGDOCSCHEDULELINE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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