C_SchedProdnProductGroupVH

DDL: C_SCHEDPRODNPRODUCTGROUPVH Type: view_entity CONSUMPTION Package: ODATA_PP_CAP_SCHEDPRODN

Value Help for Product Group

C_SchedProdnProductGroupVH is a Consumption CDS View that provides data about "Value Help for Product Group" in SAP S/4HANA. It reads from 3 data sources (I_SDMAreaOfResponsibility, I_Product, I_ProductPlant) and exposes 3 fields with key field ProductGroup. Part of development package ODATA_PP_CAP_SCHEDPRODN.

Data Sources (3)

SourceAliasJoin Type
I_SDMAreaOfResponsibility _SDMAreaOfResponsibility inner
I_Product Product inner
I_ProductPlant ProductPlant inner

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName CSHPDGRPVH view
Search.searchable true view
ObjectModel.representativeKey ProductGroup view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Value Help for Product Group view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ProductGroup ProductGroup ProductGroup
ProductGroupName
AuthorizationGroup ProductGroup AuthorizationGroup
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@ObjectModel.dataCategory: #VALUE_HELP
@Analytics.technicalName: 'CSHPDGRPVH'
@Search.searchable: true
@ObjectModel.semanticKey: [ 'ProductGroup']
@ObjectModel.representativeKey: 'ProductGroup'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Value Help for Product Group'
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
define view entity C_SchedProdnProductGroupVH
// as select from I_MaterialGroup as MaterialGroup

 as  select distinct from I_ProductGroup_2 as ProductGroup
        inner join I_Product as Product on Product.ProductGroup = ProductGroup.ProductGroup
        inner join I_ProductPlant   as ProductPlant on Product.Product = ProductPlant.Product
        inner join I_SDMAreaOfResponsibility as _SDMAreaOfResponsibility
                                                        on  ProductPlant.Plant             = _SDMAreaOfResponsibility.Plant
                                                        and ProductPlant.MRPResponsible       = _SDMAreaOfResponsibility.MRPController
                                                        and _SDMAreaOfResponsibility.UserID = $session.user                                       
//    association [0..*] to I_ProductGroup as _Text on $projection.MaterialGroup = _Text.MaterialGroup


{

      @ObjectModel.text.element:  [ 'ProductGroupName' ]
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
  key ProductGroup.ProductGroup as ProductGroup,

      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
      ProductGroup._ProductGroupText[1: Language = $session.system_language].ProductGroupName as ProductGroupName,
      
       @Consumption.hidden: true
      ProductGroup.AuthorizationGroup
      
}