I_ProductType_2

DDL: I_PRODUCTTYPE_2 SQL: IPRODTYPE2 Type: view BASIC

Product Type

I_ProductType_2 (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_2 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 7 fields with key field ProductType. It has 2 associations to related views. It is exposed through 1 OData service (UI_PRODUCTLIST). It is used in 1 Fiori application: Product List.

SAP Help Documentation

CategoryCDS Views for Product Master
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides the list of product types defined in the system. 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 One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_CMD_BC_PR_MAINT_PC

Structure
Parameters Further important fields Important fields in this view include the following: Field Name Description Measure or Attribute ProductTypeProductType Key that assigns the product to a group of product such as raw materials, operating supplies or trading goods. Attribute

SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about 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 Data Extraction, Data Source for Search, Analytical Dimension
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t134 t134 from

Associations (2)

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

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName IPRODTYPE2 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
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ProductType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Product Type view
ObjectModel.sapObjectNodeType.name ProductType view
ObjectModel.objectIdentifier.oidElement ProductTypeOID view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRODUCTLIST UI_PRODUCTLIST V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F6518 Product List Analytical The app displays and performs the analysis for different attributes of products that are part of various master data tables on one screen.

Product List

Business Role: Others

Key Features: You can use the Product List app to: Search for products in your system. Display the details of a product, such as base unit of measure, valuation class, price control, inventory price, and so on. Navigate to the Manage Product Master Data app from the product details pag.e Export the product list to a spreadsheet file. View and analyze inventory price summary in different currencies by clicking the Inventory Price Total tab.Note that, SAP highly recommends to use filter(s) to view the required inventory price summary that prevents you from going through data overload.

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ProductType Product Type
ProductTypeCode prod_type_code Product Type Group
AuthorizationGroup t134 begru Authorization group in the material master
NumberRangeForExtIDAssignment Number Range of External Number Assignment
NumberRangeForIntIDAssignment Number Range of Internal Number Assignment
_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_2.
-- 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: IPRODTYPE2

CREATE VIEW I_ProductType_2 AS
SELECT
  cast(t134.mtart as producttype preserving type ) AS ProductType,
  prod_type_code AS ProductTypeCode,
  t134.begru AS AuthorizationGroup,
  cast(t134.numke as externalnr preserving type ) AS NumberRangeForExtIDAssignment,
  cast(t134.numki as internalnr preserving type ) AS NumberRangeForIntIDAssignment
FROM t134
LEFT OUTER JOIN I_ProductTypeText_2 AS _Text ON ProductType = _Text.ProductType  -- association [0..*]
LEFT OUTER JOIN I_ProductTypeCode AS _ProductTypeCode ON ProductTypeCode = _ProductTypeCode.ProductTypeCode  -- association [0..1]
;