P_POItemNextOpenSchedLine
PO Item Next Open Schedule Line
P_POItemNextOpenSchedLine is a Composite CDS View that provides data about "PO Item Next Open Schedule Line" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderScheduleLine) and exposes 5 fields with key fields PurchaseOrder, PurchaseOrderItem. Part of development package ODATA_MM_PUR_POITEMS_MONI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrderScheduleLine | I_PurchaseOrderScheduleLine | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | ||
| KEY | PurchaseOrderItem | PurchaseOrderItem | ||
| ScheduleLine | ||||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | |||
| OpenPurchaseOrderQuantity |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@VDM.private: true
@VDM.viewType: #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
define view entity P_POItemNextOpenSchedLine
as select from I_PurchaseOrderScheduleLine
{
key PurchaseOrder,
key PurchaseOrderItem,
min(ScheduleLine) as ScheduleLine,
ScheduleLineDeliveryDate,
sum(cast(OpenPurchaseOrderQuantity as abap.dec(13,3)) ) as OpenPurchaseOrderQuantity
}
where
OpenPurchaseOrderQuantity > 0
group by
PurchaseOrder,
PurchaseOrderItem,
ScheduleLineDeliveryDate
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