A_RecipeFormulaItem

DDL: A_RECIPEFORMULAITEM SQL: ARCPFRMITM Type: view COMPOSITE Package: VDM_PLMB_RECIPE_API

Recipe Formula Items

A_RecipeFormulaItem is a Composite CDS View that provides data about "Recipe Formula Items" in SAP S/4HANA. It reads from 1 data source (I_RecipeFmlaItemForKeyDateTP) and exposes 37 fields with key field RcpFmlaItemUUID. It has 3 associations to related views. Part of development package VDM_PLMB_RECIPE_API.

Data Sources (1)

SourceAliasJoin Type
I_RecipeFmlaItemForKeyDateTP I_RecipeFmlaItemForKeyDateTP from

Parameters (1)

NameTypeDefault
P_KeyDate dats

Associations (3)

CardinalityTargetAliasCondition
[0..1] A_Recipe _ExplosionRecipe $projection.RcpFmlaItemExplosionRecipeUUID = _ExplosionRecipe.RecipeUUID
[1..1] A_Product _Product $projection.Material = _Product.Product
[0..1] A_RecipeProcessElement _RecipeProcessElement $projection.RecipeProcessElementUUID = _RecipeProcessElement.RecipeProcessElementUUID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ARCPFRMITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Consumption.filter.businessDate.at true view
EndUserText.label Recipe Formula Items view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY RcpFmlaItemUUID RcpFmlaItemUUID
RcpFmlaUUID RcpFmlaUUID
RcpFmlaItemPosition RcpFmlaItemPosition
RcpFmlaItemType RcpFmlaItemType
SpecificationInternalID SpecificationInternalID Specification
Specification Specification
Material Material Vehicle Model
RcpFmlaItemComponentType RcpFmlaItemComponentType
RcpFmlaItemLowerLimit RcpFmlaItemLowerLimit
RcpFmlaItemUpperLimit RcpFmlaItemUpperLimit
RcpFmlaItemQuantity RcpFmlaItemQuantity
RcpFmlaItemUnit RcpFmlaItemUnit
RcpFmlaItemExceptionCode RcpFmlaItemExceptionCode
RcpFmlaItemScrapInPercent RcpFmlaItemScrapInPercent
RcpFmlaItemOverrunInPercent RcpFmlaItemOverrunInPercent
RcpFmlaItemQuantityInKilogram RcpFmlaItemQuantityInKilogram
RcpFmlaItemIsSelectedForCalc RcpFmlaItemIsSelectedForCalc
RcpFmlaItemExplosionRecipeUUID RcpFmlaItemExplosionRecipeUUID
RcpFmlaItemIsBalancingItem RcpFmlaItemIsBalancingItem
RecipeFmlaItemAltvIsUsed RecipeFmlaItemAltvIsUsed
RecipeUUID RecipeUUID Recipe GUID
SpecificationType SpecificationType
SpecificationAuthznGroup SpecificationAuthznGroup
RecipeProcessElementUUID RecipeProcessElementUUID
RecipeProcessStageUUID RecipeProcessStageUUID
RecipeProcessOperationUUID RecipeProcessOperationUUID
RecipeProcessActionUUID RecipeProcessActionUUID
RecipeProcessStagePosNmbr RecipeProcessStagePosNmbr
RecipeProcessOperationPosNmbr RecipeProcessOperationPosNmbr
RecipeProcessActionPosNmbr RecipeProcessActionPosNmbr
RecipeLastChangeDateTime RecipeLastChangeDateTime
Recipe Recipe
RcpFmlaItemAlternativeItemPos RcpFmlaItemAlternativeItemPos
_Recipe _Recipe
_Product _Product
_ExplosionRecipe _ExplosionRecipe
_RecipeProcessElement _RecipeProcessElement

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 A_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: ARCPFRMITM
-- Parameters: P_KeyDate : dats

CREATE VIEW A_RecipeFormulaItem AS
SELECT
  RcpFmlaItemUUID,
  RcpFmlaUUID,
  RcpFmlaItemPosition,
  RcpFmlaItemType,
  SpecificationInternalID,
  cast(Specification as /plmb/spc_ext_id_api preserving type ) AS Specification,
  Material,
  RcpFmlaItemComponentType,
  RcpFmlaItemLowerLimit,
  RcpFmlaItemUpperLimit,
  RcpFmlaItemQuantity,
  RcpFmlaItemUnit,
  RcpFmlaItemExceptionCode,
  RcpFmlaItemScrapInPercent,
  RcpFmlaItemOverrunInPercent,
  RcpFmlaItemQuantityInKilogram,
  RcpFmlaItemIsSelectedForCalc,
  RcpFmlaItemExplosionRecipeUUID,
  RcpFmlaItemIsBalancingItem,
  RecipeFmlaItemAltvIsUsed,
  RecipeUUID,
  SpecificationType,
  SpecificationAuthznGroup,
  RecipeProcessElementUUID,
  RecipeProcessStageUUID,
  RecipeProcessOperationUUID,
  RecipeProcessActionUUID,
  RecipeProcessStagePosNmbr,
  RecipeProcessOperationPosNmbr,
  RecipeProcessActionPosNmbr,
  RecipeLastChangeDateTime,
  Recipe,
  RcpFmlaItemAlternativeItemPos
FROM I_RecipeFmlaItemForKeyDateTP
LEFT OUTER JOIN A_Recipe AS _ExplosionRecipe ON RcpFmlaItemExplosionRecipeUUID = _ExplosionRecipe.RecipeUUID  -- association [0..1]
LEFT OUTER JOIN A_Product AS _Product ON Material = _Product.Product  -- association [1..1]
LEFT OUTER JOIN A_RecipeProcessElement AS _RecipeProcessElement ON RecipeProcessElementUUID = _RecipeProcessElement.RecipeProcessElementUUID  -- association [0..1]
;