I_Matlvaluationclass
Valuation Class Based on Product Type
I_Matlvaluationclass is a Basic CDS View that provides data about "Valuation Class Based on Product Type" in SAP S/4HANA. It reads from 2 data sources (t025, t134) and exposes 4 fields with key fields MaterialType, MaterialValuationClass. It has 2 associations to related views.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_Matlvaluationclasstext | _Text | $projection.MaterialValuationClass = _Text.MaterialValuationClass |
| [0..1] | I_MaterialType | _MaterialType | $projection.MaterialType = _MaterialType.MaterialType |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMATVALNCLASS | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Valuation Class Based on Product Type | view | |
| Search.searchable | true | view | |
| ObjectModel.representativeKey | MaterialValuationClass | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| AbapCatalog.preserveKey | true | view | |
| Consumption.ranked | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialType | |||
| KEY | MaterialValuationClass | |||
| _Text | _Text | |||
| _MaterialType | _MaterialType |
@AbapCatalog.sqlViewName: 'IMATVALNCLASS'
//@ClientDependent: true
@VDM.viewType: #BASIC
@AbapCatalog.compiler.compareFilter:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Valuation Class Based on Product Type'
@Search.searchable: true
@ObjectModel.representativeKey: 'MaterialValuationClass'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #VALUE_HELP
@AbapCatalog.preserveKey:true
@Consumption.ranked: true
define view I_Matlvaluationclass
//with parameters
//P_MaterialType: CHAR04
as select from t025
inner join t134 on t025.kkref = t134.kkref
association [0..*] to I_Matlvaluationclasstext as _Text on $projection.MaterialValuationClass = _Text.MaterialValuationClass
association [0..1] to I_MaterialType as _MaterialType on $projection.MaterialType = _MaterialType.MaterialType
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #MEDIUM
@ObjectModel.foreignKey.association: '_MaterialType'
key cast(t134.mtart as producttype) as MaterialType,
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key cast(t025.bklas as valuationclass) as MaterialValuationClass,
// @Search.defaultSearchElement: true
// @Search.fuzzinessThreshold: 0.8
// @Search.ranking: #HIGH
_Text,
@Consumption.filter.hidden: true
_MaterialType
}
//where I_Matlvaluationclass.MaterialType = C_product.MaterialType
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T025",
"T134"
],
"ASSOCIATED":
[
"I_MATERIALTYPE",
"I_MATLVALUATIONCLASSTEXT"
],
"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