A_RecipeClass

DDL: A_RECIPECLASS SQL: ANGCRECCLFN1 Type: view CONSUMPTION

Recipe Class Assignments

A_RecipeClass is a Consumption CDS View that provides data about "Recipe Class Assignments" in SAP S/4HANA. It reads from 1 data source (I_RecipeClassTP) and exposes 8 fields with key fields RecipeUUID, ClassInternalID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RecipeClassTP I_RecipeClassTP from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_RecipeClassCharc _Characteristics $projection.RecipeUUID = _Characteristics.RecipeUUID and $projection.ClassInternalID = _Characteristics.ClassInternalID
[1..1] A_Recipe _Recipe $projection.RecipeUUID = _Recipe.RecipeUUID

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ANGCRECCLFN1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
Consumption.filter.businessDate.at true view
EndUserText.label Recipe Class Assignments view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY RecipeUUID RecipeUUID Recipe GUID
KEY ClassInternalID ClassInternalID Int class no.
ClassClassfctnAuthGrp
ClassMaintAuthGrp
KeyDate
ClassType ClassType X Flag
_Characteristics _Characteristics
_Recipe _Recipe

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 A_RecipeClass.
-- 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: ANGCRECCLFN1
-- Parameters: P_KeyDate : sydate

CREATE VIEW A_RecipeClass AS
SELECT
  RecipeUUID,
  ClassInternalID,
  _Class( P_KeyDate: $parameters.P_KeyDate ).ClassClassfctnAuthGrp AS ClassClassfctnAuthGrp,
  _Class( P_KeyDate: $parameters.P_KeyDate ).ClassMaintAuthGrp AS ClassMaintAuthGrp,
  $parameters.P_KeyDate AS KeyDate,
  ClassType
FROM I_RecipeClassTP
LEFT OUTER JOIN A_RecipeClassCharc AS _Characteristics ON RecipeUUID = _Characteristics.RecipeUUID AND ClassInternalID = _Characteristics.ClassInternalID  -- association [0..*]
LEFT OUTER JOIN A_Recipe AS _Recipe ON RecipeUUID = _Recipe.RecipeUUID  -- association [1..1]
;