P_POItemOpenSchedLine
PO Item Next Open Schedule Line
P_POItemOpenSchedLine is a Consumption CDS View that provides data about "PO Item Next Open Schedule Line" in SAP S/4HANA. It reads from 2 data sources (P_POItemOpenSchedLineCalc1, I_PurchaseOrderScheduleLine) and exposes 3 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_POItemOpenSchedLineCalc1 | NextScheduleLine | from |
| I_PurchaseOrderScheduleLine | ScheduleLine | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPOIOPSCHLN | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | PO Item Next Open Schedule Line | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | P_POItemOpenSchedLineCalc1 | PurchaseOrder | |
| KEY | PurchaseOrderItem | P_POItemOpenSchedLineCalc1 | PurchaseOrderItem | |
| KEY | ScheduleLine |
@AbapCatalog.sqlViewName: 'PPOIOPSCHLN'
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@EndUserText.label: 'PO Item Next Open Schedule Line'
define view P_POItemOpenSchedLine
as select from P_POItemOpenSchedLineCalc1 as NextScheduleLine
inner join I_PurchaseOrderScheduleLine as ScheduleLine on ScheduleLine.PurchaseOrder = NextScheduleLine.PurchaseOrder
and ScheduleLine.PurchaseOrderItem = NextScheduleLine.PurchaseOrderItem
and ScheduleLine.ScheduleLineDeliveryDate = NextScheduleLine.ScheduleLineDeliveryDate
{
key NextScheduleLine.PurchaseOrder,
key NextScheduleLine.PurchaseOrderItem,
key min(ScheduleLine.ScheduleLine ) as ScheduleLine
}
where
ScheduleLine.OpenPurchaseOrderQuantity > 0
group by
NextScheduleLine.PurchaseOrder,
NextScheduleLine.PurchaseOrderItem,
NextScheduleLine.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