P_PURORDSINGLESCHEDULELINEHLP3
Helper view to get only one Schedule Line
P_PURORDSINGLESCHEDULELINEHLP3 is a CDS View in S/4HANA. Helper view to get only one Schedule Line. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_PurOrdSingleScheduleLine | view | from | COMPOSITE | Get data of only one Schedule Line |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AbapCatalog.sqlViewName: 'PMMPURORDSSHLP3'
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
// Helper view to get only one Schedule line, if there are Schedule lines with the same Delivery Date and Delivery Time
define view P_PurOrdSingleScheduleLineHlp3
as select from P_PurOrdSingleScheduleLineHlp2 as P_PurOrdSingleScheduleLineHlp2
inner join I_PurgDocScheduleLine as I_PurgDocScheduleLine on P_PurOrdSingleScheduleLineHlp2.PurchasingDocument = I_PurgDocScheduleLine.PurchasingDocument
and P_PurOrdSingleScheduleLineHlp2.PurchasingDocumentItem = I_PurgDocScheduleLine.PurchasingDocumentItem
and P_PurOrdSingleScheduleLineHlp2.ScheduleLineDeliveryDate = I_PurgDocScheduleLine.ScheduleLineDeliveryDate
and P_PurOrdSingleScheduleLineHlp2.ScheduleLineDeliveryTime = I_PurgDocScheduleLine.ScheduleLineDeliveryTime
{
key I_PurgDocScheduleLine.PurchasingDocument as PurchasingDocument,
key I_PurgDocScheduleLine.PurchasingDocumentItem,
min( I_PurgDocScheduleLine.ScheduleLine ) as minscheduleline
}
group by
I_PurgDocScheduleLine.PurchasingDocument,
I_PurgDocScheduleLine.PurchasingDocumentItem