I_SchedulingRunRequestOrder

DDL: I_SCHEDULINGRUNREQUESTORDER Type: view_entity BASIC

Scheduling Request Order

I_SchedulingRunRequestOrder is a Basic CDS View that provides data about "Scheduling Request Order" in SAP S/4HANA. It reads from 1 data source (bps_review_order) and exposes 21 fields with key field SchedulingRunRequestOrderUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
bps_review_order bps_review_order from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_SchedulingRun _SchedulingRun $projection.SchedulingRunUUID = _SchedulingRun.SchedulingRunUUID
[1..1] I_Material _Material $projection.Material = _Material.Material
[1..1] I_Route _Route $projection.Route = _Route.Route
[1..1] I_ShippingPoint _ShippingPoint $projection.ShippingPoint = _ShippingPoint.ShippingPoint
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Plant _ReceivingPlant $projection.ReceivingPlant = _ReceivingPlant.Plant
[1..1] I_Customer _Customer $projection.Customer = _Customer.Customer

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Scheduling Request Order view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY SchedulingRunRequestOrderUUID order_uuid UUID
SchedulingRunRequestUUID request_uuid UUID
SchedulingRunUUID run_uuid Scheduling Worklist Run UUID
SchedulingDocumentNumber doc_no Posted Doc. No.
SchedulingDocumentItem item_no Sort No.
ScheduleLine schedule_line_no Schedule Line
Material material Vehicle Model
Plant plant Valuation Area
ShippingPoint shipping_point Shipping Point
Route route Vehicle route
Customer customer Sold-to Party
UnloadingPointName unloading_point Unloading Point
ReceivingPlant receiving_plant Plant
_SchedulingRun _SchedulingRun
_SchedulingRequest _SchedulingRequest
_Material _Material
_Route _Route
_ShippingPoint _ShippingPoint
_Plant _Plant
_ReceivingPlant _ReceivingPlant
_Customer _Customer

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 I_SchedulingRunRequestOrder.
-- 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 I_SchedulingRunRequestOrder AS
SELECT
  order_uuid AS SchedulingRunRequestOrderUUID,
  request_uuid AS SchedulingRunRequestUUID,
  run_uuid AS SchedulingRunUUID,
  doc_no AS SchedulingDocumentNumber,
  item_no AS SchedulingDocumentItem,
  schedule_line_no AS ScheduleLine,
  Material,
  Plant,
  shipping_point AS ShippingPoint,
  Route,
  Customer,
  unloading_point AS UnloadingPointName,
  receiving_plant AS ReceivingPlant
FROM bps_review_order
LEFT OUTER JOIN I_SchedulingRun AS _SchedulingRun ON SchedulingRunUUID = _SchedulingRun.SchedulingRunUUID  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_Route AS _Route ON Route = _Route.Route  -- association [1..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ReceivingPlant ON ReceivingPlant = _ReceivingPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [1..1]
;