P_PurOrdSchedFuture

DDL: P_PURORDSCHEDFUTURE SQL: PMMPOSCHEDFUT Type: view CONSUMPTION

Future Schedule Lines

P_PurOrdSchedFuture is a Consumption CDS View that provides data about "Future Schedule Lines" in SAP S/4HANA. It reads from 1 data source (P_PurFutureSpend) and exposes 34 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine.

Data Sources (1)

SourceAliasJoin Type
P_PurFutureSpend P_PurFutureSpend from

Parameters (2)

NameTypeDefault
P_Date sydatum
P_DisplayCurrency displaycurrency

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PMMPOSCHEDFUT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Future Schedule Lines view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
PurchaseOrderCategory PurchaseOrderCategory Doc. Category
PurchaseOrderItemCategory PurchaseOrderItemCategory Item Category
PurchaseRequisition PurchaseRequisition Requisition
PurchaseRequisitionItem PurchaseRequisitionItem Requisn. item
PurchaseOrderType PurchaseOrderType PO Type
PurchaseOrderDate PurchaseOrderDate PO Date
Supplier Supplier Supplier
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
CompanyCode CompanyCode Receiver Company Code
ReceivingCompanyCode ReceivingCompanyCode Rcvg Co Code
MaterialGroup MaterialGroup Product Group
Material Material Vehicle Model
Plant Plant Valuation Area
ProductType ProductType Product Type Group
ServicePerformer ServicePerformer Service Performer
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
SchedLineStscDeliveryDate SchedLineStscDeliveryDate Stat. Del. Date
PerformancePeriodStartDate PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate PerformancePeriodEndDate End of Performance Period
ScheduleLineDeliveryTime ScheduleLineDeliveryTime Time
ScheduleLineOrderQuantity ScheduleLineOrderQuantity Scheduled Qty
RoughGoodsReceiptQty RoughGoodsReceiptQty Delivered
CreatedByUser CreatedByUser User Name
PurchaseContract PurchaseContract Purchasing Doc.
PurchaseContractItem PurchaseContractItem Item
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
DisplayCurrency
Currency Currency Valuation Crcy

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_PurOrdSchedFuture.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PMMPOSCHEDFUT
-- Parameters: P_Date : sydatum, P_DisplayCurrency : displaycurrency

CREATE VIEW P_PurOrdSchedFuture AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  PurchaseOrderCategory,
  PurchaseOrderItemCategory,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  PurchaseOrderType,
  PurchaseOrderDate,
  Supplier,
  PurchasingGroup,
  PurchasingOrganization,
  CompanyCode,
  ReceivingCompanyCode,
  MaterialGroup,
  Material,
  Plant,
  ProductType,
  ServicePerformer,
  ScheduleLineDeliveryDate,
  SchedLineStscDeliveryDate,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  ScheduleLineDeliveryTime,
  ScheduleLineOrderQuantity,
  RoughGoodsReceiptQty,
  CreatedByUser,
  PurchaseContract,
  PurchaseContractItem,
  MultipleAcctAssgmtDistribution,
  AccountAssignmentCategory,
  PurchaseOrderQuantityUnit,
  cast( :P_DisplayCurrency as displaycurrency ) AS DisplayCurrency,
  Currency
FROM P_PurFutureSpend
;