R_ModelProductSpecification
Model Product Specification
R_ModelProductSpecification is a Basic CDS View that provides data about "Model Product Specification" in SAP S/4HANA. It reads from 2 data sources (P_ItemHierarchyBFStatus, mmpur_mps_header) and exposes 19 fields with key field ModelProductSpecificationUUID. It has 7 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ItemHierarchyBFStatus | ItemHierarchyBFStatus | inner |
| mmpur_mps_header | mmpur_mps_header | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | R_ModProdSpecItem | _ModProdSpecItem | $projection.ModelProductSpecificationUUID = _ModProdSpecItem.ModelProductSpecificationUUID |
| [0..1] | I_ModProdSpecGroupingCode | _ModProdSpecGroupingCode | $projection.ModProdSpecGroupingCode = _ModProdSpecGroupingCode.ModProdSpecGroupingCode |
| [0..*] | I_ModProdSpecGroupingCodeText | _ModProdSpecGroupingCodeText | $projection.ModProdSpecGroupingCode = _ModProdSpecGroupingCodeText.ModProdSpecGroupingCode |
| [0..*] | I_ModProdSpecActvtnStatusText | _ModProdSpecStatusText | $projection.ModProdSpecActvtnStatusCode = _ModProdSpecStatusText.ModProdSpecActvtnStatusCode |
| [0..*] | I_LanguageText | _ModProdSpecLanguageText | $projection.Language = _ModProdSpecLanguageText.LanguageCode |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _ChangedByUser | $projection.LastChangedByUser = _ChangedByUser.UserID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | RMODPRODSPEC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Model Product Specification | view | |
| ObjectModel.representativeKey | ModelProductSpecificationUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ModelProductSpecificationUUID | mmpur_mps_header | modelproductspecificationuuid | UUID |
| ModelProductSpecification | mmpur_mps_header | modelproductspecification | ID | |
| ModelProductSpecificationName | mmpur_mps_header | modelproductspecificationname | Name | |
| ModProdSpecGroupingCode | mmpur_mps_header | modprodspecgroupingcode | Grouping Code | |
| ModProdSpecSearchTermText | mmpur_mps_header | modprodspecsearchtermtext | Search Term | |
| ModProdSpecActvtnStatusCode | mmpur_mps_header | modprodspecactvtnstatuscode | Activation Status | |
| IsDeleted | mmpur_mps_header | isdeleted | TRUE | |
| Language | mmpur_mps_header | language | Report Text Language | |
| CreationDateTime | mmpur_mps_header | creationdatetime | Timestamp | |
| CreatedByUser | mmpur_mps_header | createdbyuser | User Name | |
| LastChangeDateTime | mmpur_mps_header | lastchangedatetime | Timestamp | |
| LastChangedByUser | mmpur_mps_header | lastchangedbyuser | User Name | |
| _ModProdSpecItem | _ModProdSpecItem | |||
| _ModProdSpecGroupingCode | _ModProdSpecGroupingCode | |||
| _ModProdSpecGroupingCodeText | _ModProdSpecGroupingCodeText | |||
| _ModProdSpecStatusText | _ModProdSpecStatusText | |||
| _ModProdSpecLanguageText | _ModProdSpecLanguageText | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser |
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 R_ModelProductSpecification.
-- 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.
-- SQL view name: RMODPRODSPEC
CREATE VIEW R_ModelProductSpecification AS
SELECT
mmpur_mps_header.modelproductspecificationuuid AS ModelProductSpecificationUUID,
mmpur_mps_header.modelproductspecification AS ModelProductSpecification,
mmpur_mps_header.modelproductspecificationname AS ModelProductSpecificationName,
mmpur_mps_header.modprodspecgroupingcode AS ModProdSpecGroupingCode,
mmpur_mps_header.modprodspecsearchtermtext AS ModProdSpecSearchTermText,
mmpur_mps_header.modprodspecactvtnstatuscode AS ModProdSpecActvtnStatusCode,
mmpur_mps_header.isdeleted AS IsDeleted,
mmpur_mps_header.language AS Language,
mmpur_mps_header.creationdatetime AS CreationDateTime,
mmpur_mps_header.createdbyuser AS CreatedByUser,
mmpur_mps_header.lastchangedatetime AS LastChangeDateTime,
mmpur_mps_header.lastchangedbyuser AS LastChangedByUser
FROM mmpur_mps_header
INNER JOIN P_ItemHierarchyBFStatus AS ItemHierarchyBFStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ModProdSpecItem AS _ModProdSpecItem ON ModelProductSpecificationUUID = _ModProdSpecItem.ModelProductSpecificationUUID -- association [1..*]
LEFT OUTER JOIN I_ModProdSpecGroupingCode AS _ModProdSpecGroupingCode ON ModProdSpecGroupingCode = _ModProdSpecGroupingCode.ModProdSpecGroupingCode -- association [0..1]
LEFT OUTER JOIN I_ModProdSpecGroupingCodeText AS _ModProdSpecGroupingCodeText ON ModProdSpecGroupingCode = _ModProdSpecGroupingCodeText.ModProdSpecGroupingCode -- association [0..*]
LEFT OUTER JOIN I_ModProdSpecActvtnStatusText AS _ModProdSpecStatusText ON ModProdSpecActvtnStatusCode = _ModProdSpecStatusText.ModProdSpecActvtnStatusCode -- association [0..*]
LEFT OUTER JOIN I_LanguageText AS _ModProdSpecLanguageText ON Language = _ModProdSpecLanguageText.LanguageCode -- association [0..*]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.UserID -- 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