I_Matlvaluationclass

DDL: I_MATLVALUATIONCLASS SQL: IMATVALNCLASS Type: view BASIC

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.

Data Sources (2)

SourceAliasJoin Type
t025 t025 from
t134 t134 inner

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_Matlvaluationclasstext _Text $projection.MaterialValuationClass = _Text.MaterialValuationClass
[0..1] I_MaterialType _MaterialType $projection.MaterialType = _MaterialType.MaterialType

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/