I_RecipeForKeyDate

DDL: I_RECIPEFORKEYDATE SQL: IRECIPEKD Type: view COMPOSITE

Recipe for Key Date

I_RecipeForKeyDate is a Composite CDS View that provides data about "Recipe for Key Date" in SAP S/4HANA. It reads from 1 data source (I_Recipe) and exposes 52 fields with key field RecipeUUID. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Recipe I_Recipe from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_SpecificationForKeyDate _PrimaryOutputSpecification $projection.RecipePrimaryOutputInternalID = _PrimaryOutputSpecification.SpecificationInternalID
[1..*] I_RecipeFormulaItemForKeyDate _FormulaForKeyDate $projection.RcpFmlaUUID = _FormulaForKeyDate.RcpFmlaUUID
[0..*] I_RecipeProcessEquipRqmt _RecipeProcessEquipRqmt $projection.RecipeUUID = _RecipeProcessEquipRqmt.RecipeUUID
[0..*] I_RecipeProcessElementBasic _RecipeProcessElementBasic $projection.RecipeUUID = _RecipeProcessElementBasic.RecipeUUID
[0..*] I_RecipeProcessParamValue _RecipeProcessParamValue $projection.RecipeUUID = _RecipeProcessParamValue.RecipeUUID
[1..*] I_RecipeFormulaItemForKeyDate _PrimOutputFormulaForKeyDate $projection.RcpFmlaUUID = _PrimOutputFormulaForKeyDate.RcpFmlaUUID and _PrimOutputFormulaForKeyDate.RcpFmlaItemType = 'PO'
[0..*] I_RecipeFormulaItemForKeyDate _InputFormulaForKeyDate $projection.RcpFmlaUUID = _InputFormulaForKeyDate.RcpFmlaUUID and _InputFormulaForKeyDate.RcpFmlaItemType = 'IN'
[0..*] I_RecipeFormulaItemForKeyDate _OutputStreamFormulaForKeyDate $projection.RcpFmlaUUID = _OutputStreamFormulaForKeyDate.RcpFmlaUUID and _OutputStreamFormulaForKeyDate.RcpFmlaItemType = 'OS'
[0..*] I_RecipeFormulaItemForKeyDate _SecOutputFormulaForKeyDate $projection.RcpFmlaUUID = _SecOutputFormulaForKeyDate.RcpFmlaUUID and _SecOutputFormulaForKeyDate.RcpFmlaItemType = 'SO'
[0..*] I_ClfnObjectClassForKeyDate _ClfnObjectClassForKeyDate $projection.RecipeUniqueID = _ClfnObjectClassForKeyDate.ClfnObjectID and _ClfnObjectClassForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE'
[0..*] I_ClfnObjectCharcValForKeyDate _ClfnObjectCharcValForKeyDate $projection.RecipeUniqueID = _ClfnObjectCharcValForKeyDate.ClfnObjectID and _ClfnObjectCharcValForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE'
[1..1] E_Recipe _Extension $projection.RecipeUUID = _Extension.RecipeUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IRECIPEKD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view
EndUserText.label Recipe for Key Date view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY RecipeUUID RecipeUUID Recipe GUID
RecipeUniqueID RecipeUniqueID
Recipe Recipe
RecipePrimaryOutputInternalID RecipePrimaryOutputInternalID
RecipeAlternativeNumber RecipeAlternativeNumber
RecipeVersionNumber RecipeVersionNumber
RecipeCreatedByUser RecipeCreatedByUser
RecipeCreationDateTime RecipeCreationDateTime
RecipeLastChangedByUser RecipeLastChangedByUser
RecipeLastChangeDateTime RecipeLastChangeDateTime
RecipeType RecipeType
RecipePurpose RecipePurpose
RecipeStatus RecipeStatus
StsActnMgmtStatusText _RecipeStatusText StsActnMgmtStatusText
RecipeStatusSchema RecipeStatusSchema
RcpFmlaUUID RcpFmlaUUID
RecipeProcessUUID RecipeProcessUUID
RecipePropertySpecInternalID RecipePropertySpecInternalID
RecipeChangeNumber RecipeChangeNumber
RecipeIsDeleted RecipeIsDeleted
RecipeIsArchived RecipeIsArchived
RecipeValidityStartDate RecipeValidityStartDate
RecipeValidityEndDate RecipeValidityEndDate
RecipeValidityMinQuantity RecipeValidityMinQuantity
RecipeValidityMaxQuantity RecipeValidityMaxQuantity
RecipeValidityUnit RecipeValidityUnit
RecipeAuthorizationGroup RecipeAuthorizationGroup
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Plant _Plant
_RecipeDescription _RecipeDescription
_TextObjectPlainLongText _TextObjectPlainLongText
_RecipePurpose _RecipePurpose
_RecipeStatus _RecipeStatus
_RecipeStatusText _RecipeStatusText
_RecipeType _RecipeType
_AuthorizationGroup _AuthorizationGroup
_PrimaryOutputSpecification _PrimaryOutputSpecification
_FormulaForKeyDate _FormulaForKeyDate
_RecipeProcessEquipRqmt _RecipeProcessEquipRqmt
_RecipeProcessElementBasic _RecipeProcessElementBasic
_RecipeProcessParamValue _RecipeProcessParamValue
_RecipeDocInfoRecordObjectLink _RecipeDocInfoRecordObjectLink
_PrimOutputFormulaForKeyDate _PrimOutputFormulaForKeyDate
_InputFormulaForKeyDate _InputFormulaForKeyDate
_OutputStreamFormulaForKeyDate _OutputStreamFormulaForKeyDate
_SecOutputFormulaForKeyDate _SecOutputFormulaForKeyDate
_ClfnObjectClassForKeyDate _ClfnObjectClassForKeyDate
_ClfnObjectCharcValForKeyDate _ClfnObjectCharcValForKeyDate
_LogAccMObjectTypeActive _LogAccMObjectTypeActive
_LogAccMObjectUserAuthzn _LogAccMObjectUserAuthzn
_LogAccMObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt

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_RecipeForKeyDate.
-- 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: IRECIPEKD
-- Parameters: P_KeyDate : sydate

CREATE VIEW I_RecipeForKeyDate AS
SELECT
  RecipeUUID,
  RecipeUniqueID,
  Recipe,
  RecipePrimaryOutputInternalID,
  RecipeAlternativeNumber,
  RecipeVersionNumber,
  RecipeCreatedByUser,
  RecipeCreationDateTime,
  RecipeLastChangedByUser,
  RecipeLastChangeDateTime,
  RecipeType,
  RecipePurpose,
  RecipeStatus,
  _RecipeStatusText.StsActnMgmtStatusText AS StsActnMgmtStatusText,
  RecipeStatusSchema,
  RcpFmlaUUID,
  RecipeProcessUUID,
  RecipePropertySpecInternalID,
  RecipeChangeNumber,
  RecipeIsDeleted,
  RecipeIsArchived,
  RecipeValidityStartDate,
  RecipeValidityEndDate,
  RecipeValidityMinQuantity,
  RecipeValidityMaxQuantity,
  RecipeValidityUnit,
  RecipeAuthorizationGroup
FROM I_Recipe
LEFT OUTER JOIN I_SpecificationForKeyDate AS _PrimaryOutputSpecification ON RecipePrimaryOutputInternalID = _PrimaryOutputSpecification.SpecificationInternalID  -- association [0..1]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _FormulaForKeyDate ON RcpFmlaUUID = _FormulaForKeyDate.RcpFmlaUUID  -- association [1..*]
LEFT OUTER JOIN I_RecipeProcessEquipRqmt AS _RecipeProcessEquipRqmt ON RecipeUUID = _RecipeProcessEquipRqmt.RecipeUUID  -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessElementBasic AS _RecipeProcessElementBasic ON RecipeUUID = _RecipeProcessElementBasic.RecipeUUID  -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessParamValue AS _RecipeProcessParamValue ON RecipeUUID = _RecipeProcessParamValue.RecipeUUID  -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _PrimOutputFormulaForKeyDate ON RcpFmlaUUID = _PrimOutputFormulaForKeyDate.RcpFmlaUUID AND _PrimOutputFormulaForKeyDate.RcpFmlaItemType = 'PO'  -- association [1..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _InputFormulaForKeyDate ON RcpFmlaUUID = _InputFormulaForKeyDate.RcpFmlaUUID AND _InputFormulaForKeyDate.RcpFmlaItemType = 'IN'  -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _OutputStreamFormulaForKeyDate ON RcpFmlaUUID = _OutputStreamFormulaForKeyDate.RcpFmlaUUID AND _OutputStreamFormulaForKeyDate.RcpFmlaItemType = 'OS'  -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _SecOutputFormulaForKeyDate ON RcpFmlaUUID = _SecOutputFormulaForKeyDate.RcpFmlaUUID AND _SecOutputFormulaForKeyDate.RcpFmlaItemType = 'SO'  -- association [0..*]
LEFT OUTER JOIN I_ClfnObjectClassForKeyDate AS _ClfnObjectClassForKeyDate ON RecipeUniqueID = _ClfnObjectClassForKeyDate.ClfnObjectID AND _ClfnObjectClassForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE'  -- association [0..*]
LEFT OUTER JOIN I_ClfnObjectCharcValForKeyDate AS _ClfnObjectCharcValForKeyDate ON RecipeUniqueID = _ClfnObjectCharcValForKeyDate.ClfnObjectID AND _ClfnObjectCharcValForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE'  -- association [0..*]
LEFT OUTER JOIN E_Recipe AS _Extension ON RecipeUUID = _Extension.RecipeUUID  -- association [1..1]
;