P_PURORDSCHDLNENHCDSTOFILTERED

DDL: P_PURORDSCHDLNENHCDSTOFILTERED SQL: PMMPOSCHEDENH Type: view CONSUMPTION

Schedule Line of Purchase Order without STO

P_PURORDSCHDLNENHCDSTOFILTERED is a Consumption CDS View that provides data about "Schedule Line of Purchase Order without STO" in SAP S/4HANA. It reads from 1 data source (I_PurOrdScheduleLineEnhanced) and exposes 60 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine, ProcurementHubSourceSystem.

Data Sources (1)

SourceAliasJoin Type
I_PurOrdScheduleLineEnhanced I_PurOrdScheduleLineEnhanced from

Parameters (2)

NameTypeDefault
P_StartDate bedat
P_EndDate bedat

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMMPOSCHEDENH view
EndUserText.label Schedule Line of Purchase Order without STO view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
ScheduleLineUniqueID ScheduleLineUniqueID Schedule line
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
Plant Plant Valuation Area
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
PurchaseOrderItemText PurchaseOrderItemText Short Text
ServicePerformer ServicePerformer Service Performer
DocumentCurrency DocumentCurrency Document Currency
AnlytlCrcyExchangeRateStatus AnlytlCrcyExchangeRateStatus Reporting Currency
NetPriceInReportingCurrency NetPriceInReportingCurrency Net Price: Re. Cu. 1
NetPriceInReportingCurrency2 NetPriceInReportingCurrency2 Net Price: Re. Cu. 2
NetPriceAmount Net Price
NetPriceInCompanyCodeCrcy NetPriceInCompanyCodeCrcy Net Price: Cmp Cur.
AnalyticalReportingCurrency AnalyticalReportingCurrency Reporting Currency 1
AnalyticalReportingCurrency2 AnalyticalReportingCurrency2 Reporting Currency 2
CompanyCodeCurrency CompanyCodeCurrency Local Currency
NetAmountInReportingCurrency NetAmountInReportingCurrency Net Amt Rpting Crcy1
NetAmountInReportingCurrency2 NetAmountInReportingCurrency2 Net Amt Rpting Crcy2
NetAmount Stated Amount
NetAmountInCoCodeCurrency NetAmountInCoCodeCurrency Net Amt (Co. Crcy)
OpenAmountInReportingCurrency OpenAmountInReportingCurrency Open Amount
OpenAmountInReportingCurrency2 OpenAmountInReportingCurrency2 Open Amount
OpenAmountInDocumentCurrency OpenAmountInDocumentCurrency Open Amt (Doc. Crcy)
OpenAmountInCompanyCodeCrcy OpenAmountInCompanyCodeCrcy Open Amt in Co. Crcy
ScheduleLineOpenQuantity ScheduleLineOpenQuantity SchLineOpenQuan
OrderQuantityUnit OrderQuantityUnit Sales Unit
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
PurgDocumentItemDeletionCode PurgDocumentItemDeletionCode Status
PurchasingCompletenessStatus PurchasingCompletenessStatus Incomplete
PurgDocSchdLnHasNextDelivery PurgDocSchdLnHasNextDelivery Next Del. Line Flag
PurchaseOrderCategory PurchaseOrderCategory Doc. Category
PurchaseOrderType PurchaseOrderType PO Type
PurchaseOrderItemCategory PurchaseOrderItemCategory Item Category
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
PurchasingProcessingStatus PurchasingProcessingStatus Proc. State
PurchaseOrderDate PurchaseOrderDate PO Date
OrderQuantity OrderQuantity Quantity
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
ProductType ProductTypeCode Product Type Group
ReleaseIsNotCompleted ReleaseIsNotCompleted Subj.to Release
PurchaseContractItem PurchaseContractItem Item
PurchaseContract PurchaseContract Purchasing Doc.
PurchaseRequisition PurchaseRequisition Requisition
PurchaseRequisitionItem PurchaseRequisitionItem Requisn. item
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution
IsReturnsItem IsReturnsItem Returns Item
NetPriceQuantity NetPriceQuantity Price Unit
_Plant _Plant

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_PURORDSCHDLNENHCDSTOFILTERED.
-- 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: PMMPOSCHEDENH
-- Parameters: P_StartDate : bedat, P_EndDate : bedat

CREATE VIEW P_PURORDSCHDLNENHCDSTOFILTERED AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ProcurementHubSourceSystem,
  ScheduleLineUniqueID,
  PurchasingOrganization,
  PurchasingGroup,
  CompanyCode,
  Supplier,
  Plant,
  Material,
  MaterialGroup,
  PurchaseOrderItemText,
  ServicePerformer,
  DocumentCurrency,
  AnlytlCrcyExchangeRateStatus,
  NetPriceInReportingCurrency,
  NetPriceInReportingCurrency2,
  cast(NetPriceAmount as abap.curr( 21, 5 ) ) AS NetPriceAmount,
  NetPriceInCompanyCodeCrcy,
  AnalyticalReportingCurrency,
  AnalyticalReportingCurrency2,
  CompanyCodeCurrency,
  NetAmountInReportingCurrency,
  NetAmountInReportingCurrency2,
  cast(NetAmount as abap.curr( 21, 5 ) ) AS NetAmount,
  NetAmountInCoCodeCurrency,
  OpenAmountInReportingCurrency,
  OpenAmountInReportingCurrency2,
  OpenAmountInDocumentCurrency,
  OpenAmountInCompanyCodeCrcy,
  ScheduleLineOpenQuantity,
  OrderQuantityUnit,
  IsCompletelyDelivered,
  GoodsReceiptIsExpected,
  PurchasingDocumentDeletionCode,
  PurgDocumentItemDeletionCode,
  PurchasingCompletenessStatus,
  PurgDocSchdLnHasNextDelivery,
  PurchaseOrderCategory,
  PurchaseOrderType,
  PurchaseOrderItemCategory,
  AccountAssignmentCategory,
  CreationDate,
  CreatedByUser,
  LastChangeDateTime,
  PurchasingProcessingStatus,
  PurchaseOrderDate,
  OrderQuantity,
  PurchaseOrderQuantityUnit,
  ProductTypeCode AS ProductType,
  ReleaseIsNotCompleted,
  PurchaseContractItem,
  PurchaseContract,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  MultipleAcctAssgmtDistribution,
  IsReturnsItem,
  NetPriceQuantity
FROM I_PurOrdScheduleLineEnhanced
;