I_ProductTypeCodeText

DDL: I_PRODUCTTYPECODETEXT Type: view BASIC

Product Type Code - Text

I_ProductTypeCodeText (Basic)

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

ProductTypeGroupCodeText · Database & Data Management

I_ProductTypeCodeText is a Basic CDS View that provides data about "Product Type Code - Text" in SAP S/4HANA. It reads from 1 data source (cmd_prdtype_t) and exposes 5 fields with key fields ProductTypeCode, Language. It has 2 associations to related views.

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, Language-Dependent Text, Data Source for Data Extraction
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
cmd_prdtype_t cmd_prdtype_t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductTypeCode _ProductTypeCode $projection.ProductTypeCode = _ProductTypeCode.ProductTypeCode
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IPRODTYPCODETXT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ProductTypeCode view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.sapObjectNodeType.name ProductTypeGroupCodeText view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Product Type Code - Text view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Search.searchable true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductTypeCode prod_type_code Product Type Group
KEY Language spras Off. Language
Name description Product Type Group Description
_ProductTypeCode _ProductTypeCode
_Language _Language

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_ProductTypeCodeText.
-- 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_ProductTypeCodeText AS
SELECT
  prod_type_code AS ProductTypeCode,
  spras AS Language,
  description AS Name
FROM cmd_prdtype_t
LEFT OUTER JOIN I_ProductTypeCode AS _ProductTypeCode ON ProductTypeCode = _ProductTypeCode.ProductTypeCode  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
;