I_RecipeFormulaItem

DDL: I_RECIPEFORMULAITEM SQL: IRCPFRMITM Type: view BASIC

Recipe Formula Item

I_RecipeFormulaItem is a Basic CDS View that provides data about "Recipe Formula Item" in SAP S/4HANA. It reads from 1 data source (/plmb/rfo_frmitm) and exposes 30 fields with key field RcpFmlaItemUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/plmb/rfo_frmitm /plmb/rfo_frmitm from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_SpecComponentType _ComponentType $projection.RcpFmlaItemComponentType = _ComponentType.SpecificationComponentType
[1..1] I_RecipeProcessElementAssgmt _RecipeProcessElementAssgmt $projection.RcpFmlaItemSourceFmlaItemUUID = _RecipeProcessElementAssgmt.RcpFmlaItemSourceFmlaItemUUID and $projection.recipeuuid = _RecipeProcessElementAssgmt.RecipeUUID
[1..1] I_Recipe _Recipe $projection.RcpFmlaUUID = _Recipe.RcpFmlaUUID
[1..1] I_Product _Product $projection.Material = _Product.Product
[1..*] I_RecipeStreamQuantity _RecipeStreamQuantity $projection.RcpFmlaItemUUID = _RecipeStreamQuantity.RcpFmlaItemUUID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IRCPFRMITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
EndUserText.label Recipe Formula Item view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY RcpFmlaItemUUID rfo_item_guid Frml Item GUID
RcpFmlaUUID rfo_guid Formula GUID
RcpFmlaItemSourceFmlaItemUUID item_guid Push ItemGU
RcpFmlaItemPosition WBS Element
RcpFmlaItemAlternativeItemPos Item Number (int.)
RcpFmlaItemType item_type Type
SpecificationInternalID subrecn Specification
Material material Vehicle Model
RcpFmlaStreamUUID stream_id Frml Item GUID
RcpFmlaItemComponentType comp_type Component Type
RcpFmlaItemLowerLimit quant_low Quantity
RcpFmlaItemUpperLimit quant_high Quantity
RcpFmlaItemQuantity quant Trans. Qty Val. Unit
RcpFmlaItemUnit uom UoM: Conv. to
RcpFmlaItemExceptionCode exception_value Exception Value
RcpFmlaItemScrapInPercent scrap Scrap in Process
RcpFmlaItemOverrunInPercent overrun Scrap Factor
RcpFmlaItemAlternativeItemUUID alt_item_guid Frml Item GUID
RcpFmlaItemQuantityInKilogram massabsfloat Absolute Mass
RcpFmlaItemZeroSign zero_sign Sign
RcpFmlaItemIsSelectedForCalc calculated Rating Calculated
RcpFmlaItemExplosionRecipeUUID expl_rcp_guid Recipe GUID
RcpFmlaCalculationType calc_type Curr Calc Type
RcpFmlaItemIsBalancingItem is_balancing_item Balancing Item
RecipeUUID _Recipe RecipeUUID Recipe GUID
_Recipe _Recipe
_ComponentType _ComponentType
_RecipeProcessElementAssgmt _RecipeProcessElementAssgmt
_Product _Product
_RecipeStreamQuantity _RecipeStreamQuantity

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_RecipeFormulaItem.
-- 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: IRCPFRMITM

CREATE VIEW I_RecipeFormulaItem AS
SELECT
  rfo_item_guid AS RcpFmlaItemUUID,
  rfo_guid AS RcpFmlaUUID,
  item_guid AS RcpFmlaItemSourceFmlaItemUUID,
  cast( posnr as /plmb/rfo_frml_posnr_vdm preserving type ) AS RcpFmlaItemPosition,
  cast( poscount as /plmb/rfo_frml_poscount_vdm preserving type ) AS RcpFmlaItemAlternativeItemPos,
  item_type AS RcpFmlaItemType,
  subrecn AS SpecificationInternalID,
  Material,
  stream_id AS RcpFmlaStreamUUID,
  comp_type AS RcpFmlaItemComponentType,
  quant_low AS RcpFmlaItemLowerLimit,
  quant_high AS RcpFmlaItemUpperLimit,
  quant AS RcpFmlaItemQuantity,
  uom AS RcpFmlaItemUnit,
  exception_value AS RcpFmlaItemExceptionCode,
  scrap AS RcpFmlaItemScrapInPercent,
  overrun AS RcpFmlaItemOverrunInPercent,
  alt_item_guid AS RcpFmlaItemAlternativeItemUUID,
  massabsfloat AS RcpFmlaItemQuantityInKilogram,
  zero_sign AS RcpFmlaItemZeroSign,
  calculated AS RcpFmlaItemIsSelectedForCalc,
  expl_rcp_guid AS RcpFmlaItemExplosionRecipeUUID,
  calc_type AS RcpFmlaCalculationType,
  is_balancing_item AS RcpFmlaItemIsBalancingItem,
  _Recipe.RecipeUUID AS RecipeUUID
FROM /plmb/rfo_frmitm
LEFT OUTER JOIN I_SpecComponentType AS _ComponentType ON RcpFmlaItemComponentType = _ComponentType.SpecificationComponentType  -- association [0..1]
LEFT OUTER JOIN I_RecipeProcessElementAssgmt AS _RecipeProcessElementAssgmt ON RcpFmlaItemSourceFmlaItemUUID = _RecipeProcessElementAssgmt.RcpFmlaItemSourceFmlaItemUUID AND recipeuuid = _RecipeProcessElementAssgmt.RecipeUUID  -- association [1..1]
LEFT OUTER JOIN I_Recipe AS _Recipe ON RcpFmlaUUID = _Recipe.RcpFmlaUUID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_RecipeStreamQuantity AS _RecipeStreamQuantity ON RcpFmlaItemUUID = _RecipeStreamQuantity.RcpFmlaItemUUID  -- association [1..*]
;