I_MiscProdnRsceToolWorkList
Misc Production Resource Tool
I_MiscProdnRsceToolWorkList is a Basic CDS View that provides data about "Misc Production Resource Tool" in SAP S/4HANA. It reads from 2 data sources (crvs_a, crfh) and exposes 29 fields with key fields ProductionResourceType, ProductionResourceInternalID. It has 12 associations to related views. Part of development package VDM_PP_MD_PRT.
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MiscProdnRsceToolText | _Text | $projection.ProductionResourceType = _Text.ProductionResourceType and $projection.ProductionResourceInternalID = _Text.ProductionResourceInternalID |
| [1..1] | I_ProductionResourceType | _ProductionResourceType | $projection.ProductionResourceType = _ProductionResourceType.ProductionResourceType |
| [1..1] | I_ProdnRsceToolCategory_2 | _ProdnRsceToolCategory_3 | $projection.ProdnRsceToolCategory = _ProdnRsceToolCategory_3.ProdnRsceToolCategory |
| [1..1] | I_ProductionResourceUsage | _ProductionResourceUsage | $projection.ProductionResourceUsage = _ProductionResourceUsage.ProductionResourceUsage |
| [1..1] | I_ProdnRsceToolGroup | _ProdnRsceToolGroup1 | $projection.ProductionResourceToolGroup1 = _ProdnRsceToolGroup1.ProductionResourceToolGroup |
| [1..1] | I_ProdnRsceToolGroup | _ProdnRsceToolGroup2 | $projection.ProductionResourceToolGroup2 = _ProdnRsceToolGroup2.ProductionResourceToolGroup |
| [0..1] | I_ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | $projection.ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile |
| [1..1] | I_ProdnRsceToolStandardText | _ProdnRsceToolStandardText | $projection.ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode |
| [1..1] | I_ProdnRsceToolQtyCalcFormula | _ProdnRsceToolTotQtyCalcFmla | $projection.ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula |
| [1..1] | I_ProdnRsceToolQtyCalcFormula | _ProdnRsceToolUsageQtyCalcFmla | $projection.ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula |
| [0..1] | I_ProdnRsceToolGroupText | _GroupKey1Text | $projection.ProductionResourceToolGroup1 = _GroupKey1Text.ProductionResourceToolGroup and _GroupKey1Text.Language = $session.system_language |
| [0..1] | I_ProdnRsceToolGroupText | _GroupKey2Text | $projection.ProductionResourceToolGroup2 = _GroupKey2Text.ProductionResourceToolGroup and _GroupKey2Text.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Misc Production Resource Tool | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ProductionResourceInternalID | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | |||
| KEY | ProductionResourceInternalID | |||
| ProdnRsceToolCategory | ||||
| MiscProductionResourceTool | ||||
| ProdnRsceToolPlntLoc | crfh | stowk | Plant | |
| ProductionResourceToolStatus | crfh | status | Workflow Status | |
| ProductionResourceUsage | crfh | planv | Usage | |
| ProdnRsceToolBaseUnit | crfh | baseh | Base Unit | |
| ProdnRsceToolIsDeleted | crfh | loekz | Status | |
| ProductionResourceToolGroup1 | crfh | fgru1 | Grouping Key 1 | |
| ProductionResourceToolGroup2 | crfh | fgru2 | Grouping Key 2 | |
| ProductionResourceToolLocation | crfh | stort | Location | |
| ProdnRsceToolControlProfile | crfh | steuf | PRT Control Profile | |
| ProdnRsceToolStandardTextCode | crfh | ktsch | Std Text Key | |
| ProdnRsceToolTotQtyCalcFormula | crfh | mgform | Formula | |
| ProdnRsceToolUsageQtyCalcFmla | crfh | ewform | Formula | |
| MiscPRTAuthorizationGroup | crfh | brgru | Authorization | |
| _ProductionResourceType | _ProductionResourceType | |||
| _ProdnRsceToolCategory_3 | _ProdnRsceToolCategory_3 | |||
| _Text | _Text | |||
| _ProductionResourceUsage | _ProductionResourceUsage | |||
| _ProdnRsceToolGroup1 | _ProdnRsceToolGroup1 | |||
| _ProdnRsceToolGroup2 | _ProdnRsceToolGroup2 | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _GroupKey1Text | _GroupKey1Text | |||
| _GroupKey2Text | _GroupKey2Text |
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_MiscProdnRsceToolWorkList.
-- 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_MiscProdnRsceToolWorkList AS
SELECT
cast(PRT.objty as productionresourcetype preserving type) AS ProductionResourceType,
cast(PRT.objid as pph_fhmid preserving type) AS ProductionResourceInternalID,
cast(PRT.fhmar as mpe_fhmar preserving type) AS ProdnRsceToolCategory,
cast(crvs_a.sfhnr as pph_sfhnr preserving type) AS MiscProductionResourceTool,
PRT.stowk AS ProdnRsceToolPlntLoc,
PRT.status AS ProductionResourceToolStatus,
PRT.planv AS ProductionResourceUsage,
PRT.baseh AS ProdnRsceToolBaseUnit,
PRT.loekz AS ProdnRsceToolIsDeleted,
PRT.fgru1 AS ProductionResourceToolGroup1,
PRT.fgru2 AS ProductionResourceToolGroup2,
PRT.stort AS ProductionResourceToolLocation,
PRT.steuf AS ProdnRsceToolControlProfile,
PRT.ktsch AS ProdnRsceToolStandardTextCode,
PRT.mgform AS ProdnRsceToolTotQtyCalcFormula,
PRT.ewform AS ProdnRsceToolUsageQtyCalcFmla,
PRT.brgru AS MiscPRTAuthorizationGroup
FROM crfh AS PRT
INNER JOIN crvs_a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MiscProdnRsceToolText AS _Text ON ProductionResourceType = _Text.ProductionResourceType AND ProductionResourceInternalID = _Text.ProductionResourceInternalID -- association [0..*]
LEFT OUTER JOIN I_ProductionResourceType AS _ProductionResourceType ON ProductionResourceType = _ProductionResourceType.ProductionResourceType -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolCategory_2 AS _ProdnRsceToolCategory_3 ON ProdnRsceToolCategory = _ProdnRsceToolCategory_3.ProdnRsceToolCategory -- association [1..1]
LEFT OUTER JOIN I_ProductionResourceUsage AS _ProductionResourceUsage ON ProductionResourceUsage = _ProductionResourceUsage.ProductionResourceUsage -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolGroup AS _ProdnRsceToolGroup1 ON ProductionResourceToolGroup1 = _ProdnRsceToolGroup1.ProductionResourceToolGroup -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolGroup AS _ProdnRsceToolGroup2 ON ProductionResourceToolGroup2 = _ProdnRsceToolGroup2.ProductionResourceToolGroup -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolControlProfile AS _ProdnRsceToolControlProfile ON ProdnRsceToolControlProfile = _ProdnRsceToolControlProfile.ProdnRsceToolControlProfile -- association [0..1]
LEFT OUTER JOIN I_ProdnRsceToolStandardText AS _ProdnRsceToolStandardText ON ProdnRsceToolStandardTextCode = _ProdnRsceToolStandardText.ProdnRsceToolStandardTextCode -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolQtyCalcFormula AS _ProdnRsceToolTotQtyCalcFmla ON ProdnRsceToolTotQtyCalcFormula = _ProdnRsceToolTotQtyCalcFmla.ProdnRsceToolQtyCalcFormula -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolQtyCalcFormula AS _ProdnRsceToolUsageQtyCalcFmla ON ProdnRsceToolUsageQtyCalcFmla = _ProdnRsceToolUsageQtyCalcFmla.ProdnRsceToolQtyCalcFormula -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolGroupText AS _GroupKey1Text ON ProductionResourceToolGroup1 = _GroupKey1Text.ProductionResourceToolGroup AND _GroupKey1Text.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ProdnRsceToolGroupText AS _GroupKey2Text ON ProductionResourceToolGroup2 = _GroupKey2Text.ProductionResourceToolGroup AND _GroupKey2Text.Language = $session.system_language -- 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