A_PurchaseOrdScheduleLine_2

DDL: A_PURCHASEORDSCHEDULELINE_2 Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_PO_API_2

Schedule Lines

A_PurchaseOrdScheduleLine_2 is a Consumption CDS View that provides data about "Schedule Lines" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrderScheduleLineTP) and exposes 27 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine. It is exposed through 1 OData service (API_PURCHASEORDER_2). Part of development package ODATA_MM_PUR_PO_API_2.

Data Sources (1)

SourceAliasJoin Type
R_PurchaseOrderScheduleLineTP R_PurchaseOrderScheduleLineTP projection

Annotations (10)

NameValueLevelField
EndUserText.label Schedule Lines view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name PurchaseOrderScheduleLine_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_PURCHASEORDER_2 API_PURCHASEORDER_2 V4 C2 C1

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
SchedLineStscDeliveryDate SchedLineStscDeliveryDate Stat. Del. Date
PerformancePeriodStartDate PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate PerformancePeriodEndDate End of Performance Period
ScheduleLineDeliveryTime ScheduleLineDeliveryTime Time
Batch Batch Lot No.
BatchBySupplier BatchBySupplier Supplier Batch
ScheduleLineOrderQuantity ScheduleLineOrderQuantity Scheduled Qty
OpenPurchaseOrderQuantity OpenPurchaseOrderQuantity Open Purchase Order Quantity
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
Currency Currency Valuation Crcy
PurchaseRequisition PurchaseRequisition Requisition
PurchaseRequisitionItem PurchaseRequisitionItem Requisn. item
DelivDateCategory DelivDateCategory Delivery Date
ScheduleLineOrderDate ScheduleLineOrderDate PurchOrderDate
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
LoadingDate LoadingDate Loading Date
LoadingTime LoadingTime Loading Time
TransportationPlanningDate TransportationPlanningDate TranspPlngDate
TransportationPlanningTime TransportationPlanningTime Tr. Plan. Time
GoodsIssueDate GoodsIssueDate Goods Issue Date CCD
GoodsIssueTime GoodsIssueTime GI Time
RouteSchedule RouteSchedule Route Schedule
ProductAvailabilityTime ProductAvailabilityTime Matl Staging Tme

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 A_PurchaseOrdScheduleLine_2.
-- 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.

CREATE VIEW A_PurchaseOrdScheduleLine_2 AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ScheduleLineDeliveryDate,
  SchedLineStscDeliveryDate,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  ScheduleLineDeliveryTime,
  Batch,
  BatchBySupplier,
  ScheduleLineOrderQuantity,
  OpenPurchaseOrderQuantity,
  PurchaseOrderQuantityUnit,
  Currency,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  DelivDateCategory,
  ScheduleLineOrderDate,
  ProductAvailabilityDate,
  LoadingDate,
  LoadingTime,
  TransportationPlanningDate,
  TransportationPlanningTime,
  GoodsIssueDate,
  GoodsIssueTime,
  RouteSchedule,
  ProductAvailabilityTime
FROM R_PurchaseOrderScheduleLineTP
;