I_RecipeForKeyDate
Recipe for Key Date
I_RecipeForKeyDate is a Composite CDS View that provides data about "Recipe for Key Date" in SAP S/4HANA. It reads from 1 data source (I_Recipe) and exposes 52 fields with key field RecipeUUID. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Recipe | I_Recipe | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SpecificationForKeyDate | _PrimaryOutputSpecification | $projection.RecipePrimaryOutputInternalID = _PrimaryOutputSpecification.SpecificationInternalID |
| [1..*] | I_RecipeFormulaItemForKeyDate | _FormulaForKeyDate | $projection.RcpFmlaUUID = _FormulaForKeyDate.RcpFmlaUUID |
| [0..*] | I_RecipeProcessEquipRqmt | _RecipeProcessEquipRqmt | $projection.RecipeUUID = _RecipeProcessEquipRqmt.RecipeUUID |
| [0..*] | I_RecipeProcessElementBasic | _RecipeProcessElementBasic | $projection.RecipeUUID = _RecipeProcessElementBasic.RecipeUUID |
| [0..*] | I_RecipeProcessParamValue | _RecipeProcessParamValue | $projection.RecipeUUID = _RecipeProcessParamValue.RecipeUUID |
| [1..*] | I_RecipeFormulaItemForKeyDate | _PrimOutputFormulaForKeyDate | $projection.RcpFmlaUUID = _PrimOutputFormulaForKeyDate.RcpFmlaUUID and _PrimOutputFormulaForKeyDate.RcpFmlaItemType = 'PO' |
| [0..*] | I_RecipeFormulaItemForKeyDate | _InputFormulaForKeyDate | $projection.RcpFmlaUUID = _InputFormulaForKeyDate.RcpFmlaUUID and _InputFormulaForKeyDate.RcpFmlaItemType = 'IN' |
| [0..*] | I_RecipeFormulaItemForKeyDate | _OutputStreamFormulaForKeyDate | $projection.RcpFmlaUUID = _OutputStreamFormulaForKeyDate.RcpFmlaUUID and _OutputStreamFormulaForKeyDate.RcpFmlaItemType = 'OS' |
| [0..*] | I_RecipeFormulaItemForKeyDate | _SecOutputFormulaForKeyDate | $projection.RcpFmlaUUID = _SecOutputFormulaForKeyDate.RcpFmlaUUID and _SecOutputFormulaForKeyDate.RcpFmlaItemType = 'SO' |
| [0..*] | I_ClfnObjectClassForKeyDate | _ClfnObjectClassForKeyDate | $projection.RecipeUniqueID = _ClfnObjectClassForKeyDate.ClfnObjectID and _ClfnObjectClassForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE' |
| [0..*] | I_ClfnObjectCharcValForKeyDate | _ClfnObjectCharcValForKeyDate | $projection.RecipeUniqueID = _ClfnObjectCharcValForKeyDate.ClfnObjectID and _ClfnObjectCharcValForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE' |
| [1..1] | E_Recipe | _Extension | $projection.RecipeUUID = _Extension.RecipeUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRECIPEKD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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 | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Recipe for Key Date | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RecipeUUID | RecipeUUID | Recipe GUID | |
| RecipeUniqueID | RecipeUniqueID | |||
| Recipe | Recipe | |||
| RecipePrimaryOutputInternalID | RecipePrimaryOutputInternalID | |||
| RecipeAlternativeNumber | RecipeAlternativeNumber | |||
| RecipeVersionNumber | RecipeVersionNumber | |||
| RecipeCreatedByUser | RecipeCreatedByUser | |||
| RecipeCreationDateTime | RecipeCreationDateTime | |||
| RecipeLastChangedByUser | RecipeLastChangedByUser | |||
| RecipeLastChangeDateTime | RecipeLastChangeDateTime | |||
| RecipeType | RecipeType | |||
| RecipePurpose | RecipePurpose | |||
| RecipeStatus | RecipeStatus | |||
| StsActnMgmtStatusText | _RecipeStatusText | StsActnMgmtStatusText | ||
| RecipeStatusSchema | RecipeStatusSchema | |||
| RcpFmlaUUID | RcpFmlaUUID | |||
| RecipeProcessUUID | RecipeProcessUUID | |||
| RecipePropertySpecInternalID | RecipePropertySpecInternalID | |||
| RecipeChangeNumber | RecipeChangeNumber | |||
| RecipeIsDeleted | RecipeIsDeleted | |||
| RecipeIsArchived | RecipeIsArchived | |||
| RecipeValidityStartDate | RecipeValidityStartDate | |||
| RecipeValidityEndDate | RecipeValidityEndDate | |||
| RecipeValidityMinQuantity | RecipeValidityMinQuantity | |||
| RecipeValidityMaxQuantity | RecipeValidityMaxQuantity | |||
| RecipeValidityUnit | RecipeValidityUnit | |||
| RecipeAuthorizationGroup | RecipeAuthorizationGroup | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _Plant | _Plant | |||
| _RecipeDescription | _RecipeDescription | |||
| _TextObjectPlainLongText | _TextObjectPlainLongText | |||
| _RecipePurpose | _RecipePurpose | |||
| _RecipeStatus | _RecipeStatus | |||
| _RecipeStatusText | _RecipeStatusText | |||
| _RecipeType | _RecipeType | |||
| _AuthorizationGroup | _AuthorizationGroup | |||
| _PrimaryOutputSpecification | _PrimaryOutputSpecification | |||
| _FormulaForKeyDate | _FormulaForKeyDate | |||
| _RecipeProcessEquipRqmt | _RecipeProcessEquipRqmt | |||
| _RecipeProcessElementBasic | _RecipeProcessElementBasic | |||
| _RecipeProcessParamValue | _RecipeProcessParamValue | |||
| _RecipeDocInfoRecordObjectLink | _RecipeDocInfoRecordObjectLink | |||
| _PrimOutputFormulaForKeyDate | _PrimOutputFormulaForKeyDate | |||
| _InputFormulaForKeyDate | _InputFormulaForKeyDate | |||
| _OutputStreamFormulaForKeyDate | _OutputStreamFormulaForKeyDate | |||
| _SecOutputFormulaForKeyDate | _SecOutputFormulaForKeyDate | |||
| _ClfnObjectClassForKeyDate | _ClfnObjectClassForKeyDate | |||
| _ClfnObjectCharcValForKeyDate | _ClfnObjectCharcValForKeyDate | |||
| _LogAccMObjectTypeActive | _LogAccMObjectTypeActive | |||
| _LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | |||
| _LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt |
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 I_RecipeForKeyDate.
-- 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: IRECIPEKD
-- Parameters: P_KeyDate : sydate
CREATE VIEW I_RecipeForKeyDate AS
SELECT
RecipeUUID,
RecipeUniqueID,
Recipe,
RecipePrimaryOutputInternalID,
RecipeAlternativeNumber,
RecipeVersionNumber,
RecipeCreatedByUser,
RecipeCreationDateTime,
RecipeLastChangedByUser,
RecipeLastChangeDateTime,
RecipeType,
RecipePurpose,
RecipeStatus,
_RecipeStatusText.StsActnMgmtStatusText AS StsActnMgmtStatusText,
RecipeStatusSchema,
RcpFmlaUUID,
RecipeProcessUUID,
RecipePropertySpecInternalID,
RecipeChangeNumber,
RecipeIsDeleted,
RecipeIsArchived,
RecipeValidityStartDate,
RecipeValidityEndDate,
RecipeValidityMinQuantity,
RecipeValidityMaxQuantity,
RecipeValidityUnit,
RecipeAuthorizationGroup
FROM I_Recipe
LEFT OUTER JOIN I_SpecificationForKeyDate AS _PrimaryOutputSpecification ON RecipePrimaryOutputInternalID = _PrimaryOutputSpecification.SpecificationInternalID -- association [0..1]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _FormulaForKeyDate ON RcpFmlaUUID = _FormulaForKeyDate.RcpFmlaUUID -- association [1..*]
LEFT OUTER JOIN I_RecipeProcessEquipRqmt AS _RecipeProcessEquipRqmt ON RecipeUUID = _RecipeProcessEquipRqmt.RecipeUUID -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessElementBasic AS _RecipeProcessElementBasic ON RecipeUUID = _RecipeProcessElementBasic.RecipeUUID -- association [0..*]
LEFT OUTER JOIN I_RecipeProcessParamValue AS _RecipeProcessParamValue ON RecipeUUID = _RecipeProcessParamValue.RecipeUUID -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _PrimOutputFormulaForKeyDate ON RcpFmlaUUID = _PrimOutputFormulaForKeyDate.RcpFmlaUUID AND _PrimOutputFormulaForKeyDate.RcpFmlaItemType = 'PO' -- association [1..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _InputFormulaForKeyDate ON RcpFmlaUUID = _InputFormulaForKeyDate.RcpFmlaUUID AND _InputFormulaForKeyDate.RcpFmlaItemType = 'IN' -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _OutputStreamFormulaForKeyDate ON RcpFmlaUUID = _OutputStreamFormulaForKeyDate.RcpFmlaUUID AND _OutputStreamFormulaForKeyDate.RcpFmlaItemType = 'OS' -- association [0..*]
LEFT OUTER JOIN I_RecipeFormulaItemForKeyDate AS _SecOutputFormulaForKeyDate ON RcpFmlaUUID = _SecOutputFormulaForKeyDate.RcpFmlaUUID AND _SecOutputFormulaForKeyDate.RcpFmlaItemType = 'SO' -- association [0..*]
LEFT OUTER JOIN I_ClfnObjectClassForKeyDate AS _ClfnObjectClassForKeyDate ON RecipeUniqueID = _ClfnObjectClassForKeyDate.ClfnObjectID AND _ClfnObjectClassForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE' -- association [0..*]
LEFT OUTER JOIN I_ClfnObjectCharcValForKeyDate AS _ClfnObjectCharcValForKeyDate ON RecipeUniqueID = _ClfnObjectCharcValForKeyDate.ClfnObjectID AND _ClfnObjectCharcValForKeyDate.ClfnObjectTable = '/PLMB/RCP_RECIPE' -- association [0..*]
LEFT OUTER JOIN E_Recipe AS _Extension ON RecipeUUID = _Extension.RecipeUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA