C_MasterRecipeMaterialAssgmt

DDL: C_MASTERRECIPEMATERIALASSGMT Type: view_entity CONSUMPTION

Master Recipe Material Assignment

C_MasterRecipeMaterialAssgmt is a Consumption CDS View that provides data about "Master Recipe Material Assignment" in SAP S/4HANA. It reads from 1 data source (I_MasterRecipeMaterialAssgmtTP) and exposes 18 fields with key fields Product, Plant, MasterRecipeGroup, MasterRecipe, MasterRecipeMaterialAssignment. It has 1 association to related views. It is exposed through 1 OData service (UI_MASTERRECIPE).

Data Sources (1)

SourceAliasJoin Type
I_MasterRecipeMaterialAssgmtTP I_MasterRecipeMaterialAssgmtTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MasterRecipeMaterialAssgmtTP _MatlAssgmt $projection.MasterRecipeGroup = _MatlAssgmt.MasterRecipeGroup and $projection.MasterRecipe = _MatlAssgmt.MasterRecipe and $projection.ValidityEndDate >= _MatlAssgmt.ValidityStartDate and $projection.ValidityStartDate <= _MatlAssgmt.ValidityEndDate

Annotations (8)

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

OData Services (1)

ServiceBindingVersionContractRelease
UI_MASTERRECIPE UI_MASTERRECIPE V4 C1 NOT_RELEASED

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product
KEY Plant Plant Valuation Area
KEY MasterRecipeGroup MasterRecipeGroup Group
KEY MasterRecipe MasterRecipe Group Counter
KEY MasterRecipeMaterialAssignment MasterRecipeMaterialAssignment
KEY MstrRcpMatlAssgmtIntVersion MstrRcpMatlAssgmtIntVersion
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_MasterRecipeMaterialAssgmtTP ProductName Description
_Header _Header
_RcpTP _RcpTP
_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_MasterRecipeMaterialAssgmt.
-- 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_MasterRecipeMaterialAssgmt AS
SELECT
  Product,
  Plant,
  MasterRecipeGroup,
  MasterRecipe,
  MasterRecipeMaterialAssignment,
  MstrRcpMatlAssgmtIntVersion,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ValidityStartDate,
  ValidityEndDate,
  ChangeNumber,
  ChangedDateTime,
  I_MasterRecipeMaterialAssgmtTP.ProductName AS ProductName
FROM I_MasterRecipeMaterialAssgmtTP
LEFT OUTER JOIN I_MasterRecipeMaterialAssgmtTP AS _MatlAssgmt ON MasterRecipeGroup = _MatlAssgmt.MasterRecipeGroup AND MasterRecipe = _MatlAssgmt.MasterRecipe AND ValidityEndDate >= _MatlAssgmt.ValidityStartDate AND ValidityStartDate <= _MatlAssgmt.ValidityEndDate  -- association [0..*]
;