I_MasterRecipeSecondaryRsce

DDL: I_MASTERRECIPESECONDARYRSCE SQL: IMSTRRCPSECRSC Type: view COMPOSITE

Master Recipe Secondary Resouce Details

I_MasterRecipeSecondaryRsce is a Composite CDS View that provides data about "Master Recipe Secondary Resouce Details" in SAP S/4HANA. It reads from 1 data source (I_MfgBOOSubOperationChgSt) and exposes 121 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BOOOperationInternalID, BOOOpInternalVersionCounter, BillOfOperationsVariant. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgBOOSubOperationChgSt plpo from

Associations (4)

CardinalityTargetAliasCondition
[1..*] I_MasterRecipeOperation _Acty $projection.BillOfOperationsType = _Acty.BillOfOperationsType and $projection.BillOfOperationsGroup = _Acty.BillOfOperationsGroup and $projection.SuperiorOperationInternalID = _Acty.BOOOperationInternalID and $projection.ValidityStartDate <= _Acty.ValidityEndDate and $projection.ValidityEndDate >= _Acty.ValidityStartDate and _Acty.BOOOperationIsPhase <> 'X' and _Acty.IsDeleted <> 'X' and _Acty.IsImplicitlyDeleted <> 'X'
[1..*] I_MasterRecipePhase _Phase $projection.BillOfOperationsType = _Phase.BillOfOperationsType and $projection.BillOfOperationsGroup = _Phase.BillOfOperationsGroup and $projection.SuperiorOperationInternalID = _Phase.BOOOperationInternalID and $projection.ValidityStartDate <= _Phase.ValidityEndDate and $projection.ValidityEndDate >= _Phase.ValidityStartDate and _Phase.IsDeleted <> 'X' and _Phase.IsImplicitlyDeleted <> 'X' -- for Plain Long Text
[0..1] I_TaskListOperationLongText _LongText $projection.BillOfOperationsType = _LongText.TaskListType and $projection.BillOfOperationsGroup = _LongText.TaskListGroup and $projection.BOOOperationInternalID = _LongText.BOOOperationInternalID and $projection.BOOOpInternalVersionCounter = _LongText.BOOInternalVersionCounter and $projection.LongTextLanguageCode is not null
[1..1] P_BillOfOperationsActivityType _ActyType $projection.BillOfOperationsType = _ActyType.BillOfOperationsType and $projection.BillOfOperationsGroup = _ActyType.BillOfOperationsGroup and $projection.SuperiorOperationInternalID = _ActyType.BOOOperationInternalID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMSTRRCPSECRSC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey BOOOpInternalVersionCounter view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Recipe Secondary Resouce Details view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view

Fields (121)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_MfgBOOSubOperationChgSt BillOfOperationsType Task List Type
KEY BillOfOperationsGroup I_MfgBOOSubOperationChgSt BillOfOperationsGroup Group
KEY BOOOperationInternalID I_MfgBOOSubOperationChgSt BOOOperationInternalID Task list node
KEY BOOOpInternalVersionCounter I_MfgBOOSubOperationChgSt BOOOpInternalVersionCounter Counter
KEY BillOfOperationsVariant I_MfgBOOSubOperationChgSt BillOfOperationsVariant Group Counter
IsDeleted IsDeleted TRUE
IsImplicitlyDeleted IsImplicitlyDeleted
Operation
OperationText SubOperationText
LongTextLanguageCode LongTextLanguageCode Language
Plant Plant Valuation Area
SuperiorOperationInternalID SuperiorOperationInternalID Sup. Op. Node
BOOSuperiorOperationIsPhase _ActyType BOOOperationIsPhase
WorkCenterInternalID WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenterTypeCode Object Type
OperationControlProfile OperationControlProfile Control Key
OperationStandardTextCode OperationStandardTextCode Std Text Key
OperationReferenceQuantity OperationReferenceQuantity Base Quantity
OperationUnit OperationUnit Act/op UoM
OpQtyToBaseQtyNmrtr OpQtyToBaseQtyNmrtr
OpQtyToBaseQtyDnmntr OpQtyToBaseQtyDnmntr
StandardWorkFormulaParam1 StandardWorkFormulaParam1
StandardWorkQuantity1 StandardWorkQuantity1 Standard Value
StandardWorkQuantityUnit1 StandardWorkQuantityUnit1 Std value unit
CostCtrActivityType1 CostCtrActivityType1 Activity Type
PerfEfficiencyRatioCode1 PerfEfficiencyRatioCode1
StandardWorkFormulaParam2 StandardWorkFormulaParam2
StandardWorkQuantity2 StandardWorkQuantity2 Standard Value
StandardWorkQuantityUnit2 StandardWorkQuantityUnit2 Std value unit
CostCtrActivityType2 CostCtrActivityType2 Activity Type
PerfEfficiencyRatioCode2 PerfEfficiencyRatioCode2
StandardWorkFormulaParam3 StandardWorkFormulaParam3
StandardWorkQuantity3 StandardWorkQuantity3 Standard Value
StandardWorkQuantityUnit3 StandardWorkQuantityUnit3 Std value unit
CostCtrActivityType3 CostCtrActivityType3 Activity Type
PerfEfficiencyRatioCode3 PerfEfficiencyRatioCode3
StandardWorkFormulaParam4 StandardWorkFormulaParam4
StandardWorkQuantity4 StandardWorkQuantity4 Standard Value
StandardWorkQuantityUnit4 StandardWorkQuantityUnit4 Std value unit
CostCtrActivityType4 CostCtrActivityType4 Activity Type
PerfEfficiencyRatioCode4 PerfEfficiencyRatioCode4
StandardWorkFormulaParam5 StandardWorkFormulaParam5
StandardWorkQuantity5 StandardWorkQuantity5 Standard Value
StandardWorkQuantityUnit5 StandardWorkQuantityUnit5 Std value unit
CostCtrActivityType5 CostCtrActivityType5 Activity Type
PerfEfficiencyRatioCode5 PerfEfficiencyRatioCode5
StandardWorkFormulaParam6 StandardWorkFormulaParam6
StandardWorkQuantity6 StandardWorkQuantity6 Standard Value
StandardWorkQuantityUnit6 StandardWorkQuantityUnit6 Std value unit
CostCtrActivityType6 CostCtrActivityType6 Activity Type
PerfEfficiencyRatioCode6 PerfEfficiencyRatioCode6
OperationCostingRelevancyType OperationCostingRelevancyType Operation Costing Relevancy Type
NumberOfTimeTickets NumberOfTimeTickets No.TimeTickets
NumberOfConfirmationSlips NumberOfConfirmationSlips No. of Conf. Slips
EmployeeWageGroup EmployeeWageGroup Wage Group
EmployeeWageType EmployeeWageType Wage type
EmployeeSuitability EmployeeSuitability
NumberOfEmployees NumberOfEmployees No. employees
BusinessProcess BusinessProcess Business Process
OpIsExtlyProcdWithSubcontrg OpIsExtlyProcdWithSubcontrg
PurchasingInfoRecord PurchasingInfoRecord Info Record
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchaseContract PurchaseContract Purchasing Doc.
PurchaseContractItem PurchaseContractItem Item
PurchasingInfoRecdAddlGrpgName PurchasingInfoRecdAddlGrpgName Sort Term
MaterialGroup MaterialGroup Product Group
PurchasingGroup PurchasingGroup Purchasing Group
Supplier Supplier Supplier
PlannedDeliveryDuration PlannedDeliveryDuration Pl. Deliv. Time
NumberOfOperationPriceUnits NumberOfOperationPriceUnits Price Unit
OpExternalProcessingPrice OpExternalProcessingPrice Price
InspectionLotType InspectionLotType Inspection Type
CostElement CostElement G/L Account
OpExternalProcessingCurrency OpExternalProcessingCurrency Currency
ValidityStartDate Validity Start Date
ValidityEndDate ValidTo
CreationDate
CreatedByUser
LastChangeDate
LastChangedByUser
ChangeNumber I_MfgBOOSubOperationChgSt ChangeNumber Change Number
FactoryCalendar FactoryCalendar Factory Calendar
StartDateOffsetDuration StartDateOffsetDuration
StartDateOffsetDurationUnit StartDateOffsetDurationUnit
EndDateOffsetDuration EndDateOffsetDuration
EndDateOffsetDurationUnit EndDateOffsetDurationUnit
CapacityCategoryCode CapacityCategoryCode
_Acty _Acty
_Phase _Phase
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType
_BOOOperationInternalID _BOOOperationInternalID
_ChangeMaster _ChangeMaster
_InspectionLotType _InspectionLotType
_LongTextLanguage _LongTextLanguage
_MaterialGroup _MaterialGroup
_OpExternalProcessingCurrency _OpExternalProcessingCurrency
_OperationUnit _OperationUnit
_Plant _Plant
_PurchaseContract _PurchaseContract
_PurchaseContractItem _PurchaseContractItem
_PurchasingGroup _PurchasingGroup
_PurchasingInfoRecord _PurchasingInfoRecord
_PurchasingOrganization _PurchasingOrganization
_StandardWorkQuantityUnit1 _StandardWorkQuantityUnit1
_StandardWorkQuantityUnit2 _StandardWorkQuantityUnit2
_StandardWorkQuantityUnit3 _StandardWorkQuantityUnit3
_StandardWorkQuantityUnit4 _StandardWorkQuantityUnit4
_StandardWorkQuantityUnit5 _StandardWorkQuantityUnit5
_StandardWorkQuantityUnit6 _StandardWorkQuantityUnit6
_StartDateOffsetDurnUnit _StartDateOffsetDurnUnit
_EndDateOffsetDurnUnit _EndDateOffsetDurnUnit
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant
_WorkCenter _WorkCenter
_WorkCenterType _WorkCenterType
_LongText _LongText
_OperationControlProfile _OperationControlProfile
_OperationStandardText _OperationStandardText
_EmployeeWageGroup _EmployeeWageGroup
_EmployeeSuitability _EmployeeSuitability

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_MasterRecipeSecondaryRsce.
-- 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: IMSTRRCPSECRSC

CREATE VIEW I_MasterRecipeSecondaryRsce AS
SELECT
  plpo.BillOfOperationsType AS BillOfOperationsType,
  plpo.BillOfOperationsGroup AS BillOfOperationsGroup,
  plpo.BOOOperationInternalID AS BOOOperationInternalID,
  plpo.BOOOpInternalVersionCounter AS BOOOpInternalVersionCounter,
  plpo.BillOfOperationsVariant AS BillOfOperationsVariant,
  IsDeleted,
  IsImplicitlyDeleted,
  cast(SubOperation as pph_vornr preserving type ) AS Operation,
  SubOperationText AS OperationText,
  LongTextLanguageCode,
  Plant,
  SuperiorOperationInternalID,
  _ActyType.BOOOperationIsPhase AS BOOSuperiorOperationIsPhase,
  WorkCenterInternalID,
  WorkCenterTypeCode,
  OperationControlProfile,
  OperationStandardTextCode,
  OperationReferenceQuantity,
  OperationUnit,
  OpQtyToBaseQtyNmrtr,
  OpQtyToBaseQtyDnmntr,
  StandardWorkFormulaParam1,
  StandardWorkQuantity1,
  StandardWorkQuantityUnit1,
  CostCtrActivityType1,
  PerfEfficiencyRatioCode1,
  StandardWorkFormulaParam2,
  StandardWorkQuantity2,
  StandardWorkQuantityUnit2,
  CostCtrActivityType2,
  PerfEfficiencyRatioCode2,
  StandardWorkFormulaParam3,
  StandardWorkQuantity3,
  StandardWorkQuantityUnit3,
  CostCtrActivityType3,
  PerfEfficiencyRatioCode3,
  StandardWorkFormulaParam4,
  StandardWorkQuantity4,
  StandardWorkQuantityUnit4,
  CostCtrActivityType4,
  PerfEfficiencyRatioCode4,
  StandardWorkFormulaParam5,
  StandardWorkQuantity5,
  StandardWorkQuantityUnit5,
  CostCtrActivityType5,
  PerfEfficiencyRatioCode5,
  StandardWorkFormulaParam6,
  StandardWorkQuantity6,
  StandardWorkQuantityUnit6,
  CostCtrActivityType6,
  PerfEfficiencyRatioCode6,
  OperationCostingRelevancyType,
  NumberOfTimeTickets,
  NumberOfConfirmationSlips,
  EmployeeWageGroup,
  EmployeeWageType,
  EmployeeSuitability,
  NumberOfEmployees,
  BusinessProcess,
  OpIsExtlyProcdWithSubcontrg,
  PurchasingInfoRecord,
  PurchasingOrganization,
  PurchaseContract,
  PurchaseContractItem,
  PurchasingInfoRecdAddlGrpgName,
  MaterialGroup,
  PurchasingGroup,
  Supplier,
  PlannedDeliveryDuration,
  NumberOfOperationPriceUnits,
  OpExternalProcessingPrice,
  InspectionLotType,
  CostElement,
  OpExternalProcessingCurrency,
  cast( ValidityStartDate as vdm_datuv ) AS ValidityStartDate,
  cast( ValidityEndDate as vdm_datub ) AS ValidityEndDate,
  cast( plpo.CreationDate as vdm_andat ) AS CreationDate,
  cast( plpo.CreatedByUser as vdm_annam ) AS CreatedByUser,
  cast( plpo.LastChangeDate as vdm_aedat ) AS LastChangeDate,
  cast( plpo.LastChangedByUser as vdm_aenam ) AS LastChangedByUser,
  plpo.ChangeNumber AS ChangeNumber,
  FactoryCalendar,
  StartDateOffsetDuration,
  StartDateOffsetDurationUnit,
  EndDateOffsetDuration,
  EndDateOffsetDurationUnit,
  CapacityCategoryCode
FROM I_MfgBOOSubOperationChgSt AS plpo
LEFT OUTER JOIN I_MasterRecipeOperation AS _Acty ON BillOfOperationsType = _Acty.BillOfOperationsType AND BillOfOperationsGroup = _Acty.BillOfOperationsGroup AND SuperiorOperationInternalID = _Acty.BOOOperationInternalID AND ValidityStartDate <= _Acty.ValidityEndDate AND ValidityEndDate >= _Acty.ValidityStartDate AND _Acty.BOOOperationIsPhase <> 'X' AND _Acty.IsDeleted <> 'X' AND _Acty.IsImplicitlyDeleted <> 'X'  -- association [1..*]
LEFT OUTER JOIN I_MasterRecipePhase AS _Phase ON BillOfOperationsType = _Phase.BillOfOperationsType AND BillOfOperationsGroup = _Phase.BillOfOperationsGroup AND SuperiorOperationInternalID = _Phase.BOOOperationInternalID AND ValidityStartDate <= _Phase.ValidityEndDate AND ValidityEndDate >= _Phase.ValidityStartDate AND _Phase.IsDeleted <> 'X' AND _Phase.IsImplicitlyDeleted <> 'X'  -- association [1..*]
LEFT OUTER JOIN I_TaskListOperationLongText AS _LongText ON BillOfOperationsType = _LongText.TaskListType AND BillOfOperationsGroup = _LongText.TaskListGroup AND BOOOperationInternalID = _LongText.BOOOperationInternalID AND BOOOpInternalVersionCounter = _LongText.BOOInternalVersionCounter AND LongTextLanguageCode is not null  -- association [0..1]
LEFT OUTER JOIN P_BillOfOperationsActivityType AS _ActyType ON BillOfOperationsType = _ActyType.BillOfOperationsType AND BillOfOperationsGroup = _ActyType.BillOfOperationsGroup AND SuperiorOperationInternalID = _ActyType.BOOOperationInternalID  -- association [1..1]
;