P_PurOrderConvertedValues

DDL: P_PURORDERCONVERTEDVALUES SQL: PMMPOCNVRTDVAL Type: view CONSUMPTION

P_PurOrderConvertedValues is a Consumption CDS View 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

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PMMPOCNVRTDVAL view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK 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
CreatedByUser CreatedByUser User Name
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
PurgDocHdrCompanyCode PurgDocHdrCompanyCode 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
AnlytlCrcyExchangeRateStatus AnlytlCrcyExchangeRateStatus Reporting Currency
NetPriceInReportingCurrency NetPriceInReportingCurrency Net Price: Re. Cu. 1
NetPriceInReportingCurrency2 NetPriceInReportingCurrency2 Net Price: Re. Cu. 2
NetPriceAmount Net Price
AnalyticalReportingCurrency AnalyticalReportingCurrency Reporting Currency 1
AnalyticalReportingCurrency2 AnalyticalReportingCurrency2 Reporting Currency 2
DocumentCurrency DocumentCurrency Document Currency
NetAmountInReportingCurrency NetAmountInReportingCurrency Net Amt Rpting Crcy1
NetAmountInReportingCurrency2 NetAmountInReportingCurrency2 Net Amt Rpting Crcy2
NetAmount Stated Amount
OpenAmountInReportingCurrency OpenAmountInReportingCurrency Open Amount
OpenAmountInReportingCurrency2 OpenAmountInReportingCurrency2 Open Amount
OpenAmountInDocumentCurrency OpenAmountInDocumentCurrency Open Amt (Doc. Crcy)
OrderQuantityUnit OrderQuantityUnit Sales Unit
ScheduleLineOpenQuantity ScheduleLineOpenQuantity SchLineOpenQuan
ScheduleLineOrderQuantity ScheduleLineOrderQuantity Scheduled Qty
PrevDelivQtyOfScheduleLine PrevDelivQtyOfScheduleLine Replenishmt qty
GoodsReceiptQuantity GoodsReceiptQuantity Delivered
ScheduleLineIssuedQuantity ScheduleLineIssuedQuantity Issued
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
OrderQuantity OrderQuantity Quantity
IsReturnsItem IsReturnsItem Returns Item
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
PurgDocumentItemDeletionCode PurgDocumentItemDeletionCode Status
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
PurchasingCompletenessStatus PurchasingCompletenessStatus Incomplete
PurgDocSchdLnHasNextDelivery PurgDocSchdLnHasNextDelivery Next Del. Line Flag
ProductType ProductTypeCode Product Type Group
ReleaseIsNotCompleted ReleaseIsNotCompleted Subj.to Release
PurchaseOrderCategory PurchaseOrderCategory Doc. Category
PurchaseOrderType PurchaseOrderType PO Type
PurchaseOrderItemCategory PurchaseOrderItemCategory Item Category
PurchasingProcessingStatus PurchasingProcessingStatus Proc. State
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution
PurOrdItmAnlytsIndIsActv PurOrdItmAnlytsIndIsActv Dimension Ind.
PurchasingDocumentIsAged PurchasingDocumentIsAged Document aged
CreationDate CreationDate Time Stamp
PurchaseOrderDate PurchaseOrderDate PO Date
LastChangeDateTime LastChangeDateTime Timestamp
ScheduleLineDeliveryTime ScheduleLineDeliveryTime Time
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
SchedLineStscDeliveryDate SchedLineStscDeliveryDate Stat. Del. Date

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_PurOrderConvertedValues.
-- 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: PMMPOCNVRTDVAL

CREATE VIEW P_PurOrderConvertedValues AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  ProcurementHubSourceSystem,
  ScheduleLineUniqueID,
  CreatedByUser,
  PurchasingOrganization,
  PurchasingGroup,
  CompanyCode,
  PurgDocHdrCompanyCode,
  Supplier,
  Plant,
  Material,
  MaterialGroup,
  PurchaseOrderItemText,
  ServicePerformer,
  AnlytlCrcyExchangeRateStatus,
  NetPriceInReportingCurrency,
  NetPriceInReportingCurrency2,
  cast( NetPriceAmount as abap.curr(21,5)) AS NetPriceAmount,
  AnalyticalReportingCurrency,
  AnalyticalReportingCurrency2,
  DocumentCurrency,
  NetAmountInReportingCurrency,
  NetAmountInReportingCurrency2,
  cast(NetAmount as abap.curr(21,5)) AS NetAmount,
  OpenAmountInReportingCurrency,
  OpenAmountInReportingCurrency2,
  OpenAmountInDocumentCurrency,
  OrderQuantityUnit,
  ScheduleLineOpenQuantity,
  ScheduleLineOrderQuantity,
  PrevDelivQtyOfScheduleLine,
  GoodsReceiptQuantity,
  ScheduleLineIssuedQuantity,
  PurchaseOrderQuantityUnit,
  OrderQuantity,
  IsReturnsItem,
  IsCompletelyDelivered,
  GoodsReceiptIsExpected,
  PurgDocumentItemDeletionCode,
  PurchasingDocumentDeletionCode,
  PurchasingCompletenessStatus,
  PurgDocSchdLnHasNextDelivery,
  ProductTypeCode AS ProductType,
  ReleaseIsNotCompleted,
  PurchaseOrderCategory,
  PurchaseOrderType,
  PurchaseOrderItemCategory,
  PurchasingProcessingStatus,
  AccountAssignmentCategory,
  MultipleAcctAssgmtDistribution,
  PurOrdItmAnlytsIndIsActv,
  PurchasingDocumentIsAged,
  CreationDate,
  PurchaseOrderDate,
  LastChangeDateTime,
  ScheduleLineDeliveryTime,
  ScheduleLineDeliveryDate,
  SchedLineStscDeliveryDate
FROM I_PurOrdScheduleLineEnhanced
;