C_ProdnRoutingMatlAssgmt

DDL: C_PRODNROUTINGMATLASSGMT Type: view_entity CONSUMPTION

Production Routing Material Assignment

C_ProdnRoutingMatlAssgmt is a Consumption CDS View that provides data about "Production Routing Material Assignment" in SAP S/4HANA. It reads from 1 data source (I_ProdnRoutingMatlAssgmtTP) and exposes 18 fields with key fields Product, Plant, ProductionRoutingGroup, ProductionRouting, ProductionRoutingMatlAssgmt. It has 1 association to related views. It is exposed through 1 OData service (UI_PRODUCTIONROUTING).

Data Sources (1)

SourceAliasJoin Type
I_ProdnRoutingMatlAssgmtTP I_ProdnRoutingMatlAssgmtTP projection

Associations (1)

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

Annotations (8)

NameValueLevelField
EndUserText.label Production Routing Material Assignment view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRODUCTIONROUTING UI_PRODUCTIONROUTING V4 C1 NOT_RELEASED

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product
KEY Plant Plant Valuation Area
KEY ProductionRoutingGroup ProductionRoutingGroup Group
KEY ProductionRouting ProductionRouting Group Counter
KEY ProductionRoutingMatlAssgmt ProductionRoutingMatlAssgmt
KEY ProductionRtgMatlAssgmtIntVers ProductionRtgMatlAssgmtIntVers
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ChangeNumber ChangeNumber Change Number
ChangedDateTime ChangedDateTime Time Stamp
ProductName I_ProdnRoutingMatlAssgmtTP ProductName Description
_Header _Header
_ProdnRtgTP _ProdnRtgTP
_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_ProdnRoutingMatlAssgmt.
-- 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_ProdnRoutingMatlAssgmt AS
SELECT
  Product,
  Plant,
  ProductionRoutingGroup,
  ProductionRouting,
  ProductionRoutingMatlAssgmt,
  ProductionRtgMatlAssgmtIntVers,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ValidityStartDate,
  ValidityEndDate,
  ChangeNumber,
  ChangedDateTime,
  I_ProdnRoutingMatlAssgmtTP.ProductName AS ProductName
FROM I_ProdnRoutingMatlAssgmtTP
LEFT OUTER JOIN I_ProdnRoutingMatlAssgmtTP AS _MatlAssgmt ON ProductionRoutingGroup = _MatlAssgmt.ProductionRoutingGroup AND ProductionRouting = _MatlAssgmt.ProductionRouting AND ValidityEndDate >= _MatlAssgmt.ValidityStartDate AND ValidityStartDate <= _MatlAssgmt.ValidityEndDate  -- association [0..*]
;