I_ProductMasterStatus
Product Master Status
I_ProductMasterStatus (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Product · Database & Data Management
I_ProductMasterStatus is a Basic CDS View that provides data about "Product Master Status" in SAP S/4HANA. It reads from 1 data source (msta) and exposes 16 fields with key fields Product, ProductMasterMaintenanceStatus, ProdMasterStatusSequenceNumber. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Product Master |
|---|---|
| Status | Counter |
This CDS view enables you to retrieve information about your product such as the creation date, created by user, last change date, last change by user, and more. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: The following business catalogs need to be assigned to a user to be able to use this CDS view: SAP_CMD_BC_PRODUCT_DSP_PC (Master Data - Product Display) SAP_CMD_BC_PR_MAINT_PC (Master Data - Product Master) These restriction types are edited in the Maintain Business Roles app. Users who want to use this CDS view must have the following authorization objects assigned: M_MATE_MAN (Material Master: Data at Client Level) M_MATE_MAT (Material Master: Materials) M_MATE_MAR (Material Master: Material Types) M_MATE_WGR (Material Master: Material Groups) M_MATE_WRK (Material Master: Plants) M_MATE_LGN (Material Master: Warehouse Numbers) M_MATE_VKO (Material Master: Sales Organization/Distribution Channel) M_MATE_STA (Material Master: Maintenance Statuses)
Structure
Important Fields Important fields in this view include the following: Field Name Description Product Material number ProductMasterMaintenanceStatus Maintenance status of material master record ProdMasterStatusSequenceNumber Counter CreationDate Created on CreatedByUser Name of person responsible for creating the object LastChangeDate Date of last change LastChangedByuser Name of the person who changed object Plant Plant StorageLocation Storage location Warehouse Warehouse number/ Warehouse complex StorageType Storage type ProductSalesOrganization Sales organization ProductDistributionChannel Distribution channel ValuationArea Valuation area ValuationType Valuation type
Data Extraction
Data Extraction Type Full Delta (Change Data Capture)
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Database & Data Management |
| Application Component | LO-MD-MM |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction |
| Package | Database & Data Management for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| msta | msta | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Product Master Status | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.sapObjectNodeType.name | Product | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | matnr | Material Number | |
| KEY | ProductMasterMaintenanceStatus | statm | Maintenance Status of Material Master Record | |
| KEY | ProdMasterStatusSequenceNumber | zhler | Counter | |
| CreationDate | ersda | Entry Date | ||
| CreatedByUser | ernam | Name of Person Responsible for Creating the Object | ||
| LastChangeDate | laeda | Date of Last Change | ||
| LastChangedByUser | aenam | Name of Person Who Changed Object | ||
| Plant | werks | Receiving Plant | ||
| StorageLocation | lgort | Storage Location | ||
| Warehouse | lgnum | Warehouse Number / Warehouse Complex | ||
| StorageType | lgtyp | Storage Type | ||
| ProductSalesOrganization | vkorg | Sales Organization | ||
| ProductDistributionChannel | vtweg | Distribution Channel | ||
| ValuationArea | bwkey | Valuation Area | ||
| ValuationType | bwtar | Valuation Type | ||
| _Product | _Product |
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_ProductMasterStatus.
-- 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_ProductMasterStatus AS
SELECT
matnr AS Product,
statm AS ProductMasterMaintenanceStatus,
zhler AS ProdMasterStatusSequenceNumber,
ersda AS CreationDate,
ernam AS CreatedByUser,
laeda AS LastChangeDate,
aenam AS LastChangedByUser,
werks AS Plant,
lgort AS StorageLocation,
lgnum AS Warehouse,
lgtyp AS StorageType,
vkorg AS ProductSalesOrganization,
vtweg AS ProductDistributionChannel,
bwkey AS ValuationArea,
bwtar AS ValuationType
FROM msta
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..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