I_RecipeClassTP

DDL: I_RECIPECLASSTP SQL: IRECCLSTP Type: view TRANSACTIONAL

TP for Recipe Class

I_RecipeClassTP is a Transactional CDS View that provides data about "TP for Recipe Class" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectClassForKeyDate) and exposes 7 fields with key fields RecipeUUID, ClassInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ClfnObjectClassForKeyDate I_ClfnObjectClassForKeyDate from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_RecipeClassCharcTP _Characteristic $projection.RecipeUUID = _Characteristic.RecipeUUID and $projection.ClassInternalID = _Characteristic.ClassInternalID
[1..1] I_ClfnClassForKeyDate _Class $projection.ClassInternalID = _Class.ClassInternalID
[1..1] I_RecipeForKeyDateTP _Recipe $projection.RecipeUUID = _Recipe.RecipeUUID

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IRECCLSTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label TP for Recipe Class view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY RecipeUUID Recipe RecipeUUID
KEY ClassInternalID Classification ClassInternalID
KeyDate
ClassType ClassType
_Characteristic _Characteristic
_Class _Class
_Recipe _Recipe
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'IRECCLSTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'TP for Recipe Class'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
define view I_RecipeClassTP 
  with parameters
    @Consumption.hidden: true
    @Semantics.businessDate.at: true
    P_KeyDate:sydate
  as select from I_ClfnObjectClassForKeyDate( P_KeyDate:$parameters.P_KeyDate ) as Classification 
     join I_RecipeForKeyDateTP( P_KeyDate: $parameters.P_KeyDate ) as Recipe on
          Classification.ClfnObjectID = bintohex( Recipe.RecipeUUID )
           
    association [0..*] to I_RecipeClassCharcTP as _Characteristic on
      $projection.RecipeUUID = _Characteristic.RecipeUUID and
      $projection.ClassInternalID = _Characteristic.ClassInternalID
    association [1..1] to I_ClfnClassForKeyDate as _Class on
      $projection.ClassInternalID = _Class.ClassInternalID 
    association [1..1] to I_RecipeForKeyDateTP as _Recipe on
      $projection.RecipeUUID = _Recipe.RecipeUUID 
  {
    key Recipe.RecipeUUID,
    key Classification.ClassInternalID,
    
    $parameters.P_KeyDate as KeyDate,
    ClassType,
    
    _Characteristic,
    _Class,
    _Recipe
  }
    where
      ClfnObjectTable = '/PLMB/RCP_RECIPE'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CLFNOBJECTCLASSFORKEYDATE",
"I_RECIPEFORKEYDATETP"
],
"ASSOCIATED":
[
"I_CLFNCLASSFORKEYDATE",
"I_RECIPECLASSCHARCTP",
"I_RECIPEFORKEYDATETP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/