I_MasterRecipeOperationTP

DDL: I_MASTERRECIPEOPERATIONTP SQL: IMRCOPTP Type: view_entity TRANSACTIONAL Package: VDM_PP_MD_MRC

Master Recipe - Operations

I_MasterRecipeOperationTP is a Transactional CDS View that provides data about "Master Recipe - Operations" in SAP S/4HANA. It reads from 1 data source (I_MasterRecipeOperation) and exposes 43 fields with key fields MasterRecipeGroup, MasterRecipe, MasterRecipeOperationIntID, MstrRcpOperationIntVersion. It has 6 associations to related views. Part of development package VDM_PP_MD_MRC.

Data Sources (1)

SourceAliasJoin Type
I_MasterRecipeOperation I_MasterRecipeOperation from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_MasterRecipePhaseTP _Phase $projection.MasterRecipeGroup = _Phase.MasterRecipeGroup and $projection.MasterRecipe = _Phase.MasterRecipe and $projection.MasterRecipeOperationIntID = _Phase.BOOPhaseSuperiorOpInternalID and $projection.MstrRcpOperationIntVersion = _Phase.MstrRcpOperationIntVersion and $projection.ValidityEndDate >= _Phase.ValidityStartDate and $projection.ValidityStartDate <= _Phase.ValidityEndDate -- to Operations Component Allocations
[0..*] I_MasterRecipeOpCompAllocTP _OpCompAlloc $projection.MasterRecipeGroup = _OpCompAlloc.MasterRecipeGroup and $projection.MasterRecipe = _OpCompAlloc.MasterRecipe and $projection.MasterRecipeOperationIntID = _OpCompAlloc.MasterRecipeOperationIntID and $projection.ValidityEndDate >= _OpCompAlloc.ValidityStartDate and $projection.ValidityStartDate <= _OpCompAlloc.ValidityEndDate -- to Operations Secondary Resouces
[0..*] I_MasterRecipeOpSecdryRsceTP _OpSecdryRsce $projection.MasterRecipeGroup = _OpSecdryRsce.MasterRecipeGroup and $projection.MasterRecipe = _OpSecdryRsce.MasterRecipe and $projection.MstrRcpOperationIntVersion = _OpSecdryRsce.SuperiorOperationInternalID and $projection.ValidityEndDate >= _OpSecdryRsce.ValidityStartDate and $projection.ValidityStartDate <= _OpSecdryRsce.ValidityEndDate -- Inspection Characteristics
[0..*] R_MasterRcpInspCharcsAssgmtTP _InspCharcsAssgmt $projection.MasterRecipeGroup = _InspCharcsAssgmt.MasterRecipeGroup and $projection.MasterRecipe = _InspCharcsAssgmt.MasterRecipe and $projection.MasterRecipeOperationIntID = _InspCharcsAssgmt.MasterRecipeOperationIntID and $projection.ValidityEndDate >= _InspCharcsAssgmt.ValidityStartDate and $projection.ValidityStartDate <= _InspCharcsAssgmt.ValidityEndDate -- for Plain Long Text
[0..1] I_TaskListOperationLongText _LongText $projection.MasterRecipeGroup = _LongText.TaskListGroup and $projection.MasterRecipeOperationIntID = _LongText.BOOOperationInternalID and $projection.MstrRcpOperationIntVersion = _LongText.BOOInternalVersionCounter and $projection.LongTextLanguageCode is not null and _LongText.TaskListType = '2' -- for DCLS
[1..*] I_MasterRecipeHeaderTP _Header $projection.MasterRecipeGroup = _Header.MasterRecipeGroup and $projection.MasterRecipe = _Header.MasterRecipe and $projection.ValidityEndDate >= _Header.ValidityStartDate and $projection.ValidityStartDate <= _Header.ValidityEndDate -- to top root node

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Recipe - Operations view
ObjectModel.representativeKey MstrRcpOperationIntVersion view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY MasterRecipeGroup BillOfOperationsGroup Group
KEY MasterRecipe BillOfOperationsVariant Group Counter
KEY MasterRecipeOperationIntID BOOOperationInternalID Task list node
KEY MstrRcpOperationIntVersion BOOOpInternalVersionCounter Counter
Operation Operation Transaction
OperationText OperationText Description
LongTextLanguageCode LongTextLanguageCode Language
PlainLongText _LongText PlainLongText Long Text
WorkCenterTypeCode WorkCenterTypeCode Object Type
WorkCenterInternalID WorkCenterInternalID Work Center
OperationStandardTextCode OperationStandardTextCode Std Text Key
Plant Plant Valuation Area
OperationControlProfile OperationControlProfile Control Key
OperationReferenceQuantity OperationReferenceQuantity Base Quantity
OperationUnit OperationUnit Act/op UoM
OpQtyToBaseQtyNmrtr OpQtyToBaseQtyNmrtr
OpQtyToBaseQtyDnmntr OpQtyToBaseQtyDnmntr
NumberOfTimeTickets NumberOfTimeTickets No.TimeTickets
EmployeeWageType EmployeeWageType Wage type
EmployeeWageGroup EmployeeWageGroup Wage Group
NumberOfConfirmationSlips NumberOfConfirmationSlips No. of Conf. Slips
NumberOfEmployees NumberOfEmployees No. employees
OperationCostingRelevancyType OperationCostingRelevancyType Operation Costing Relevancy Type
BusinessProcess BusinessProcess Business Process
OperationSetupType OperationSetupType Setup Type Key
OperationSetupGroupCategory OperationSetupGroupCategory Setup group cat
OperationSetupGroup OperationSetupGroup Setup group key
CapacityCategoryCode CapacityCategoryCode
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ChangeNumber ChangeNumber Change Number
ChangedDateTime _ActyTP ChangedDateTime Time Stamp
_Phase _Phase
_OpCompAlloc _OpCompAlloc
_OpSecdryRsce _OpSecdryRsce
_Header _Header
_ActyTP _ActyTP
_RcpTP _RcpTP
_InspCharcsAssgmt _InspCharcsAssgmt

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_MasterRecipeOperationTP.
-- 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: IMRCOPTP

CREATE VIEW I_MasterRecipeOperationTP AS
SELECT
  BillOfOperationsGroup AS MasterRecipeGroup,
  BillOfOperationsVariant AS MasterRecipe,
  BOOOperationInternalID AS MasterRecipeOperationIntID,
  BOOOpInternalVersionCounter AS MstrRcpOperationIntVersion,
  Operation,
  OperationText,
  LongTextLanguageCode,
  _LongText.PlainLongText AS PlainLongText,
  WorkCenterTypeCode,
  WorkCenterInternalID,
  OperationStandardTextCode,
  Plant,
  OperationControlProfile,
  OperationReferenceQuantity,
  OperationUnit,
  OpQtyToBaseQtyNmrtr,
  OpQtyToBaseQtyDnmntr,
  NumberOfTimeTickets,
  EmployeeWageType,
  EmployeeWageGroup,
  NumberOfConfirmationSlips,
  NumberOfEmployees,
  OperationCostingRelevancyType,
  BusinessProcess,
  OperationSetupType,
  OperationSetupGroupCategory,
  OperationSetupGroup,
  CapacityCategoryCode,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ValidityStartDate,
  ValidityEndDate,
  ChangeNumber,
  _ActyTP.ChangedDateTime AS ChangedDateTime
FROM I_MasterRecipeOperation
LEFT OUTER JOIN I_MasterRecipePhaseTP AS _Phase ON MasterRecipeGroup = _Phase.MasterRecipeGroup AND MasterRecipe = _Phase.MasterRecipe AND MasterRecipeOperationIntID = _Phase.BOOPhaseSuperiorOpInternalID AND MstrRcpOperationIntVersion = _Phase.MstrRcpOperationIntVersion AND ValidityEndDate >= _Phase.ValidityStartDate AND ValidityStartDate <= _Phase.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_MasterRecipeOpCompAllocTP AS _OpCompAlloc ON MasterRecipeGroup = _OpCompAlloc.MasterRecipeGroup AND MasterRecipe = _OpCompAlloc.MasterRecipe AND MasterRecipeOperationIntID = _OpCompAlloc.MasterRecipeOperationIntID AND ValidityEndDate >= _OpCompAlloc.ValidityStartDate AND ValidityStartDate <= _OpCompAlloc.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_MasterRecipeOpSecdryRsceTP AS _OpSecdryRsce ON MasterRecipeGroup = _OpSecdryRsce.MasterRecipeGroup AND MasterRecipe = _OpSecdryRsce.MasterRecipe AND MstrRcpOperationIntVersion = _OpSecdryRsce.SuperiorOperationInternalID AND ValidityEndDate >= _OpSecdryRsce.ValidityStartDate AND ValidityStartDate <= _OpSecdryRsce.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN R_MasterRcpInspCharcsAssgmtTP AS _InspCharcsAssgmt ON MasterRecipeGroup = _InspCharcsAssgmt.MasterRecipeGroup AND MasterRecipe = _InspCharcsAssgmt.MasterRecipe AND MasterRecipeOperationIntID = _InspCharcsAssgmt.MasterRecipeOperationIntID AND ValidityEndDate >= _InspCharcsAssgmt.ValidityStartDate AND ValidityStartDate <= _InspCharcsAssgmt.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_TaskListOperationLongText AS _LongText ON MasterRecipeGroup = _LongText.TaskListGroup AND MasterRecipeOperationIntID = _LongText.BOOOperationInternalID AND MstrRcpOperationIntVersion = _LongText.BOOInternalVersionCounter AND LongTextLanguageCode is not null AND _LongText.TaskListType = '2'  -- association [0..1]
LEFT OUTER JOIN I_MasterRecipeHeaderTP AS _Header ON MasterRecipeGroup = _Header.MasterRecipeGroup AND MasterRecipe = _Header.MasterRecipe AND ValidityEndDate >= _Header.ValidityStartDate AND ValidityStartDate <= _Header.ValidityEndDate  -- association [1..*]
;