I_ProductMasterStatus

DDL: I_PRODUCTMASTERSTATUS Type: view_entity BASIC

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

CategoryCDS Views for Product Master
StatusCounter
Purpose
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)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-MM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
msta msta from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;