I_ProdnRsceToolMasterData
Production Resource Tool Master Data
I_ProdnRsceToolMasterData is a Basic CDS View (Dimension) that provides data about "Production Resource Tool Master Data" in SAP S/4HANA. It reads from 1 data source (crfh) and exposes 52 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_ProdnRsceToolCategory | _ProdnRsceToolCategory | $projection.ProdnRsceToolCategory = _ProdnRsceToolCategory.ProdnRsceToolCategory |
| [1..1] | I_ProdnRsceToolCategory | _ProdnRsceToolCategory_2 | $projection.ProdnRsceToolCategory_2 = _ProdnRsceToolCategory_2.ProdnRsceToolCategory |
| [1..1] | I_ProdnRsceToolCategory_2 | _ProdnRsceToolCategory_3 | $projection.ProdnRsceToolCategory_2 = _ProdnRsceToolCategory_3.ProdnRsceToolCategory |
| [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 |
| [0..1] | I_UnitOfMeasure | _ProdnRsceToolBaseUnit | $projection.ProdnRsceToolBaseUnit = _ProdnRsceToolBaseUnit.UnitOfMeasure |
| [1..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPPRTMD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | ProductionResourceInternalID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Production Resource Tool Master Data | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | |||
| KEY | ProductionResourceInternalID | |||
| ProdnRsceToolCategory | crfh | fhmar | ||
| ProdnRsceToolCategory_2 | ||||
| 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 | ||
| ProdnRsceToolBaseUnit | crfh | baseh | ||
| CreationDate | crfh | andat | ||
| CreatedByUser | ||||
| LastChangeDate | crfh | aedat | ||
| LastChangedByUser | crfh | aenam | ||
| StartDateOffsetReferenceCode | ||||
| StartDateOffsetDuration | ||||
| StartDateOffsetDurationUnit | crfh | ehoffb | ||
| EndDateOffsetReferenceCode | ||||
| EndDateOffsetDuration | ||||
| EndDateOffsetDurationUnit | crfh | ehoffe | ||
| EndDateOffsetDurnIsReferenced | ||||
| StartDateOffstDurnIsReferenced | ||||
| EndDteOffstRefCodeIsReferenced | ||||
| StartDateOffsetRefCodeIsRefcd | ||||
| PRTTotQtyCalcFmlaIsReferenced | ||||
| PRTUsgeQtyCalcFmlaIsReferenced | ||||
| PRTControlProfileIsReferenced | ||||
| PRTStdTextCodeIsReferenced | ||||
| ShopFloorRtgPRTIsRegistrable | crfh | registrable | ||
| _ProductionResourceType | _ProductionResourceType | |||
| _ProdnRsceToolCategory | _ProdnRsceToolCategory | |||
| _ProdnRsceToolCategory_2 | _ProdnRsceToolCategory_2 | |||
| _ProdnRsceToolCategory_3 | _ProdnRsceToolCategory_3 | |||
| _ProdnRsceToolGroup1 | _ProdnRsceToolGroup1 | |||
| _ProdnRsceToolGroup2 | _ProdnRsceToolGroup2 | |||
| _ProductionResourceUsage | _ProductionResourceUsage | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _StartDateOffsetReferenceCode | _StartDateOffsetReferenceCode | |||
| _EndDateOffsetReferenceCode | _EndDateOffsetReferenceCode | |||
| _StartDateOffsetDurationUnit | _StartDateOffsetDurationUnit | |||
| _EndDateOffsetDurationUnit | _EndDateOffsetDurationUnit | |||
| _ProdnRsceToolBaseUnit | _ProdnRsceToolBaseUnit | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ChangeMaster | _ChangeMaster |
@AbapCatalog.sqlViewName: 'IPPPRTMD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_CreatedByUser', '_LastChangedByUser']
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
@ObjectModel.representativeKey: 'ProductionResourceInternalID'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER}
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Production Resource Tool Master Data'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK"] } */
define view I_ProdnRsceToolMasterData
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_ProdnRsceToolCategory as _ProdnRsceToolCategory_2 on $projection.ProdnRsceToolCategory_2 = _ProdnRsceToolCategory_2.ProdnRsceToolCategory
association [1..1] to I_ProdnRsceToolCategory_2 as _ProdnRsceToolCategory_3 on $projection.ProdnRsceToolCategory_2 = _ProdnRsceToolCategory_3.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 [0..1] to I_UnitOfMeasure as _ProdnRsceToolBaseUnit on $projection.ProdnRsceToolBaseUnit = _ProdnRsceToolBaseUnit.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
{
@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
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'ProdnRsceToolCategory_2'
@ObjectModel.foreignKey.association: '_ProdnRsceToolCategory'
crfh.fhmar as ProdnRsceToolCategory,
@ObjectModel.foreignKey.association: '_ProdnRsceToolCategory_3'
cast(crfh.fhmar as mpe_fhmar preserving type) as ProdnRsceToolCategory_2,
@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,
@Semantics.unitOfMeasure: true
crfh.baseh as ProdnRsceToolBaseUnit,
// 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,
// Reference Indicators
cast(crfh.offste_ref as vdm_oekzr preserving type) as EndDateOffsetDurnIsReferenced,
cast(crfh.offstb_ref as vdm_obkzr preserving type) as StartDateOffstDurnIsReferenced,
cast(crfh.bzoffe_ref as vdm_bekzr preserving type) as EndDteOffstRefCodeIsReferenced,
cast(crfh.bzoffb_ref as vdm_bbkzr preserving type) as StartDateOffsetRefCodeIsRefcd,
cast(crfh.mgform_ref as vdm_mfkzr preserving type) as PRTTotQtyCalcFmlaIsReferenced,
cast(crfh.ewform_ref as vdm_efkzr preserving type) as PRTUsgeQtyCalcFmlaIsReferenced,
cast(crfh.steuf_ref as vdm_stkzr preserving type) as PRTControlProfileIsReferenced,
cast(crfh.ktsch_ref as vdm_ktkzr preserving type) as PRTStdTextCodeIsReferenced,
//PRT can be Registered at Production Execution
crfh.registrable as ShopFloorRtgPRTIsRegistrable,
// Associations
_ProductionResourceType,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_ProdnRsceToolCategory_3'
_ProdnRsceToolCategory,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_ProdnRsceToolCategory_3'
_ProdnRsceToolCategory_2,
_ProdnRsceToolCategory_3, //assoc. to new view w/o conversion exit
_ProdnRsceToolGroup1,
_ProdnRsceToolGroup2,
_ProductionResourceUsage,
_ProdnRsceToolControlProfile,
_ProdnRsceToolStandardText,
_ProdnRsceToolTotQtyCalcFmla,
_ProdnRsceToolUsageQtyCalcFmla,
_StartDateOffsetReferenceCode,
_EndDateOffsetReferenceCode,
_StartDateOffsetDurationUnit,
_EndDateOffsetDurationUnit,
_ProdnRsceToolBaseUnit,
_CreatedByUser,
_LastChangedByUser,
_ChangeMaster
}
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