I_MasterRecipeHeader
Master Recipe Header Details
I_MasterRecipeHeader is a Basic CDS View (Dimension) that provides data about "Master Recipe Header Details" in SAP S/4HANA. It reads from 1 data source (I_MfgBillOfOperationsChgSt) and exposes 39 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BOOInternalVersionCounter. It has 1 association to related views. Part of development package VDM_PP_MD_MRC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgBillOfOperationsChgSt | I_MfgBillOfOperationsChgSt | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TaskListLongText | _LongText | $projection.BillOfOperationsType = _LongText.TaskListType and $projection.BillOfOperationsGroup = _LongText.TaskListGroup and $projection.BillOfOperationsVariant = _LongText.TaskListGroupCounter and $projection.BOOInternalVersionCounter = _LongText.TaskListVersionCounter and $projection.LongTextLanguageCode is not null |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMSTRRECPHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | BOOInternalVersionCounter | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Master Recipe Header Details | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | BillOfOperationsType | Task List Type | |
| KEY | BillOfOperationsGroup | BillOfOperationsGroup | Group | |
| KEY | BillOfOperationsVariant | BillOfOperationsVariant | Group Counter | |
| KEY | BOOInternalVersionCounter | BOOInternalVersionCounter | ||
| ValidityStartDate | Validity Start Date | |||
| ValidityEndDate | ValidTo | |||
| ChangeNumber | ChangeNumber | Change Number | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| IsDeleted | IsDeleted | TRUE | ||
| IsImplicitlyDeleted | IsImplicitlyDeleted | |||
| BillOfOperationsDesc | BillOfOperationsDesc | |||
| LongTextLanguageCode | LongTextLanguageCode | Language | ||
| Plant | Plant | Valuation Area | ||
| BillOfOperationsUsage | BillOfOperationsUsage | |||
| BillOfOperationsStatus | BillOfOperationsStatus | |||
| ResponsiblePlannerGroup | ResponsiblePlannerGroup | |||
| BillOfOperationsProfile | BillOfOperationsProfile | |||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Min. Lot Size | ||
| MaximumLotSizeQuantity | MaximumLotSizeQuantity | Max. Lot Size | ||
| BillOfOperationsUnit | BillOfOperationsUnit | |||
| CreationDate | Time Stamp | |||
| CreatedByUser | User Name | |||
| LastChangeDate | Time Stamp | |||
| LastChangedByUser | User Name | |||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| PlainLongText | _LongText | PlainLongText | Long Text | |
| OperationReferenceQuantity | OperationReferenceQuantity | Base Quantity | ||
| OperationUnit | OperationUnit | Act/op UoM | ||
| OpQtyToBaseQtyNmrtr | OpQtyToBaseQtyNmrtr | |||
| OpQtyToBaseQtyDnmntr | OpQtyToBaseQtyDnmntr | |||
| _BillOfOperations | _BillOfOperations | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperationsUsage | _BillOfOperationsUsage | |||
| _BillOfOperationsStatus | _BillOfOperationsStatus | |||
| _ResponsiblePlannerGroup | _ResponsiblePlannerGroup | |||
| _BillOfOperationsUnit | _BillOfOperationsUnit | |||
| _Plant | _Plant | |||
| _ChangeMaster | _ChangeMaster |
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_MasterRecipeHeader.
-- 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: IMSTRRECPHDR
CREATE VIEW I_MasterRecipeHeader AS
SELECT
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
BOOInternalVersionCounter,
cast( ValidityStartDate as vdm_datuv ) AS ValidityStartDate,
cast( ValidityEndDate as vdm_datub ) AS ValidityEndDate,
ChangeNumber,
IsMarkedForDeletion,
IsDeleted,
IsImplicitlyDeleted,
BillOfOperationsDesc,
LongTextLanguageCode,
Plant,
BillOfOperationsUsage,
BillOfOperationsStatus,
ResponsiblePlannerGroup,
BillOfOperationsProfile,
MinimumLotSizeQuantity,
MaximumLotSizeQuantity,
BillOfOperationsUnit,
cast( CreationDate as vdm_andat ) AS CreationDate,
cast( CreatedByUser as vdm_annam ) AS CreatedByUser,
cast( LastChangeDate as vdm_aedat ) AS LastChangeDate,
cast( LastChangedByUser as vdm_aenam ) AS LastChangedByUser,
ChangedDateTime,
_LongText.PlainLongText AS PlainLongText,
OperationReferenceQuantity,
OperationUnit,
OpQtyToBaseQtyNmrtr,
OpQtyToBaseQtyDnmntr
FROM I_MfgBillOfOperationsChgSt
LEFT OUTER JOIN I_TaskListLongText AS _LongText ON BillOfOperationsType = _LongText.TaskListType AND BillOfOperationsGroup = _LongText.TaskListGroup AND BillOfOperationsVariant = _LongText.TaskListGroupCounter AND BOOInternalVersionCounter = _LongText.TaskListVersionCounter AND LongTextLanguageCode is not null -- association [0..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