I_RoutingHeaderSearchModel
Bill of Operations for Routing
I_RoutingHeaderSearchModel is a Basic CDS View that provides data about "Bill of Operations for Routing" in SAP S/4HANA. It reads from 1 data source (plko) and exposes 79 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BOOInternalVersionCounter. It has 32 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| plko | plko | from |
Associations (32)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [1..1] | I_BillOfOperationsTypeText | _BillOfOperationsTypeText | $projection.BillOfOperationsType = _BillOfOperationsTypeText.BillOfOperationsType and _BillOfOperationsTypeText.Language = $session.system_language |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup -- to root, to parent |
| [1..1] | I_BillOfOperations | _BillOfOperations | $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant |
| [1..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID |
| [1..1] | I_BillOfOperationsUsage | _BillOfOperationsUsage | $projection.BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage |
| [1..1] | I_BillOfOperationsStatus | _BillOfOperationsStatus | $projection.BillOfOperationsStatus = _BillOfOperationsStatus.BillOfOperationsStatus |
| [1..1] | I_BillOfOperationsStatusText | _BillOfOperationsStatusText | $projection.BillOfOperationsStatus = _BillOfOperationsStatusText.BillOfOperationsStatus and _BillOfOperationsStatusText.Language = $session.system_language |
| [1..1] | I_ResponsiblePlannerGroup | _ResponsiblePlannerGroup | $projection.ResponsiblePlannerGroup = _ResponsiblePlannerGroup.ResponsiblePlannerGroup and $projection.Plant = _ResponsiblePlannerGroup.Plant |
| [1..1] | I_UnitOfMeasure | _BillOfOperationsUnit | $projection.BillOfOperationsUnit = _BillOfOperationsUnit.UnitOfMeasure |
| [0..1] | I_InspSubsetFieldCombination | _InspSubsetFieldCombination | $projection.InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination |
| [0..1] | I_SampleDrawingProcedure | _SampleDrawingProcedure | $projection.SmplDrawingProcedure = _SampleDrawingProcedure.SmplDrawingProcedure |
| [0..1] | I_SmplDrwgProcedureVersion | _SmplDrwgProcedureVersion | $projection.SmplDrawingProcedure = _SmplDrwgProcedureVersion.SmplDrawingProcedure and $projection.SmplDrawingProcedureVersion = _SmplDrwgProcedureVersion.SmplDrawingProcedureVersion |
| [0..1] | I_MaintenanceStrategy | _MaintenanceStrategy | $projection.MaintenanceStrategy = _MaintenanceStrategy.MaintenanceStrategy |
| [0..1] | I_InspectionLotDynamicLevel | _InspectionLotDynamicLevel | $projection.InspectionLotDynamicLevel = _InspectionLotDynamicLevel.InspectionLotDynamicLevel |
| [0..1] | I_InspLotDynamicRule | _InspLotDynamicRule | $projection.InspLotDynamicRule = _InspLotDynamicRule.InspLotDynamicRule |
| [0..1] | I_LineHierarchy | _LineHierarchy | $projection.LineHierarchyInternalID = _LineHierarchy.LineHierarchyInternalID and _LineHierarchy.WorkCenterTypeCode = 'A' |
| [0..1] | I_ChangeMaster | _ChangeMaster | $projection.ChangeNumber = _ChangeMaster.ChangeNumber |
| [0..1] | I_InspExtNumberingOfValues | _InspExtNumbering | $projection.InspExternalNumberingOfValues = _InspExtNumbering.InspExternalNumberingOfValues |
| [0..1] | I_Material | _Assembly | $projection.Assembly = _Assembly.Material |
| [0..1] | I_Plant | _MaintenancePlanningPlant | $projection.MaintenancePlanningPlant = _MaintenancePlanningPlant.Plant |
| [0..1] | I_MaintOperationSystCondition | _OperationSystemCondition | $projection.OperationSystemCondition = _OperationSystemCondition.OperationSystemCondition |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_Indicator | _ConfigurableIndicator | $projection.BillOfOperationIsConfigurable = _ConfigurableIndicator.IndicatorValue |
| [0..1] | I_Language | _LongTextLanguage | $projection.LongTextLanguageCode = _LongTextLanguage.Language -- for ESH associaations |
| [0..*] | I_RoutingSequenceSearchModel | _RtgSqncSrchMod | $projection.BillOfOperationsType = _RtgSqncSrchMod.BillOfOperationsType and $projection.BillOfOperationsGroup = _RtgSqncSrchMod.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _RtgSqncSrchMod.BillOfOperationsVariant |
| [0..*] | I_RoutingMaterialSearchModel | _RtgMaterialSrchMod | $projection.BillOfOperationsType = _RtgMaterialSrchMod.BillOfOperationsType and $projection.BillOfOperationsGroup = _RtgMaterialSrchMod.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _RtgMaterialSrchMod.BillOfOperationsVariant and $projection.Plant = _RtgMaterialSrchMod.Plant |
| [0..1] | P_RtgMainHeaderSrchMod | _RtgMainHeaderSrchMod | $projection.BillOfOperationsType = _RtgMainHeaderSrchMod.BillOfOperationsType and $projection.BillOfOperationsGroup = _RtgMainHeaderSrchMod.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _RtgMainHeaderSrchMod.BillOfOperationsVariant |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | BOOInternalVersionCounter | view | |
| Analytics.technicalName | IRTGHDRSRCHMOD | view | |
| EndUserText.label | Bill of Operations for Routing | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (79)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | plko | plnty | Task List Type |
| KEY | BillOfOperationsGroup | plko | plnnr | Task List Group |
| KEY | BillOfOperationsVariant | plko | plnal | Referenced BOO Variant |
| KEY | BOOInternalVersionCounter | plko | zaehl | Sort pos. |
| BillOfOperationsVersion | plko | versn | Version | |
| IsDeleted | plko | loekz | Status | |
| IsImplicitlyDeleted | plko | loekz_inherited | Deletion Ind. | |
| arbtyendasWorkCenterTypeCode | ||||
| WorkCenterInternalID | plko | arbid | WorkCtrGp plan. | |
| ktextasBillOfOperationsDesc | ||||
| LongTextLanguageCode | plko | txtsp | Language | |
| Plant | plko | werks | Receiving Plant | |
| BillOfOperationsUsage | plko | verwe | Work Center Category | |
| BillOfOperationsStatus | plko | statu | Vehicle Status | |
| ResponsiblePlannerGroup | plko | vagrp | Prodn Supervisor | |
| MinimumLotSizeQuantity | plko | losvn | Lot Size From | |
| MaximumLotSizeQuantity | plko | losbs | To Lot Size | |
| BillOfOperationsUnit | plko | plnme | Unit | |
| ReplacedBillOfOperations | plko | plnnr_alt | Old TL Number | |
| IsMarkedForDeletion | plko | delkz | MRP Elmnt Ind. | |
| st_arbidasLineHierarchyInternalID | ||||
| SmplDrawingProcedure | ||||
| SmplDrawingProcedureVersion | plko | qversnprzv | Version | |
| InspectionLotDynamicLevel | ||||
| InspLotDynamicRule | plko | qdynregel | Dyn. Mod. Rule | |
| InspLotDynamicCriteria | plko | qdynstring | DynCrit. strng | |
| MaintenanceStrategy | plko | strat | Strategy Fields | |
| extnumasInspExternalNumberingOfValues | ||||
| MaintenancePlanningPlant | plko | iwerk | Planning Plant | |
| Assembly | plko | istru | Assembly | |
| OperationSystemCondition | plko | anlzu | SystemCondition | |
| ReferenceElement | plko | adpsp | Ref. Element PM/PS | |
| ControllingArea | plko | kokrs | Org. Value | |
| WBSElementInternalID | ||||
| BillOfOperationIsConfigurable | plko | kzkfg | Origin of config | |
| BillOfOperationsDateTime | ||||
| andatasCreationDate | ||||
| CreatedByUser | ||||
| LastChangeDate | plko | aedat | Obsolete | |
| LastChangedByUser | ||||
| changeddatetimeendasChangedDateTime | ||||
| aennrasChangeNumber | ||||
| ValidityStartDate | ||||
| ValidityEndDate | ||||
| reodatasLastReorganizationDate | ||||
| LastUsageDate | plko | abdat | Store Until | |
| NumberOfUsages | plko | abanz | No. of Periods | |
| efftypasEffectivityType | ||||
| _Assembly | _Assembly | |||
| _BillOfOperations | _BillOfOperations | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperationsStatus | _BillOfOperationsStatus | |||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsUnit | _BillOfOperationsUnit | |||
| _BillOfOperationsUsage | _BillOfOperationsUsage | |||
| _ChangeMaster | _ChangeMaster | |||
| _ControllingArea | _ControllingArea | |||
| _CreatedByUser | _CreatedByUser | |||
| _ConfigurableIndicator | _ConfigurableIndicator | |||
| _InspExtNumbering | _InspExtNumbering | |||
| _InspLotDynamicRule | _InspLotDynamicRule | |||
| _InspSubsetFieldCombination | _InspSubsetFieldCombination | |||
| _InspectionLotDynamicLevel | _InspectionLotDynamicLevel | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _LineHierarchy | _LineHierarchy | |||
| _LongTextLanguage | _LongTextLanguage | |||
| _MaintenancePlanningPlant | _MaintenancePlanningPlant | |||
| _MaintenanceStrategy | _MaintenanceStrategy | |||
| _OperationSystemCondition | _OperationSystemCondition | |||
| _Plant | _Plant | |||
| _ResponsiblePlannerGroup | _ResponsiblePlannerGroup | |||
| _SampleDrawingProcedure | _SampleDrawingProcedure | |||
| _SmplDrwgProcedureVersion | _SmplDrwgProcedureVersion | |||
| _WorkCenter | _WorkCenter | |||
| _WorkCenterType | _WorkCenterType | |||
| _RtgSqncSrchMod | _RtgSqncSrchMod | |||
| _RtgMaterialSrchMod | _RtgMaterialSrchMod | |||
| _BillOfOperationsTypeText | _BillOfOperationsTypeText | |||
| _BillOfOperationsStatusText | _BillOfOperationsStatusText |
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_RoutingHeaderSearchModel.
-- 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.
CREATE VIEW I_RoutingHeaderSearchModel AS
SELECT
plko.plnty AS BillOfOperationsType,
plko.plnnr AS BillOfOperationsGroup,
plko.plnal AS BillOfOperationsVariant,
plko.zaehl AS BOOInternalVersionCounter,
plko.versn AS BillOfOperationsVersion,
plko.loekz AS IsDeleted,
plko.loekz_inherited AS IsImplicitlyDeleted,
case when plko.arbty = ' ' and plko.arbid <> '00000000' then 'A ' else plko.arbty end as WorkCenterTypeCode AS arbtyendasWorkCenterTypeCode,
plko.arbid AS WorkCenterInternalID,
plko.txtsp AS LongTextLanguageCode,
plko.werks AS Plant,
plko.verwe AS BillOfOperationsUsage,
plko.statu AS BillOfOperationsStatus,
plko.vagrp AS ResponsiblePlannerGroup,
plko.losvn AS MinimumLotSizeQuantity,
plko.losbs AS MaximumLotSizeQuantity,
plko.plnme AS BillOfOperationsUnit,
plko.plnnr_alt AS ReplacedBillOfOperations,
plko.delkz AS IsMarkedForDeletion,
cast (plko.qprziehver as vdm_qprziehver preserving type ) AS SmplDrawingProcedure,
plko.qversnprzv AS SmplDrawingProcedureVersion,
cast (plko.qdynhead as vdm_qdynhead preserving type ) AS InspectionLotDynamicLevel,
plko.qdynregel AS InspLotDynamicRule,
plko.qdynstring AS InspLotDynamicCriteria,
plko.strat AS MaintenanceStrategy,
plko.iwerk AS MaintenancePlanningPlant,
plko.istru AS Assembly,
plko.anlzu AS OperationSystemCondition,
plko.adpsp AS ReferenceElement,
plko.kokrs AS ControllingArea,
cast(plko.pspnr as ps_s4_pspnr preserving type) AS WBSElementInternalID,
plko.kzkfg AS BillOfOperationIsConfigurable,
cast(plko.tstmp_bw as tzntstmps) AS BillOfOperationsDateTime,
cast(plko.annam as vdm_createdbyuserid preserving type) AS CreatedByUser,
plko.aedat AS LastChangeDate,
cast(plko.aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
case plko.changeddatetime when 0 then cast( '19000101010101' as tzntstmps ) else plko.changeddatetime end as ChangedDateTime AS changeddatetimeendasChangedDateTime,
cast(plko.datuv as pph_begda preserving type) AS ValidityStartDate,
cast(plko.valid_to as pph_endda preserving type) AS ValidityEndDate,
plko.abdat AS LastUsageDate,
plko.abanz AS NumberOfUsages
FROM plko
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsTypeText AS _BillOfOperationsTypeText ON BillOfOperationsType = _BillOfOperationsTypeText.BillOfOperationsType AND _BillOfOperationsTypeText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup -- association [1..1]
LEFT OUTER JOIN I_BillOfOperations AS _BillOfOperations ON BillOfOperationsType = _BillOfOperations.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [1..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsUsage AS _BillOfOperationsUsage ON BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsStatus AS _BillOfOperationsStatus ON BillOfOperationsStatus = _BillOfOperationsStatus.BillOfOperationsStatus -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsStatusText AS _BillOfOperationsStatusText ON BillOfOperationsStatus = _BillOfOperationsStatusText.BillOfOperationsStatus AND _BillOfOperationsStatusText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_ResponsiblePlannerGroup AS _ResponsiblePlannerGroup ON ResponsiblePlannerGroup = _ResponsiblePlannerGroup.ResponsiblePlannerGroup AND Plant = _ResponsiblePlannerGroup.Plant -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BillOfOperationsUnit ON BillOfOperationsUnit = _BillOfOperationsUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_InspSubsetFieldCombination AS _InspSubsetFieldCombination ON InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination -- association [0..1]
LEFT OUTER JOIN I_SampleDrawingProcedure AS _SampleDrawingProcedure ON SmplDrawingProcedure = _SampleDrawingProcedure.SmplDrawingProcedure -- association [0..1]
LEFT OUTER JOIN I_SmplDrwgProcedureVersion AS _SmplDrwgProcedureVersion ON SmplDrawingProcedure = _SmplDrwgProcedureVersion.SmplDrawingProcedure AND SmplDrawingProcedureVersion = _SmplDrwgProcedureVersion.SmplDrawingProcedureVersion -- association [0..1]
LEFT OUTER JOIN I_MaintenanceStrategy AS _MaintenanceStrategy ON MaintenanceStrategy = _MaintenanceStrategy.MaintenanceStrategy -- association [0..1]
LEFT OUTER JOIN I_InspectionLotDynamicLevel AS _InspectionLotDynamicLevel ON InspectionLotDynamicLevel = _InspectionLotDynamicLevel.InspectionLotDynamicLevel -- association [0..1]
LEFT OUTER JOIN I_InspLotDynamicRule AS _InspLotDynamicRule ON InspLotDynamicRule = _InspLotDynamicRule.InspLotDynamicRule -- association [0..1]
LEFT OUTER JOIN I_LineHierarchy AS _LineHierarchy ON LineHierarchyInternalID = _LineHierarchy.LineHierarchyInternalID AND _LineHierarchy.WorkCenterTypeCode = 'A' -- association [0..1]
LEFT OUTER JOIN I_ChangeMaster AS _ChangeMaster ON ChangeNumber = _ChangeMaster.ChangeNumber -- association [0..1]
LEFT OUTER JOIN I_InspExtNumberingOfValues AS _InspExtNumbering ON InspExternalNumberingOfValues = _InspExtNumbering.InspExternalNumberingOfValues -- association [0..1]
LEFT OUTER JOIN I_Material AS _Assembly ON Assembly = _Assembly.Material -- association [0..1]
LEFT OUTER JOIN I_Plant AS _MaintenancePlanningPlant ON MaintenancePlanningPlant = _MaintenancePlanningPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_MaintOperationSystCondition AS _OperationSystemCondition ON OperationSystemCondition = _OperationSystemCondition.OperationSystemCondition -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _ConfigurableIndicator ON BillOfOperationIsConfigurable = _ConfigurableIndicator.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_Language AS _LongTextLanguage ON LongTextLanguageCode = _LongTextLanguage.Language -- association [0..1]
LEFT OUTER JOIN I_RoutingSequenceSearchModel AS _RtgSqncSrchMod ON BillOfOperationsType = _RtgSqncSrchMod.BillOfOperationsType AND BillOfOperationsGroup = _RtgSqncSrchMod.BillOfOperationsGroup AND BillOfOperationsVariant = _RtgSqncSrchMod.BillOfOperationsVariant -- association [0..*]
LEFT OUTER JOIN I_RoutingMaterialSearchModel AS _RtgMaterialSrchMod ON BillOfOperationsType = _RtgMaterialSrchMod.BillOfOperationsType AND BillOfOperationsGroup = _RtgMaterialSrchMod.BillOfOperationsGroup AND BillOfOperationsVariant = _RtgMaterialSrchMod.BillOfOperationsVariant AND Plant = _RtgMaterialSrchMod.Plant -- association [0..*]
LEFT OUTER JOIN P_RtgMainHeaderSrchMod AS _RtgMainHeaderSrchMod ON BillOfOperationsType = _RtgMainHeaderSrchMod.BillOfOperationsType AND BillOfOperationsGroup = _RtgMainHeaderSrchMod.BillOfOperationsGroup AND BillOfOperationsVariant = _RtgMainHeaderSrchMod.BillOfOperationsVariant -- 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