C_ProductionRouting

DDL: C_PRODUCTIONROUTING Type: view_entity CONSUMPTION

Additional Filters

C_ProductionRouting is a Consumption CDS View that provides data about "Additional Filters" in SAP S/4HANA. It reads from 1 data source (I_ProductionRoutingHeaderTP) and exposes 23 fields with key fields ProductionRoutingGroup, ProductionRouting, ProductionRoutingInternalVers. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductionRoutingHeaderTP I_ProductionRoutingHeaderTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_ProdnRoutingMatlAssgmt _MatlAssgmt $projection.ProductionRoutingGroup = _MatlAssgmt.ProductionRoutingGroup and $projection.ProductionRouting = _MatlAssgmt.ProductionRouting and $projection.ValidityEndDate >= _MatlAssgmt.ValidityStartDate and $projection.ValidityStartDate <= _MatlAssgmt.ValidityEndDate

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Additional Filters view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProductionRoutingGroup ProductionRoutingGroup Group
KEY ProductionRouting ProductionRouting Group Counter
KEY ProductionRoutingInternalVers ProductionRoutingInternalVers
BillOfOperationsDesc BillOfOperationsDesc
Plant Plant Valuation Area
BillOfOperationsUsage BillOfOperationsUsage
BillOfOperationsUsageDesc _UsageText BillOfOperationsUsageDesc
BillOfOperationsStatus BillOfOperationsStatus
BillOfOperationsStatusDesc _StatusText BillOfOperationsStatusDesc
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ChangeNumber ChangeNumber Change Number
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
MinimumLotSizeQuantity MinimumLotSizeQuantity Min. Lot Size
MaximumLotSizeQuantity MaximumLotSizeQuantity Max. Lot Size
BillOfOperationsUnit BillOfOperationsUnit
NumberOfProducts _MatlCount NumberOfProducts Assigned Products
PlantName _Plant PlantName Plant Name
dats8 Key Date
_MatlAssgmt _MatlAssgmt

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 C_ProductionRouting.
-- 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 C_ProductionRouting AS
SELECT
  ProductionRoutingGroup,
  ProductionRouting,
  ProductionRoutingInternalVers,
  BillOfOperationsDesc,
  Plant,
  BillOfOperationsUsage,
  _UsageText.BillOfOperationsUsageDesc AS BillOfOperationsUsageDesc,
  BillOfOperationsStatus,
  _StatusText.BillOfOperationsStatusDesc AS BillOfOperationsStatusDesc,
  ValidityStartDate,
  ValidityEndDate,
  ChangeNumber,
  LastChangedByUser,
  LastChangeDate,
  CreatedByUser,
  CreationDate,
  MinimumLotSizeQuantity,
  MaximumLotSizeQuantity,
  BillOfOperationsUnit,
  _MatlCount.NumberOfProducts AS NumberOfProducts,
  _Plant.PlantName AS PlantName,
  virtual KeyDate : abap.dats(8) AS dats8
FROM I_ProductionRoutingHeaderTP
LEFT OUTER JOIN C_ProdnRoutingMatlAssgmt AS _MatlAssgmt ON ProductionRoutingGroup = _MatlAssgmt.ProductionRoutingGroup AND ProductionRouting = _MatlAssgmt.ProductionRouting AND ValidityEndDate >= _MatlAssgmt.ValidityStartDate AND ValidityStartDate <= _MatlAssgmt.ValidityEndDate  -- association [0..*]
;