I_ProductCategoryText

DDL: I_PRODUCTCATEGORYTEXT Type: view BASIC

Product Category Type - Text

I_ProductCategoryText is a Basic CDS View that provides data about "Product Category Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, ProductCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IPRODCATTXTV view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
EndUserText.label Product Category Type - Text view
Search.searchable true view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ProductCategory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY ProductCategory
Name
_Language _Language
@AbapCatalog:{
  sqlViewName: 'IPRODCATTXTV',
  preserveKey: true,
  compiler.compareFilter: true,
  buffering:{
    status: #ACTIVE,
    type: #GENERIC,
    numberOfKeyFields: 1
  }
}
@EndUserText.label: 'Product Category Type - Text'
@Search: {
  searchable: true
}
//@Analytics: { dataCategory: #DIMENSION } I_ProductCategory has the dimension

@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'ProductCategory'

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #META
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@Analytics.dataExtraction :{
enabled: true
}
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
                                      #CDS_MODELING_DATA_SOURCE,
                                      #CDS_MODELING_ASSOCIATION_TARGET,
                                      #LANGUAGE_DEPENDENT_TEXT,
                                      #SEARCHABLE_ENTITY,
                                      #EXTRACTION_DATA_SOURCE
]

define view I_ProductCategoryText
  as select from dd07t

  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language

  //  association [0..1] to I_ProductCategory as _ProductCategory on $projection.ProductCategory = _ProductCategory.ProductCategory


{

      @Semantics.language
  key cast( ddlanguage as spras preserving type )            as Language,

      //      @ObjectModel.foreignKey.association: '_ProductCategory'



      //  key cast ( substring( domvalue_l, 1, 2 ) as articlecategory preserving type )     as ProductCategory,

  key cast ( domvalue_l as articlecategory )                 as ProductCategory,

      @Semantics.text
      @Search: {
      defaultSearchElement: true,
      fuzzinessThreshold: 0.8,
      ranking: #LOW
      }
      //      cast ( substring ( ddtext, 1, 60 ) as val_text )                              as Name,

      cast ( ddtext as articlecategorytext preserving type ) as Name,

      //      _ProductCategory,


      _Language

}
where
      domname  = 'ATTYP'
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/