I_MatlCompDiscontinuationType

DDL: I_MATLCOMPDISCONTINUATIONTYPE SQL: IMATLDISCTNTYPE Type: view BASIC

Material Discontinuation Type

I_MatlCompDiscontinuationType is a Basic CDS View (Dimension) that provides data about "Material Discontinuation Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field MatlCompDiscontinuationType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MatlCompDscontnTypeText _Text $projection.MatlCompDiscontinuationType = _Text.MatlCompDiscontinuationType

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName IMATLDISCTNTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MatlCompDiscontinuationType view
ObjectModel.sapObjectNodeType.name MaterialDiscontinuationType view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Material Discontinuation Type view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MatlCompDiscontinuationType
DomainValue dd07l domvalue_l
_Text _Text
@AbapCatalog.sqlViewName: 'IMATLDISCTNTYPE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY, #VALUE_HELP_PROVIDER, #EXTRACTION_DATA_SOURCE]
@ObjectModel.representativeKey: 'MatlCompDiscontinuationType'
@ObjectModel.sapObjectNodeType.name: 'MaterialDiscontinuationType'
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Material Discontinuation Type'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK", "KEY_CHECK" ]  } */
define view I_MatlCompDiscontinuationType
  as select from dd07l as l
  association [0..*] to I_MatlCompDscontnTypeText as _Text on $projection.MatlCompDiscontinuationType = _Text.MatlCompDiscontinuationType
{ 
    @ObjectModel.text.association: '_Text'
    // cast to data element  

    key cast(substring(l.domvalue_l, 1, 1) as auslf preserving type) as MatlCompDiscontinuationType,
    @Analytics.hidden: true
    @Consumption.hidden: true
    @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
    l.domvalue_l                                                     as DomainValue,
  
    // Associations

    @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
    _Text
  }
  where l.domname  = 'AUSLF'
    and l.as4local = 'A'
    and l.as4vers  = '0000';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_MATLCOMPDSCONTNTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/