P_RFQScheduleLine

DDL: P_RFQSCHEDULELINE SQL: PRFQSCHEDULELINE Type: view COMPOSITE

P_RFQScheduleLine is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_RequestForQuotationItem) and exposes 3 fields with key fields RequestForQuotation, RequestForQuotationItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_RequestForQuotationItem I_RequestForQuotationItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PurgDocScheduleLine _ScheduleLine $projection.RequestForQuotation = _ScheduleLine.PurchasingDocument and $projection.RequestForQuotationItem = _ScheduleLine.PurchasingDocumentItem and _ScheduleLine.ScheduleLine = '0001'

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRFQSCHEDULELINE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation RequestForQuotation RFQ
KEY RequestForQuotationItem RequestForQuotationItem RFQ Item
ScheduleLineOrderQuantity _ScheduleLine ScheduleLineOrderQuantity Scheduled Qty

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_RFQScheduleLine.
-- 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: PRFQSCHEDULELINE

CREATE VIEW P_RFQScheduleLine AS
SELECT
  RequestForQuotation,
  RequestForQuotationItem,
  _ScheduleLine.ScheduleLineOrderQuantity AS ScheduleLineOrderQuantity
FROM I_RequestForQuotationItem
LEFT OUTER JOIN I_PurgDocScheduleLine AS _ScheduleLine ON RequestForQuotation = _ScheduleLine.PurchasingDocument AND RequestForQuotationItem = _ScheduleLine.PurchasingDocumentItem AND _ScheduleLine.ScheduleLine = '0001'  -- association [0..1]
;