Deprecated
This CDS view is deprecated in S/4HANA. Use I_ProductType_2 instead. View all deprecated CDS views →

I_Producttype

DDL: I_PRODUCTTYPE Type: view BASIC

Product Type

I_Producttype (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Product Type · Database & Data Management

I_Producttype is a Basic CDS View (Dimension) that provides data about "Product Type" in SAP S/4HANA. It reads from 1 data source (t134) and exposes 8 fields with key field ProductType. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Product Master
StatusReleased
Data Extraction TypeFull (physical deletions are possible in source tables) Delta: Change Data Capture
Corresponding DataSourceNA
Purpose
This CDS view provides the information about Material types to the customer. Description: Product Type

Prerequisites
Users must also have authorization to access the Material Master Data for Plant.

Structure
Object types This view relates to the following SAP object types: Material Product Product Type

SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

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 Search, Data Provider for Value Help, Analytical Dimension, Data Source for Data Extraction
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the information about Material types to the customer.</p> <p>Description: Product Type</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t134 t134 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProductTypeText _Text $projection.ProductType = _Text.ProductType
[0..1] I_ProductTypeCode _ProductTypeCode $projection.ProductTypeCode = _ProductTypeCode.ProductTypeCode

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName IPRODTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_ProductType_2 view
EndUserText.label Product Type view
ObjectModel.representativeKey ProductType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Consumption.ranked true view
ObjectModel.sapObjectNodeType.name ProductType view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProductType Product Type
ProductTypeCode prod_type_code Product Type Group
AuthorizationGroup t134 begru Authorization group in the material master
MaintenanceStatus t134 pstat Maintenance Status
ReferenceProductType t134 mtref Reference material type
AcctCategoryRef t134 kkref Account category reference
_Text _Text
_ProductTypeCode _ProductTypeCode

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_Producttype.
-- 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_Producttype AS
SELECT
  cast(t134.mtart as producttype preserving type ) AS ProductType,
  prod_type_code AS ProductTypeCode,
  t134.begru AS AuthorizationGroup,
  t134.pstat AS MaintenanceStatus,
  t134.mtref AS ReferenceProductType,
  t134.kkref AS AcctCategoryRef
FROM t134
LEFT OUTER JOIN I_ProductTypeText AS _Text ON ProductType = _Text.ProductType  -- association [0..*]
LEFT OUTER JOIN I_ProductTypeCode AS _ProductTypeCode ON ProductTypeCode = _ProductTypeCode.ProductTypeCode  -- association [0..1]
;