I_ProductTypeCode
Product Type Code
I_ProductTypeCode is a Basic CDS View (Dimension) that provides data about "Product Type Code" in SAP S/4HANA. It reads from 1 data source (cmd_prdtype) and exposes 2 fields with key field ProductTypeCode. It has 1 association to related views. Part of development package VDM_MD_PRODUCT_DDIC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cmd_prdtype | cmd_prdtype | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProductTypeCodeText | _Text | $projection.ProductTypeCode = _Text.ProductTypeCode |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRODTYPCODE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | ProductTypeCode | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| EndUserText.label | Product Type Code | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| ObjectModel.sapObjectNodeType.name | ProductTypeGroupCode | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductTypeCode | prod_type_code | ||
| _Text | _Text |
@AbapCatalog:{
sqlViewName: 'IPRODTYPCODE',
preserveKey: true,
compiler.compareFilter: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'ProductTypeCode'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@EndUserText.label: 'Product Type Code'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SEARCHABLE_ENTITY,
#ANALYTICAL_DIMENSION,
#EXTRACTION_DATA_SOURCE ]
@Analytics:{
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture.automatic: true
}
}
@ObjectModel.sapObjectNodeType.name: 'ProductTypeGroupCode'
define view I_ProductTypeCode
as select from cmd_prdtype
association [0..*] to I_ProductTypeCodeText as _Text on $projection.ProductTypeCode = _Text.ProductTypeCode
{
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key prod_type_code as ProductTypeCode,
_Text
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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