I_RecipeForKeyDateTP

DDL: I_RECIPEFORKEYDATETP SQL: IRECIPEKDTP Type: view TRANSACTIONAL

Recipe for Key Date (Transactional Processing)

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

Data Sources (1)

SourceAliasJoin Type
I_RecipeForKeyDate I_RecipeForKeyDate from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (9)

CardinalityTargetAliasCondition
[0..1] I_LogAccMObjectTypeActive _LogAccMObjectTypeActive _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_RCP'
[0..*] I_LogAccMObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt $projection.RecipeUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_RCP'
[0..*] I_LogAccMObjectUserAuthzn _LogAccMObjectUserAuthzn $projection.RecipeUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID and _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_RCP' and _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_RCP' and ( _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '03' or _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '*' ) and _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' and ( _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user or _LogAccMObjectUserAuthzn.UserID = $session.user )
[1..1] E_Recipe _Extension $projection.RecipeUUID = _Extension.RecipeUUID
[0..*] I_RecipeTextTP _RecipeText
[1..*] I_RecipeFmlaItemForKeyDateTP _FormulaItem
[0..*] I_RecipeProcessEquipRqmtTP _RecipeProcessEquipRqmt
[0..*] I_RecipeProcessElementTP _RecipeProcessElement
[0..*] I_RecipeProcessParamValueTP _RecipeProcessParamValue

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IRECIPEKDTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.semanticObject Recipe view
ObjectModel.representativeKey RecipeUUID view
ObjectModel.sapObjectNodeType.name Recipe 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 #TRANSACTIONAL view
EndUserText.label Recipe for Key Date (Transactional Processing) view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY RecipeUUID RecipeUUID Recipe GUID
RecipeUniqueID RecipeUniqueID
Recipe Recipe
RecipePrimaryOutputInternalID RecipePrimaryOutputInternalID
RecipeAlternativeNumber RecipeAlternativeNumber
RecipeVersionNumber RecipeVersionNumber
RecipePrimaryOutput
RecipeType RecipeType
RecipePurpose RecipePurpose
RecipeStatus RecipeStatus
RecipeStatusSchema RecipeStatusSchema
RecipeAuthorizationGroup RecipeAuthorizationGroup
RcpFmlaUUID RcpFmlaUUID
RecipeProcessUUID RecipeProcessUUID
RecipeValidityStartDate RecipeValidityStartDate
RecipeValidityEndDate RecipeValidityEndDate
RecipeValidityMinQuantity RecipeValidityMinQuantity
RecipeValidityMaxQuantity RecipeValidityMaxQuantity
RecipeValidityUnit RecipeValidityUnit
RecipeCreatedByUser RecipeCreatedByUser
RecipeLastChangedByUser RecipeLastChangedByUser
RecipeCreationDateTime RecipeCreationDateTime
RecipeLastChangeDateTime RecipeLastChangeDateTime
RecipeIsDeleted RecipeIsDeleted
RecipeIsArchived RecipeIsArchived
RecipePrimOutpAuthznGrp
RecipePrimOutpSpecType
_PrimaryOutputSpecification _PrimaryOutputSpecification
_Plant _Plant
_RecipeText _RecipeText
_FormulaItem _FormulaItem
_LogAccMObjectTypeActive _LogAccMObjectTypeActive
_LogAccMObjectUserAuthzn _LogAccMObjectUserAuthzn
_LogAccMObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt
_RecipeProcessElement _RecipeProcessElement
_RecipeProcessEquipRqmt _RecipeProcessEquipRqmt
_RecipeProcessParamValue _RecipeProcessParamValue

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_RecipeForKeyDateTP.
-- 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: IRECIPEKDTP
-- Parameters: P_KeyDate : sydate

CREATE VIEW I_RecipeForKeyDateTP AS
SELECT
  RecipeUUID,
  RecipeUniqueID,
  Recipe,
  RecipePrimaryOutputInternalID,
  RecipeAlternativeNumber,
  RecipeVersionNumber,
  cast(_PrimaryOutputSpecification(P_KeyDate:$parameters.P_KeyDate).Specification as /plmb/rcp_prim_output_id preserving type) AS RecipePrimaryOutput,
  RecipeType,
  RecipePurpose,
  RecipeStatus,
  RecipeStatusSchema,
  RecipeAuthorizationGroup,
  RcpFmlaUUID,
  RecipeProcessUUID,
  RecipeValidityStartDate,
  RecipeValidityEndDate,
  RecipeValidityMinQuantity,
  RecipeValidityMaxQuantity,
  RecipeValidityUnit,
  RecipeCreatedByUser,
  RecipeLastChangedByUser,
  RecipeCreationDateTime,
  RecipeLastChangeDateTime,
  RecipeIsDeleted,
  RecipeIsArchived,
  _PrimaryOutputSpecification(P_KeyDate:$parameters.P_KeyDate).SpecificationAuthznGroup AS RecipePrimOutpAuthznGrp,
  _PrimaryOutputSpecification(P_KeyDate:$parameters.P_KeyDate).SpecificationType AS RecipePrimOutpSpecType
FROM I_RecipeForKeyDate
LEFT OUTER JOIN I_LogAccMObjectTypeActive AS _LogAccMObjectTypeActive ON _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_RCP'  -- association [0..1]
LEFT OUTER JOIN I_LogAccMObjSecureIDAssgmt AS _LogAccMObjSecureIDAssgmt ON RecipeUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_RCP'  -- association [0..*]
LEFT OUTER JOIN I_LogAccMObjectUserAuthzn AS _LogAccMObjectUserAuthzn ON RecipeUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID AND _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_RCP' AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_RCP' AND ( _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '03' OR _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '*' ) AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' AND ( _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user OR _LogAccMObjectUserAuthzn.UserID = $session.user )  -- association [0..*]
LEFT OUTER JOIN E_Recipe AS _Extension ON RecipeUUID = _Extension.RecipeUUID  -- association [1..1]
LEFT OUTER JOIN I_RecipeTextTP AS _RecipeText ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_RecipeFmlaItemForKeyDateTP AS _FormulaItem ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN I_RecipeProcessEquipRqmtTP AS _RecipeProcessEquipRqmt ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessElementTP AS _RecipeProcessElement ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessParamValueTP AS _RecipeProcessParamValue ON /* condition not available in parsed metadata */  -- association [0..*]
;