I_MasterRecipeHeaderTP
Master Recipe - Header
I_MasterRecipeHeaderTP is a Transactional CDS View that provides data about "Master Recipe - Header" in SAP S/4HANA. It reads from 2 data sources (I_MasterRecipeHeader, I_MasterRecipe) and exposes 37 fields with key fields MasterRecipeGroup, MasterRecipe, MasterRecipeInternalVersion. It has 5 associations to related views. Part of development package VDM_PP_MD_MRC.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MasterRecipeHeader | plko | from |
| I_MasterRecipe | plkz | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MasterRecipeMaterialAssgmtTP | _MatlAssgmt | $projection.MasterRecipeGroup = _MatlAssgmt.MasterRecipeGroup and $projection.MasterRecipe = _MatlAssgmt.MasterRecipe and $projection.ValidityEndDate >= _MatlAssgmt.ValidityStartDate and $projection.ValidityStartDate <= _MatlAssgmt.ValidityEndDate -- to Operations |
| [0..*] | I_MasterRecipeOperationTP | _Operation | $projection.MasterRecipeGroup = _Operation.MasterRecipeGroup and $projection.MasterRecipe = _Operation.MasterRecipe and $projection.ValidityEndDate >= _Operation.ValidityStartDate and $projection.ValidityStartDate <= _Operation.ValidityEndDate -- to root node |
| [0..1] | I_MasterRecipeMaterialCount | _MatlCount | $projection.MasterRecipeGroup = _MatlCount.MasterRecipeGroup and $projection.MasterRecipe = _MatlCount.MasterRecipe |
| [0..1] | I_ChangeMaster | _ChangeMaster | $projection.ChangeNumber = _ChangeMaster.ChangeNumber |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Master Recipe - Header | view | |
| ObjectModel.representativeKey | MasterRecipeInternalVersion | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterRecipeGroup | I_MasterRecipeHeader | BillOfOperationsGroup | Group |
| KEY | MasterRecipe | I_MasterRecipeHeader | BillOfOperationsVariant | Group Counter |
| KEY | MasterRecipeInternalVersion | I_MasterRecipeHeader | BOOInternalVersionCounter | |
| IsMarkedForDeletion | I_MasterRecipe | IsMarkedForDeletion | Purch.org. data | |
| BillOfOperationsDesc | I_MasterRecipeHeader | BillOfOperationsDesc | ||
| Plant | I_MasterRecipeHeader | Plant | Valuation Area | |
| BillOfOperationsUsage | I_MasterRecipeHeader | BillOfOperationsUsage | ||
| BillOfOperationsStatus | I_MasterRecipeHeader | BillOfOperationsStatus | ||
| ResponsiblePlannerGroup | I_MasterRecipeHeader | ResponsiblePlannerGroup | ||
| BillOfOperationsProfile | I_MasterRecipeHeader | BillOfOperationsProfile | ||
| MinimumLotSizeQuantity | I_MasterRecipeHeader | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_MasterRecipeHeader | MaximumLotSizeQuantity | Max. Lot Size | |
| BillOfOperationsUnit | I_MasterRecipeHeader | BillOfOperationsUnit | ||
| LongTextLanguageCode | I_MasterRecipeHeader | LongTextLanguageCode | Language | |
| PlainLongText | I_MasterRecipeHeader | PlainLongText | Long Text | |
| CreationDate | I_MasterRecipeHeader | CreationDate | Time Stamp | |
| CreatedByUser | I_MasterRecipeHeader | CreatedByUser | User Name | |
| LastChangeDate | I_MasterRecipeHeader | LastChangeDate | Time Stamp | |
| LastChangedByUser | I_MasterRecipeHeader | LastChangedByUser | User Name | |
| ValidityStartDate | I_MasterRecipeHeader | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_MasterRecipeHeader | ValidityEndDate | ValidTo | |
| ChangeNumber | I_MasterRecipeHeader | ChangeNumber | Change Number | |
| ChangedDateTime | _RcpTP | ChangedDateTime | Time Stamp | |
| OperationReferenceQuantity | I_MasterRecipeHeader | OperationReferenceQuantity | Base Quantity | |
| OperationUnit | I_MasterRecipeHeader | OperationUnit | Act/op UoM | |
| OpQtyToBaseQtyNmrtr | I_MasterRecipeHeader | OpQtyToBaseQtyNmrtr | ||
| OpQtyToBaseQtyDnmntr | I_MasterRecipeHeader | OpQtyToBaseQtyDnmntr | ||
| ChangeNumberDescription | _ChangeMaster | ChangeNumberDescription | ||
| PlantName | _Plant | PlantName | Plant Name | |
| _MatlAssgmt | _MatlAssgmt | |||
| _Operation | _Operation | |||
| _RcpTP | _RcpTP | |||
| _UsageText | _UsageText | |||
| _StatusText | _StatusText | |||
| _MatlCount | _MatlCount | |||
| _ChangeMaster | _ChangeMaster | |||
| _Plant | _Plant |
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_MasterRecipeHeaderTP.
-- 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: IMRCHDRTP
CREATE VIEW I_MasterRecipeHeaderTP AS
SELECT
plko.BillOfOperationsGroup AS MasterRecipeGroup,
plko.BillOfOperationsVariant AS MasterRecipe,
plko.BOOInternalVersionCounter AS MasterRecipeInternalVersion,
plkz.IsMarkedForDeletion AS IsMarkedForDeletion,
plko.BillOfOperationsDesc AS BillOfOperationsDesc,
plko.Plant AS Plant,
plko.BillOfOperationsUsage AS BillOfOperationsUsage,
plko.BillOfOperationsStatus AS BillOfOperationsStatus,
plko.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
plko.BillOfOperationsProfile AS BillOfOperationsProfile,
plko.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
plko.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
plko.BillOfOperationsUnit AS BillOfOperationsUnit,
plko.LongTextLanguageCode AS LongTextLanguageCode,
plko.PlainLongText AS PlainLongText,
plko.CreationDate AS CreationDate,
plko.CreatedByUser AS CreatedByUser,
plko.LastChangeDate AS LastChangeDate,
plko.LastChangedByUser AS LastChangedByUser,
plko.ValidityStartDate AS ValidityStartDate,
plko.ValidityEndDate AS ValidityEndDate,
plko.ChangeNumber AS ChangeNumber,
_RcpTP.ChangedDateTime AS ChangedDateTime,
plko.OperationReferenceQuantity AS OperationReferenceQuantity,
plko.OperationUnit AS OperationUnit,
plko.OpQtyToBaseQtyNmrtr AS OpQtyToBaseQtyNmrtr,
plko.OpQtyToBaseQtyDnmntr AS OpQtyToBaseQtyDnmntr,
_ChangeMaster.ChangeNumberDescription AS ChangeNumberDescription,
_Plant.PlantName AS PlantName
FROM I_MasterRecipeHeader AS plko
INNER JOIN I_MasterRecipe AS plkz ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MasterRecipeMaterialAssgmtTP AS _MatlAssgmt ON MasterRecipeGroup = _MatlAssgmt.MasterRecipeGroup AND MasterRecipe = _MatlAssgmt.MasterRecipe AND ValidityEndDate >= _MatlAssgmt.ValidityStartDate AND ValidityStartDate <= _MatlAssgmt.ValidityEndDate -- association [0..*]
LEFT OUTER JOIN I_MasterRecipeOperationTP AS _Operation ON MasterRecipeGroup = _Operation.MasterRecipeGroup AND MasterRecipe = _Operation.MasterRecipe AND ValidityEndDate >= _Operation.ValidityStartDate AND ValidityStartDate <= _Operation.ValidityEndDate -- association [0..*]
LEFT OUTER JOIN I_MasterRecipeMaterialCount AS _MatlCount ON MasterRecipeGroup = _MatlCount.MasterRecipeGroup AND MasterRecipe = _MatlCount.MasterRecipe -- association [0..1]
LEFT OUTER JOIN I_ChangeMaster AS _ChangeMaster ON ChangeNumber = _ChangeMaster.ChangeNumber -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- 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