I_RoutingPRTSearchModel
BOO Operation Production Resource/Tool
I_RoutingPRTSearchModel is a Basic CDS View that provides data about "BOO Operation Production Resource/Tool" in SAP S/4HANA. It reads from 1 data source (plfh) and exposes 58 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsSequence, BOOOperationInternalID. It has 23 associations to related views. Part of development package PPH_ROUTING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| plfh | plfh | from |
Associations (23)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup |
| [1..1] | I_BillOfOperations | _BillOfOperations | $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant |
| [1..1] | I_BOOOperationInternalID | _BOOOperationInternalID | $projection.BillOfOperationsType = _BOOOperationInternalID.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOOperationInternalID.BillOfOperationsGroup and $projection.BOOOperationInternalID = _BOOOperationInternalID.BOOOperationInternalID |
| [1..1] | I_BillOfOperationsSequence | _BillOfOperationsSequence | $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BillOfOperationsSequence.BillOfOperationsSequence |
| [1..1] | I_BillOfOperationsOperation | _BillOfOperationsOperation | $projection.BillOfOperationsType = _BillOfOperationsOperation.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsOperation.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsOperation.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BillOfOperationsOperation.BillOfOperationsSequence and $projection.BOOOperationInternalID = _BillOfOperationsOperation.BOOOperationInternalID |
| [1..1] | I_BOOOperationPRTInternalID | _BOOOperationPRTInternalID | $projection.BillOfOperationsType = _BOOOperationPRTInternalID.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOOperationPRTInternalID.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOOperationPRTInternalID.BillOfOperationsVariant and $projection.BillOfOperationsSequence = _BOOOperationPRTInternalID.BillOfOperationsSequence and $projection.BOOOperationInternalID = _BOOOperationPRTInternalID.BOOOperationInternalID and $projection.BOOOperationPRTInternalID = _BOOOperationPRTInternalID.BOOOperationPRTInternalID |
| [1..1] | I_UnitOfMeasure | _ProductionResourceToolUnit | $projection.ProdnRsceToolStdWorkQtyUnit = _ProductionResourceToolUnit.UnitOfMeasure |
| [1..1] | I_UnitOfMeasure | _ProdnResourceToolUsageUnit | $projection.ProdnRsceToolUsageQuantityUnit = _ProdnResourceToolUsageUnit.UnitOfMeasure |
| [1..1] | I_ProductionResourceType | _ProductionResourceType | $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType |
| [1..1] | I_ProdnRsceToolMasterData | _ProdnRsceToolMasterData | $projection.ProductionResourceType = _ProdnRsceToolMasterData.ProductionResourceType and $projection.ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID |
| [1..1] | I_ProdnRsceToolStandardText | _ProdnRsceToolStandardText | $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode |
| [0..1] | I_ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile |
| [1..1] | I_ProdnRsceToolQtyCalcFormula | _ProdnRsceToolTotQtyCalcFmla | $projection.ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula |
| [1..1] | I_ProdnRsceToolQtyCalcFormula | _ProdnRsceToolUsageQtyCalcFmla | $projection.ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula |
| [1..1] | I_OperationDateOffsetRefCode | _StartDateOffsetReferenceCode | $projection.StartDateOffsetReferenceCode = _StartDateOffsetReferenceCode.OperationDateOffsetRefCode |
| [1..1] | I_OperationDateOffsetRefCode | _EndDateOffsetReferenceCode | $projection.EndDateOffsetReferenceCode = _EndDateOffsetReferenceCode.OperationDateOffsetRefCode |
| [0..1] | I_UnitOfMeasure | _StartDateOffsetDurationUnit | $projection.StartDateOffsetDurationUnit = _StartDateOffsetDurationUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EndDateOffsetDurationUnit | $projection.EndDateOffsetDurationUnit = _EndDateOffsetDurationUnit.UnitOfMeasure |
| [1..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | I_ChangeMaster | _ChangeMaster | $projection.ChangeNumber = _ChangeMaster.ChangeNumber |
| [1..1] | I_RoutingPRTMasterDataSrchMod | _RoutingPrtMasterData | $projection.ProductionResourceType = _RoutingPrtMasterData.ProductionResourceType and $projection.ProductionResourceInternalID = _RoutingPrtMasterData.ProductionResourceInternalID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | BOOOperationPRTIntVersCounter | view | |
| Analytics.technicalName | IRTGPRTSRCHMOD | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| EndUserText.label | BOO Operation Production Resource/Tool | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | plfh | plnty | |
| KEY | BillOfOperationsGroup | plfh | plnnr | |
| KEY | BillOfOperationsVariant | plfh | plnal | |
| KEY | BillOfOperationsSequence | plfh | plnfl | |
| KEY | BOOOperationInternalID | plfh | plnkn | |
| KEY | BOOOperationPRTInternalID | plfh | pzlfh | |
| KEY | BOOOperationPRTIntVersCounter | plfh | zaehl | |
| ProductionResourceType | plfh | objty | ||
| ProductionResourceInternalID | plfh | objid | ||
| ValidityStartDate | plfh | datuv | ||
| ValidityEndDate | plfh | valid_to | ||
| ChangeNumber | plfh | aennr | ||
| ProdnRsceToolItemNumber | plfh | psnfh | ||
| ProdnRsceToolControlProfile | plfh | steuf | ||
| ProdnRsceToolStandardTextCode | plfh | ktsch | ||
| ProdnRsceToolText | plfh | txtz1 | ||
| CreationDate | datui | |||
| CreatedByUser | ||||
| LastChangeDate | datuc | |||
| LastChangedByUser | ||||
| IsDeleted | plfh | loekz | ||
| IsImplicitlyDeleted | plfh | loekz_inherited | ||
| ProdnRsceToolStdWorkQtyUnit | plfh | mgeinh | ||
| ProdnRsceToolStandardWorkQty | plfh | mgvgw | ||
| ProdnRsceToolTotQtyCalcFormula | plfh | mgform | ||
| ProdnRsceToolUsageQuantityUnit | plfh | eweinh | ||
| ProdnRsceToolUsageQuantity | plfh | ewvgw | ||
| ProdnRsceToolUsageQtyCalcFmla | plfh | ewform | ||
| StartDateOffsetReferenceCode | plfh | bzoffb | ||
| StartDateOffsetDurationUnit | plfh | ehoffb | ||
| StartDateOffsetDuration | plfh | offstb | ||
| EndDateOffsetReferenceCode | plfh | bzoffe | ||
| EndDateOffsetDurationUnit | plfh | ehoffe | ||
| EndDateOffsetDuration | plfh | offste | ||
| BillOfOperationsVersion | plfh | versn | ||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperations | _BillOfOperations | |||
| _BOOOperationInternalID | _BOOOperationInternalID | |||
| _BillOfOperationsOperation | _BillOfOperationsOperation | |||
| _BillOfOperationsSequence | _BillOfOperationsSequence | |||
| _BOOOperationPRTInternalID | _BOOOperationPRTInternalID | |||
| _ProductionResourceType | _ProductionResourceType | |||
| _ProdnRsceToolMasterData | _ProdnRsceToolMasterData | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProductionResourceToolUnit | _ProductionResourceToolUnit | |||
| _ProdnResourceToolUsageUnit | _ProdnResourceToolUsageUnit | |||
| _StartDateOffsetReferenceCode | _StartDateOffsetReferenceCode | |||
| _StartDateOffsetDurationUnit | _StartDateOffsetDurationUnit | |||
| _EndDateOffsetReferenceCode | _EndDateOffsetReferenceCode | |||
| _EndDateOffsetDurationUnit | _EndDateOffsetDurationUnit | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ChangeMaster | _ChangeMaster | |||
| _RoutingPrtMasterData | _RoutingPrtMasterData |
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
//@Analytics: {dataCategory: #DIMENSION}
@ObjectModel.representativeKey: 'BOOOperationPRTIntVersCounter'
@Analytics.technicalName: 'IRTGPRTSRCHMOD'
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #MASTER }
@Search.searchable: true
@EndUserText.label: 'BOO Operation Production Resource/Tool'
//@Metadata.allowExtensions:true
define view entity I_RoutingPRTSearchModel
as select from plfh
association [1..1] to I_BillOfOperationsType as _BillOfOperationsType on $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
association [1..1] to I_BillOfOperationsGroup as _BillOfOperationsGroup on $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
association [1..1] to I_BillOfOperations as _BillOfOperations on $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
association [1..1] to I_BOOOperationInternalID as _BOOOperationInternalID on $projection.BillOfOperationsType = _BOOOperationInternalID.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BOOOperationInternalID.BillOfOperationsGroup
and $projection.BOOOperationInternalID = _BOOOperationInternalID.BOOOperationInternalID
association [1..1] to I_BillOfOperationsSequence as _BillOfOperationsSequence on $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant
and $projection.BillOfOperationsSequence = _BillOfOperationsSequence.BillOfOperationsSequence
association [1..1] to I_BillOfOperationsOperation as _BillOfOperationsOperation on $projection.BillOfOperationsType = _BillOfOperationsOperation.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperationsOperation.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperationsOperation.BillOfOperationsVariant
and $projection.BillOfOperationsSequence = _BillOfOperationsOperation.BillOfOperationsSequence
and $projection.BOOOperationInternalID = _BillOfOperationsOperation.BOOOperationInternalID
association [1..1] to I_BOOOperationPRTInternalID as _BOOOperationPRTInternalID on $projection.BillOfOperationsType = _BOOOperationPRTInternalID.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BOOOperationPRTInternalID.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BOOOperationPRTInternalID.BillOfOperationsVariant
and $projection.BillOfOperationsSequence = _BOOOperationPRTInternalID.BillOfOperationsSequence
and $projection.BOOOperationInternalID = _BOOOperationPRTInternalID.BOOOperationInternalID
and $projection.BOOOperationPRTInternalID = _BOOOperationPRTInternalID.BOOOperationPRTInternalID
association [1..1] to I_UnitOfMeasure as _ProductionResourceToolUnit on $projection.ProdnRsceToolStdWorkQtyUnit = _ProductionResourceToolUnit.UnitOfMeasure
association [1..1] to I_UnitOfMeasure as _ProdnResourceToolUsageUnit on $projection.ProdnRsceToolUsageQuantityUnit = _ProdnResourceToolUsageUnit.UnitOfMeasure
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
association [1..1] to I_ProductionResourceType as _ProductionResourceType on $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
association [1..1] to I_ProdnRsceToolMasterData as _ProdnRsceToolMasterData on $projection.ProductionResourceType = _ProdnRsceToolMasterData.ProductionResourceType
and $projection.ProductionResourceInternalID = _ProdnRsceToolMasterData.ProductionResourceInternalID
association [1..1] to I_ProdnRsceToolStandardText as _ProdnRsceToolStandardText on $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode
association [0..1] to I_ProdnRsceToolControlProfile as _ProdnRsceToolControlProfile on $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile
association [1..1] to I_ProdnRsceToolQtyCalcFormula as _ProdnRsceToolTotQtyCalcFmla on $projection.ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula
association [1..1] to I_ProdnRsceToolQtyCalcFormula as _ProdnRsceToolUsageQtyCalcFmla on $projection.ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula
association [1..1] to I_OperationDateOffsetRefCode as _StartDateOffsetReferenceCode on $projection.StartDateOffsetReferenceCode = _StartDateOffsetReferenceCode.OperationDateOffsetRefCode
association [1..1] to I_OperationDateOffsetRefCode as _EndDateOffsetReferenceCode on $projection.EndDateOffsetReferenceCode = _EndDateOffsetReferenceCode.OperationDateOffsetRefCode
association [0..1] to I_UnitOfMeasure as _StartDateOffsetDurationUnit on $projection.StartDateOffsetDurationUnit = _StartDateOffsetDurationUnit.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _EndDateOffsetDurationUnit on $projection.EndDateOffsetDurationUnit = _EndDateOffsetDurationUnit.UnitOfMeasure
association [1..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
association [0..1] to I_ChangeMaster as _ChangeMaster on $projection.ChangeNumber = _ChangeMaster.ChangeNumber
association [1..1] to I_RoutingPRTMasterDataSrchMod as _RoutingPrtMasterData on $projection.ProductionResourceType = _RoutingPrtMasterData.ProductionResourceType
and $projection.ProductionResourceInternalID = _RoutingPrtMasterData.ProductionResourceInternalID
{
@ObjectModel.foreignKey.association: '_BillOfOperationsType'
key plfh.plnty as BillOfOperationsType,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
key plfh.plnnr as BillOfOperationsGroup,
@ObjectModel.foreignKey.association: '_BillOfOperations'
key plfh.plnal as BillOfOperationsVariant,
@ObjectModel.foreignKey.association: '_BillOfOperationsSequence'
key plfh.plnfl as BillOfOperationsSequence,
@ObjectModel.foreignKey.association: '_BOOOperationInternalID'
key plfh.plnkn as BOOOperationInternalID,
@ObjectModel.foreignKey.association: '_BOOOperationPRTInternalID'
key plfh.pzlfh as BOOOperationPRTInternalID,
key plfh.zaehl as BOOOperationPRTIntVersCounter,
@ObjectModel.foreignKey.association: '_ProductionResourceType'
plfh.objty as ProductionResourceType,
@ObjectModel.foreignKey.association: '_ProdnRsceToolMasterData'
plfh.objid as ProductionResourceInternalID,
@Semantics.businessDate.from: true
plfh.datuv as ValidityStartDate,
@Semantics.businessDate.to: true
plfh.valid_to as ValidityEndDate,
@ObjectModel.foreignKey.association: '_ChangeMaster'
plfh.aennr as ChangeNumber,
plfh.psnfh as ProdnRsceToolItemNumber,
@ObjectModel.foreignKey.association: '_ProdnRsceToolControlProfile'
plfh.steuf as ProdnRsceToolControlProfile,
@ObjectModel.foreignKey.association: '_ProdnRsceToolStandardText'
plfh.ktsch as ProdnRsceToolStandardTextCode,
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
@Semantics.text: true
plfh.txtz1 as ProdnRsceToolText,
// Admin
@Semantics.systemDate.createdAt: true
datui as CreationDate,
// @ObjectModel.foreignKey.association: '_CreatedByUser'
@Semantics.user.createdBy: true
cast(plfh.useri as vdm_createdbyuserid preserving type) as CreatedByUser,
@Semantics.systemDate.lastChangedAt: true
datuc as LastChangeDate,
// @ObjectModel.foreignKey.association: '_LastChangedByUser'
@Semantics.user.lastChangedBy: true
cast(plfh.userc as vdm_lastchangedbyuserid preserving type) as LastChangedByUser,
plfh.loekz as IsDeleted,
plfh.loekz_inherited as IsImplicitlyDeleted,
@ObjectModel.foreignKey.association: '_ProductionResourceToolUnit'
plfh.mgeinh as ProdnRsceToolStdWorkQtyUnit,
@Semantics.quantity.unitOfMeasure: 'ProdnRsceToolStdWorkQtyUnit'
plfh.mgvgw as ProdnRsceToolStandardWorkQty,
@ObjectModel.foreignKey.association: '_ProdnRsceToolTotQtyCalcFmla'
plfh.mgform as ProdnRsceToolTotQtyCalcFormula,
@ObjectModel.foreignKey.association: '_ProdnResourceToolUsageUnit'
plfh.eweinh as ProdnRsceToolUsageQuantityUnit,
@Semantics.quantity.unitOfMeasure: 'ProdnRsceToolUsageQuantityUnit'
plfh.ewvgw as ProdnRsceToolUsageQuantity,
@ObjectModel.foreignKey.association: '_ProdnRsceToolUsageQtyCalcFmla'
plfh.ewform as ProdnRsceToolUsageQtyCalcFmla,
@ObjectModel.foreignKey.association: '_StartDateOffsetReferenceCode'
plfh.bzoffb as StartDateOffsetReferenceCode,
@ObjectModel.foreignKey.association: '_StartDateOffsetDurationUnit'
plfh.ehoffb as StartDateOffsetDurationUnit,
@Semantics.quantity.unitOfMeasure: 'StartDateOffsetDurationUnit'
@DefaultAggregation: #SUM
plfh.offstb as StartDateOffsetDuration,
@ObjectModel.foreignKey.association: '_EndDateOffsetReferenceCode'
plfh.bzoffe as EndDateOffsetReferenceCode,
@ObjectModel.foreignKey.association: '_EndDateOffsetDurationUnit'
plfh.ehoffe as EndDateOffsetDurationUnit,
@Semantics.quantity.unitOfMeasure: 'EndDateOffsetDurationUnit'
@DefaultAggregation: #SUM
plfh.offste as EndDateOffsetDuration,
plfh.versn as BillOfOperationsVersion,
_BillOfOperationsType,
_BillOfOperationsGroup,
_BillOfOperations,
_BOOOperationInternalID,
_BillOfOperationsOperation,
_BillOfOperationsSequence,
_BOOOperationPRTInternalID,
_ProductionResourceType,
_ProdnRsceToolMasterData,
_ProdnRsceToolControlProfile,
_ProdnRsceToolTotQtyCalcFmla,
_ProdnRsceToolUsageQtyCalcFmla,
_ProdnRsceToolStandardText,
_ProductionResourceToolUnit,
_ProdnResourceToolUsageUnit,
_StartDateOffsetReferenceCode,
_StartDateOffsetDurationUnit,
_EndDateOffsetReferenceCode,
_EndDateOffsetDurationUnit,
_CreatedByUser,
_LastChangedByUser,
_ChangeMaster,
_RoutingPrtMasterData
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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