C_MM_ProductTypeValueHelp
Product Type Value Help
C_MM_ProductTypeValueHelp is a Consumption CDS View that provides data about "Product Type Value Help" in SAP S/4HANA. It reads from 1 data source (cmd_prdtype) and exposes 2 fields with key field ProductType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cmd_prdtype | ProductType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | cmd_prdtype_t | _Text | $projection.ProductType = _Text.prod_type_code |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMPRODTYPE_VH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| ObjectModel.semanticKey | ProductType | view | |
| ObjectModel.representativeKey | ProductType | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| EndUserText.label | Product Type Value Help | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductType | cmd_prdtype | prod_type_code | |
| ProductTypeName |
@AbapCatalog.sqlViewName: 'CMMPRODTYPE_VH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@ObjectModel.semanticKey: 'ProductType'
@ObjectModel.representativeKey: 'ProductType'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.resultSet.sizeCategory: #XS
@EndUserText.label: 'Product Type Value Help'
@ClientHandling.algorithm: #SESSION_VARIABLE
define view C_MM_ProductTypeValueHelp
as select from cmd_prdtype as ProductType
association [0..*] to cmd_prdtype_t as _Text on $projection.ProductType = _Text.prod_type_code
{
@Search: { defaultSearchElement: true, ranking: #HIGH }
@ObjectModel.text.element: [ 'ProductTypeName' ]
key ProductType.prod_type_code as ProductType,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
@Semantics.text: true
_Text[1: spras = $session.system_language].description as ProductTypeName
}
where
(
ProductType.prod_type_code = '1'
or ProductType.prod_type_code = '2'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CMD_PRDTYPE",
"CMD_PRDTYPE_T"
],
"ASSOCIATED":
[
"CMD_PRDTYPE_T"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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