I_RoutingPRTMasterDataSrchMod
Production Resource/Tool Master Data
I_RoutingPRTMasterDataSrchMod is a Basic CDS View that provides data about "Production Resource/Tool Master Data" in SAP S/4HANA. It reads from 1 data source (crfh) and exposes 40 fields with key fields ProductionResourceType, ProductionResourceInternalID. It has 19 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crfh | crfh | from |
Associations (19)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionResourceType | _ProductionResourceType | $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType |
| [1..1] | I_ProdnRsceToolGroup | _ProdnRsceToolGroup1 | $projection.ProductionResourceToolGroup1 = _ProdnRsceToolGroup1.ProductionResourceToolGroup |
| [1..1] | I_ProdnRsceToolGroup | _ProdnRsceToolGroup2 | $projection.ProductionResourceToolGroup2 = _ProdnRsceToolGroup2.ProductionResourceToolGroup |
| [1..1] | I_ProductionResourceUsage | _ProductionResourceUsage | $projection.ProductionResourceUsage = _ProductionResourceUsage.ProductionResourceUsage |
| [0..1] | I_ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile |
| [1..1] | I_ProdnRsceToolStandardText | _ProdnRsceToolStandardText | $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode |
| [0..1] | I_ChangeMaster | _ChangeMaster | $projection.ChangeNumber = _ChangeMaster.ChangeNumber |
| [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_MaterialPRTByInternalKey | _MaterialPRTByInternalKey | $projection.ProductionResourceType = _MaterialPRTByInternalKey.ProductionResourceType and $projection.ProductionResourceInternalID = _MaterialPRTByInternalKey.ProductionResourceInternalID |
| [0..1] | I_EquipmentPRTByInternalKey | _EquipmentPRTByInternalKey | $projection.ProductionResourceType = _EquipmentPRTByInternalKey.ProductionResourceType and $projection.ProductionResourceInternalID = _EquipmentPRTByInternalKey.ProductionResourceInternalID |
| [0..1] | I_DocumentPRTByInternalKey | _DocumentPRTByInternalKey | $projection.ProductionResourceType = _DocumentPRTByInternalKey.ProductionResourceType and $projection.ProductionResourceInternalID = _DocumentPRTByInternalKey.ProductionResourceInternalID |
| [0..1] | I_MiscPRTByInternalKey | _MiscPRTByInternalKey | $projection.ProductionResourceType = _MiscPRTByInternalKey.ProductionResourceType and $projection.ProductionResourceInternalID = _MiscPRTByInternalKey.ProductionResourceInternalID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ProductionResourceInternalID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Production Resource/Tool Master Data | view | |
| Analytics.technicalName | IRTGPRTMSTRDATA | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | |||
| KEY | ProductionResourceInternalID | |||
| ProductionResourceToolGroup1 | crfh | fgru1 | ||
| ProductionResourceToolGroup2 | crfh | fgru2 | ||
| ProductionResourceUsage | crfh | planv | ||
| MiscPRTAuthorizationGroup | crfh | brgru | ||
| ProdnRsceToolControlProfile | crfh | steuf | ||
| ChangeNumber | ||||
| ProdnRsceToolStandardTextCode | crfh | ktsch | ||
| ProdnRsceToolTotQtyCalcFormula | crfh | mgform | ||
| ProdnRsceToolUsageQtyCalcFmla | crfh | ewform | ||
| CreationDate | crfh | andat | ||
| CreatedByUser | ||||
| LastChangeDate | crfh | aedat | ||
| LastChangedByUser | crfh | aenam | ||
| StartDateOffsetReferenceCode | ||||
| StartDateOffsetDuration | ||||
| StartDateOffsetDurationUnit | crfh | ehoffb | ||
| EndDateOffsetReferenceCode | ||||
| EndDateOffsetDuration | ||||
| EndDateOffsetDurationUnit | crfh | ehoffe | ||
| _ProductionResourceType | _ProductionResourceType | |||
| _ProdnRsceToolGroup1 | _ProdnRsceToolGroup1 | |||
| _ProdnRsceToolGroup2 | _ProdnRsceToolGroup2 | |||
| _ProductionResourceUsage | _ProductionResourceUsage | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _StartDateOffsetReferenceCode | _StartDateOffsetReferenceCode | |||
| _EndDateOffsetReferenceCode | _EndDateOffsetReferenceCode | |||
| _StartDateOffsetDurationUnit | _StartDateOffsetDurationUnit | |||
| _EndDateOffsetDurationUnit | _EndDateOffsetDurationUnit | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ChangeMaster | _ChangeMaster | |||
| _MaterialPRTByInternalKey | _MaterialPRTByInternalKey | |||
| _EquipmentPRTByInternalKey | _EquipmentPRTByInternalKey | |||
| _DocumentPRTByInternalKey | _DocumentPRTByInternalKey | |||
| _MiscPRTByInternalKey | _MiscPRTByInternalKey |
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'ProductionResourceInternalID'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER}
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Resource/Tool Master Data'
@Analytics.technicalName: 'IRTGPRTMSTRDATA'
define view entity I_RoutingPRTMasterDataSrchMod
as select from crfh
association [1..1] to I_ProductionResourceType as _ProductionResourceType on $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType
// association [1..1] to I_ProdnRsceToolCategory as _ProdnRsceToolCategory on $projection.ProdnRsceToolCategory = _ProdnRsceToolCategory.ProdnRsceToolCategory
association [1..1] to I_ProdnRsceToolGroup as _ProdnRsceToolGroup1 on $projection.ProductionResourceToolGroup1 = _ProdnRsceToolGroup1.ProductionResourceToolGroup
association [1..1] to I_ProdnRsceToolGroup as _ProdnRsceToolGroup2 on $projection.ProductionResourceToolGroup2 = _ProdnRsceToolGroup2.ProductionResourceToolGroup
association [1..1] to I_ProductionResourceUsage as _ProductionResourceUsage on $projection.ProductionResourceUsage = _ProductionResourceUsage.ProductionResourceUsage
association [0..1] to I_ProdnRsceToolControlProfile as _ProdnRsceToolControlProfile on $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile
association [1..1] to I_ProdnRsceToolStandardText as _ProdnRsceToolStandardText on $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode
association [0..1] to I_ChangeMaster as _ChangeMaster on $projection.ChangeNumber = _ChangeMaster.ChangeNumber
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_MaterialPRTByInternalKey as _MaterialPRTByInternalKey on $projection.ProductionResourceType = _MaterialPRTByInternalKey.ProductionResourceType
and $projection.ProductionResourceInternalID = _MaterialPRTByInternalKey.ProductionResourceInternalID
association [0..1] to I_EquipmentPRTByInternalKey as _EquipmentPRTByInternalKey on $projection.ProductionResourceType = _EquipmentPRTByInternalKey.ProductionResourceType
and $projection.ProductionResourceInternalID = _EquipmentPRTByInternalKey.ProductionResourceInternalID
association [0..1] to I_DocumentPRTByInternalKey as _DocumentPRTByInternalKey on $projection.ProductionResourceType = _DocumentPRTByInternalKey.ProductionResourceType
and $projection.ProductionResourceInternalID = _DocumentPRTByInternalKey.ProductionResourceInternalID
association [0..1] to I_MiscPRTByInternalKey as _MiscPRTByInternalKey on $projection.ProductionResourceType = _MiscPRTByInternalKey.ProductionResourceType
and $projection.ProductionResourceInternalID = _MiscPRTByInternalKey.ProductionResourceInternalID
{
@ObjectModel.foreignKey.association: '_ProductionResourceType'
key cast(crfh.objty as productionresourcetype preserving type) as ProductionResourceType,
// Representative Key
key cast(crfh.objid as pph_fhmid preserving type) as ProductionResourceInternalID,
// Assignments
// @ObjectModel.foreignKey.association: '_ProdnRsceToolCategory'
// crfh.fhmar as ProdnRsceToolCategory,
@ObjectModel.foreignKey.association: '_ProdnRsceToolGroup1'
crfh.fgru1 as ProductionResourceToolGroup1,
@ObjectModel.foreignKey.association: '_ProdnRsceToolGroup2'
crfh.fgru2 as ProductionResourceToolGroup2,
@ObjectModel.foreignKey.association: '_ProductionResourceUsage'
crfh.planv as ProductionResourceUsage,
// Technical field, used for Miscellaneous Production Resource Tool only !
crfh.brgru as MiscPRTAuthorizationGroup,
@ObjectModel.foreignKey.association: '_ProdnRsceToolControlProfile'
crfh.steuf as ProdnRsceToolControlProfile,
@ObjectModel.foreignKey.association: '_ChangeMaster'
cast(crfh.aennr as changenumber preserving type) as ChangeNumber,
@ObjectModel.foreignKey.association: '_ProdnRsceToolStandardText'
crfh.ktsch as ProdnRsceToolStandardTextCode,
@ObjectModel.foreignKey.association: '_ProdnRsceToolTotQtyCalcFmla'
crfh.mgform as ProdnRsceToolTotQtyCalcFormula,
@ObjectModel.foreignKey.association: '_ProdnRsceToolUsageQtyCalcFmla'
crfh.ewform as ProdnRsceToolUsageQtyCalcFmla,
// Administrative Data
@Semantics.systemDate.createdAt: true
crfh.andat as CreationDate,
@Semantics.user.createdBy: true
cast(crfh.annam as vdm_createdbyuserid preserving type) as CreatedByUser,
@Semantics.systemDate.lastChangedAt: true
crfh.aedat as LastChangeDate,
@Semantics.user.lastChangedBy: true
crfh.aenam as LastChangedByUser,
// Offset
@ObjectModel.foreignKey.association: '_StartDateOffsetReferenceCode'
cast(crfh.bzoffb as startdateoffsetreferencecode preserving type) as StartDateOffsetReferenceCode,
@Semantics.quantity.unitOfMeasure: 'StartDateOffsetDurationUnit'
@DefaultAggregation: #SUM
cast(crfh.offstb as startdateoffsetduration preserving type) as StartDateOffsetDuration,
// @Semantics.unitOfMeasure: true
crfh.ehoffb as StartDateOffsetDurationUnit,
@ObjectModel.foreignKey.association: '_EndDateOffsetReferenceCode'
cast(crfh.bzoffe as enddateoffsetreferencecode preserving type) as EndDateOffsetReferenceCode,
@Semantics.quantity.unitOfMeasure: 'EndDateOffsetDurationUnit'
@DefaultAggregation: #SUM
cast(crfh.offste as enddateoffsetduration preserving type) as EndDateOffsetDuration,
// @Semantics.unitOfMeasure: true
crfh.ehoffe as EndDateOffsetDurationUnit,
// Associations
_ProductionResourceType,
// _ProdnRsceToolCategory,
_ProdnRsceToolGroup1,
_ProdnRsceToolGroup2,
_ProductionResourceUsage,
_ProdnRsceToolControlProfile,
_ProdnRsceToolStandardText,
_ProdnRsceToolTotQtyCalcFmla,
_ProdnRsceToolUsageQtyCalcFmla,
_StartDateOffsetReferenceCode,
_EndDateOffsetReferenceCode,
_StartDateOffsetDurationUnit,
_EndDateOffsetDurationUnit,
_CreatedByUser,
_LastChangedByUser,
_ChangeMaster,
_MaterialPRTByInternalKey,
_EquipmentPRTByInternalKey,
_DocumentPRTByInternalKey,
_MiscPRTByInternalKey
}
where
crfh.objty = 'FH' // Production Resource Tool
and crfh.zaehl = '00000000'
and crfh.loekz = ' ' // not deleted
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