I_MasterRecipeHeader

DDL: I_MASTERRECIPEHEADER SQL: IMSTRRECPHDR Type: view BASIC Package: VDM_PP_MD_MRC

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)

SourceAliasJoin Type
I_MfgBillOfOperationsChgSt I_MfgBillOfOperationsChgSt from

Associations (1)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;