I_Producttype

DDL: I_PRODUCTTYPE Type: view BASIC Package: VDM_MD_PRODUCT_DDIC

Product Type

I_Producttype is a Basic CDS View (Dimension) that provides data about "Product Type" in SAP S/4HANA. It reads from 1 data source (t134) and exposes 8 fields with key field ProductType. It has 2 associations to related views. Part of development package VDM_MD_PRODUCT_DDIC.

Data Sources (1)

SourceAliasJoin Type
t134 t134 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProductTypeText _Text $projection.ProductType = _Text.ProductType
[0..1] I_ProductTypeCode _ProductTypeCode $projection.ProductTypeCode = _ProductTypeCode.ProductTypeCode

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName IPRODTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_ProductType_2 view
EndUserText.label Product Type view
ObjectModel.representativeKey ProductType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Consumption.ranked true view
ObjectModel.sapObjectNodeType.name ProductType view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProductType
ProductTypeCode prod_type_code
AuthorizationGroup t134 begru Authorization Group
MaintenanceStatus t134 pstat Maintenance Status
ReferenceProductType t134 mtref Ref. Material Type
AcctCategoryRef t134 kkref Acct Cat. Reference
_Text _Text
_ProductTypeCode _ProductTypeCode
@AbapCatalog:{
  sqlViewName: 'IPRODTYPE',
  compiler.compareFilter: true,
  preserveKey: true,
  buffering: {
    status: #ACTIVE,
    type: #GENERIC,
    numberOfKeyFields: 1
  }
 }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_ProductType_2'
@EndUserText.label: 'Product Type'
@ObjectModel:{
  representativeKey: 'ProductType',
  usageType: {
    serviceQuality: #A,
    sizeCategory : #L,
    dataClass: #CUSTOMIZING
  },
  dataCategory: #VALUE_HELP,
  supportedCapabilities: [ #SQL_DATA_SOURCE,
                           #CDS_MODELING_DATA_SOURCE,
                           #CDS_MODELING_ASSOCIATION_TARGET,
                           #SEARCHABLE_ENTITY,
                           #VALUE_HELP_PROVIDER,
                           #ANALYTICAL_DIMENSION,
                           #EXTRACTION_DATA_SOURCE
  ]
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: true
@Metadata.ignorePropagatedAnnotations: true
@Analytics:{
    dataCategory: #DIMENSION,
    dataExtraction: {
        enabled: true,
        delta.changeDataCapture.automatic: true
    }
}
@Consumption.ranked: true
@ObjectModel.sapObjectNodeType.name:'ProductType'

define view I_Producttype
  as select from t134
  association [0..*] to I_ProductTypeText as _Text            on $projection.ProductType = _Text.ProductType
  association [0..1] to I_ProductTypeCode as _ProductTypeCode on $projection.ProductTypeCode = _ProductTypeCode.ProductTypeCode

{
      @ObjectModel.text.association: '_Text'
      @Search:{
        defaultSearchElement: true,
        fuzzinessThreshold: 0.8,
        ranking: #HIGH
       }
  key cast(t134.mtart as producttype preserving type ) as ProductType,
      @ObjectModel.foreignKey.association:'_ProductTypeCode'
      prod_type_code                                   as ProductTypeCode,
      @EndUserText.label: 'Authorization Group' 
      t134.begru                                       as AuthorizationGroup,
      @EndUserText.label: 'Maintenance Status' 
      t134.pstat                                       as MaintenanceStatus,
      @EndUserText.label: 'Ref. Material Type'
      t134.mtref                                       as ReferenceProductType,
      @EndUserText.label: 'Acct Cat. Reference'
      t134.kkref                                       as AcctCategoryRef,
      _Text,
      _ProductTypeCode

}