I_RecipeForKeyDateTP

DDL: I_RECIPEFORKEYDATETP SQL: IRECIPEKDTP Type: view TRANSACTIONAL Package: VDM_PLMB_RCP

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. Part of development package VDM_PLMB_RCP.

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
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
@AbapCatalog.sqlViewName: 'IRECIPEKDTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
 
@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE

@Consumption.semanticObject: 'Recipe'

@ObjectModel.representativeKey: 'RecipeUUID'
@ObjectModel.sapObjectNodeType.name: 'Recipe'
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER

@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #TRANSACTIONAL

@EndUserText.label: 'Recipe for Key Date (Transactional Processing)'
define root view I_RecipeForKeyDateTP
  with parameters
    @Environment.systemField: #SYSTEM_DATE
    @Consumption.hidden: true
    P_KeyDate : sydate
  as select from I_RecipeForKeyDate( P_KeyDate: $parameters.P_KeyDate )
  composition [0..*] of I_RecipeTextTP               as _RecipeText
  composition [1..*] of I_RecipeFmlaItemForKeyDateTP as _FormulaItem

  // Access Control Management integration

  association [0..1] to I_LogAccMObjectTypeActive    as _LogAccMObjectTypeActive  on  _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_RCP'
  association [0..*] to I_LogAccMObjSecureIDAssgmt   as _LogAccMObjSecureIDAssgmt on  $projection.RecipeUniqueID                  = _LogAccMObjSecureIDAssgmt.LogAccMObjectID
                                                                                  and _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_RCP'
  association [0..*] to I_LogAccMObjectUserAuthzn    as _LogAccMObjectUserAuthzn  on  $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
                                                                                   )
  association [1..1] to E_Recipe                     as _Extension                on  $projection.RecipeUUID = _Extension.RecipeUUID
                                                                                   
  composition [0..*] of I_RecipeProcessEquipRqmtTP   as _RecipeProcessEquipRqmt
  composition [0..*] of I_RecipeProcessElementTP     as _RecipeProcessElement
  composition [0..*] of I_RecipeProcessParamValueTP  as _RecipeProcessParamValue

{
  key 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,

      _PrimaryOutputSpecification,
      _Plant,

      _RecipeText,
      _FormulaItem,
      _LogAccMObjectTypeActive,
      _LogAccMObjectUserAuthzn,
      _LogAccMObjSecureIDAssgmt,

      _RecipeProcessElement,

      _RecipeProcessEquipRqmt,

      _RecipeProcessParamValue
}