P_RecipeProcessStage

DDL: P_RECIPEPROCESSSTAGE SQL: PRPRSTAGE Type: view BASIC Package: VDM_PLMB_RPR

Private view for Process Stage

P_RecipeProcessStage is a Basic CDS View that provides data about "Private view for Process Stage" in SAP S/4HANA. It reads from 1 data source (I_RecipeProcessElementBasic) and exposes 9 fields with key field RecipeProcessElementUUID. It has 2 associations to related views. Part of development package VDM_PLMB_RPR.

Data Sources (1)

SourceAliasJoin Type
I_RecipeProcessElementBasic I_RecipeProcessElementBasic from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Recipe _Recipe $projection.RecipeProcessUUID = _Recipe.RecipeProcessUUID
[0..*] I_RecipeProcessElementText _RecipeProcessStageDescription $projection.RecipeProcessElementUUID = _RecipeProcessStageDescription.RecipeProcessElementUUID

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRPRSTAGE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #NONE view
VDM.viewType #BASIC view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY RecipeProcessElementUUID RecipeProcessElementUUID Element GUID
RecipeProcessStageUUID RecipeProcessElementUUID Element GUID
RecipeProcessUUID RecipeProcessUUID Process GUID
RecipeProcessElementParentUUID RecipeProcessElementParentUUID UUID
RecipeProcessElementPosNmbr RecipeProcessElementPosNmbr
RecipeProcessStagePosNmbr RecipeProcessElementPosNmbr
RecipeProcessElementType RecipeProcessElementType Element Type
_Recipe _Recipe
_RecipeProcessStageDescription _RecipeProcessStageDescription

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 P_RecipeProcessStage.
-- 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: PRPRSTAGE

CREATE VIEW P_RecipeProcessStage AS
SELECT
  RecipeProcessElementUUID,
  RecipeProcessElementUUID AS RecipeProcessStageUUID,
  RecipeProcessUUID,
  RecipeProcessElementParentUUID,
  RecipeProcessElementPosNmbr,
  RecipeProcessElementPosNmbr AS RecipeProcessStagePosNmbr,
  RecipeProcessElementType
FROM I_RecipeProcessElementBasic
LEFT OUTER JOIN I_Recipe AS _Recipe ON RecipeProcessUUID = _Recipe.RecipeProcessUUID  -- association [1..1]
LEFT OUTER JOIN I_RecipeProcessElementText AS _RecipeProcessStageDescription ON RecipeProcessElementUUID = _RecipeProcessStageDescription.RecipeProcessElementUUID  -- association [0..*]
;