I_PurchasingCategoryMatlGroup

DDL: I_PURCHASINGCATEGORYMATLGROUP SQL: IPURCATMATLGROUP Type: view BASIC

Purchasing Category Material Group

I_PurchasingCategoryMatlGroup is a Basic CDS View that provides data about "Purchasing Category Material Group" in SAP S/4HANA. It reads from 1 data source (/srmsmc/d_pucmg) and exposes 5 fields with key field PurCatMaterialGroupUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/srmsmc/d_pucmg /srmsmc/d_pucmg from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PurchasingCategory _PurchasingCategory $projection.PurgCatUUID = _PurchasingCategory.PurgCatUUID
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup

Annotations (10)

NameValueLevelField
EndUserText.label Purchasing Category Material Group view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IPURCATMATLGROUP view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurCatMaterialGroupUUID
PurgCatUUID
MaterialGroup
_PurchasingCategory _PurchasingCategory
_MaterialGroup _MaterialGroup
@EndUserText.label: 'Purchasing Category Material Group'

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.preserveKey:true

@ObjectModel.usageType.dataClass:  #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.representativeKey: ['PurCatMaterialGroupUUID']

@ClientHandling.algorithm: #SESSION_VARIABLE 
@AbapCatalog.sqlViewName: 'IPURCATMATLGROUP'

define view I_PurchasingCategoryMatlGroup as select from /srmsmc/d_pucmg
  association [1..1] to I_PurchasingCategory as _PurchasingCategory on $projection.PurgCatUUID   = _PurchasingCategory.PurgCatUUID
  association [0..1] to I_MaterialGroup      as _MaterialGroup      on $projection.MaterialGroup = _MaterialGroup.MaterialGroup
{ 
  @UI.hidden: true
  key cast(db_key as /srmsmc/puc_matl_group_uuid preserving type) as PurCatMaterialGroupUUID,
  
  @UI.hidden: true
  cast(parent_key as /srmsmc/puc_uuid preserving type) as PurgCatUUID, 
  
  cast (matkl as matkl preserving type) as MaterialGroup,
  
  @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
  _PurchasingCategory,
  _MaterialGroup

}
        
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"/SRMSMC/D_PUCMG"
],
"ASSOCIATED":
[
"I_MATERIALGROUP",
"I_PURCHASINGCATEGORY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/