A_RecipeProcessElement

DDL: A_RECIPEPROCESSELEMENT SQL: ARPRELMNT Type: view_entity CONSUMPTION Package: VDM_PLMB_RECIPE_API

Recipe Process Elements

A_RecipeProcessElement is a Consumption CDS View that provides data about "Recipe Process Elements" in SAP S/4HANA. It reads from 1 data source (I_RecipeProcessElementTP) and exposes 18 fields with key field RecipeProcessElementUUID. It has 6 associations to related views. Part of development package VDM_PLMB_RECIPE_API.

Data Sources (1)

SourceAliasJoin Type
I_RecipeProcessElementTP I_RecipeProcessElementTP from

Parameters (1)

NameTypeDefault
P_KeyDate dats

Associations (6)

CardinalityTargetAliasCondition
[0..1] A_RecipeProcessElement _RecipeProcessElementParent $projection.RecipeProcessElementParentUUID = _RecipeProcessElementParent.RecipeProcessElementUUID
[0..*] A_RecipeProcessElement _RecipeProcessElementChild $projection.RecipeProcessElementUUID = _RecipeProcessElementChild.RecipeProcessElementParentUUID
[0..*] A_RecipeFormulaItem _FormulaItem $projection.RecipeProcessElementUUID = _FormulaItem.RecipeProcessElementUUID
[0..*] A_RecipeProcessEquipRqmt _RecipeProcessEquipRqmt $projection.RecipeProcessElementUUID = _RecipeProcessEquipRqmt.RecipeProcessElementUUID
[0..*] A_RecipeProcessParamValue _RecipeProcessParamValue $projection.RecipeProcessElementUUID = _RecipeProcessParamValue.RecipeProcessElementUUID
[0..*] A_RecipeProcessElementText _RecipeProcessElementText

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.representativeKey RecipeProcessElementUUID 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 Process Elements view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY RecipeProcessElementUUID RecipeProcessElementUUID
RecipeProcessUUID RecipeProcessUUID
RecipeProcessElementType RecipeProcessElementType
RecipeProcessElementParentUUID RecipeProcessElementParentUUID
RecipeProcessElementPosNmbr RecipeProcessElementPosNmbr
RecipeLastChangeDateTime RecipeLastChangeDateTime
RecipeUUID RecipeUUID
Recipe Recipe
RecipeProcessStagePosNmbr RecipeProcessStagePosNmbr
RecipeProcessOperationPosNmbr RecipeProcessOperationPosNmbr
RecipeProcessActionPosNmbr RecipeProcessActionPosNmbr
_Recipe _Recipe
_RecipeProcessElementText _RecipeProcessElementText
_RecipeProcessElementParent _RecipeProcessElementParent
_RecipeProcessElementChild _RecipeProcessElementChild
_FormulaItem _FormulaItem
_RecipeProcessEquipRqmt _RecipeProcessEquipRqmt
_RecipeProcessParamValue _RecipeProcessParamValue
//@AbapCatalog.sqlViewName: 'ARPRELMNT'

//@AbapCatalog.compiler.compareFilter: true

//@AbapCatalog.preserveKey: true


@AccessControl.authorizationCheck: #CHECK

//@ClientHandling.algorithm: #SESSION_VARIABLE


@VDM.viewType: #CONSUMPTION
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

@ObjectModel.representativeKey: 'RecipeProcessElementUUID'
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER

@Metadata.ignorePropagatedAnnotations: true

@Consumption.filter.businessDate.at: true

@EndUserText.label: 'Recipe Process Elements'
define view entity A_RecipeProcessElement
  with parameters
    @Consumption.hidden: true
    @Semantics.businessDate.at: true
    P_KeyDate :dats
  as select from I_RecipeProcessElementTP( P_KeyDate: $parameters.P_KeyDate )
  association        to parent A_Recipe            as _Recipe                     on $projection.RecipeUUID = _Recipe.RecipeUUID
  association [0..1] to A_RecipeProcessElement     as _RecipeProcessElementParent on $projection.RecipeProcessElementParentUUID = _RecipeProcessElementParent.RecipeProcessElementUUID
  association [0..*] to A_RecipeProcessElement     as _RecipeProcessElementChild  on $projection.RecipeProcessElementUUID = _RecipeProcessElementChild.RecipeProcessElementParentUUID
  association [0..*] to A_RecipeFormulaItem        as _FormulaItem                on $projection.RecipeProcessElementUUID = _FormulaItem.RecipeProcessElementUUID
  composition [0..*] of A_RecipeProcessElementText as _RecipeProcessElementText
  association [0..*] to A_RecipeProcessEquipRqmt   as _RecipeProcessEquipRqmt     on $projection.RecipeProcessElementUUID = _RecipeProcessEquipRqmt.RecipeProcessElementUUID
  association [0..*] to A_RecipeProcessParamValue  as _RecipeProcessParamValue    on $projection.RecipeProcessElementUUID = _RecipeProcessParamValue.RecipeProcessElementUUID

{
  key RecipeProcessElementUUID,

      RecipeProcessUUID,
      RecipeProcessElementType,

      RecipeProcessElementParentUUID,

      RecipeProcessElementPosNmbr,

      RecipeLastChangeDateTime,

      //required for BDEF

      RecipeUUID,

      Recipe,

      RecipeProcessStagePosNmbr,
      RecipeProcessOperationPosNmbr,
      RecipeProcessActionPosNmbr,

      _Recipe,
      _RecipeProcessElementText,
      _RecipeProcessElementParent,
      _RecipeProcessElementChild,
      _FormulaItem,
      _RecipeProcessEquipRqmt,
      _RecipeProcessParamValue
}