P_PurOrdOpnScheduleLine
Purchase Order Next Delivery Details
P_PurOrdOpnScheduleLine is a Consumption CDS View that provides data about "Purchase Order Next Delivery Details" in SAP S/4HANA. It reads from 2 data sources (I_PurOrdScheduleLineEnhanced, I_PurgAnalyticsConfiguration) and exposes 6 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurOrdScheduleLineEnhanced | I_PurOrdScheduleLineEnhanced | inner |
| I_PurgAnalyticsConfiguration | MigrationStatus | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPOITMSCHLN | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Purchase Order Next Delivery Details | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | ||
| KEY | PurchaseOrderItem | PurchaseOrderItem | ||
| KEY | ScheduleLine | ScheduleLine | ||
| PurchasingOrganization | PurchasingOrganization | |||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | |||
| ScheduleLineOpenQuantity | ScheduleLineOpenQuantity |
@AbapCatalog.sqlViewName: 'PPOITMSCHLN'
@VDM.viewType: #CONSUMPTION
@VDM.private : true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Purchase Order Next Delivery Details'
define view P_PurOrdOpnScheduleLine as select from I_PurgAnalyticsConfiguration as MigrationStatus
inner join I_PurOrdScheduleLineEnhanced on MigrationStatus.IsIntrastatReportingRelevant = 'X'
{
key PurchaseOrder,
key PurchaseOrderItem,
key ScheduleLine,
PurchasingOrganization, // 2980071
ScheduleLineDeliveryDate,
ScheduleLineOpenQuantity
}
where
ScheduleLineOpenQuantity > 0
and PurgDocSchdLnHasNextDelivery = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURGANALYTICSCONFIGURATION",
"I_PURORDSCHEDULELINEENHANCED"
],
"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