I_PurchasingCategoryMatlGroup
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)
| Source | Alias | Join Type |
|---|---|---|
| /srmsmc/d_pucmg | /srmsmc/d_pucmg | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchasingCategory | _PurchasingCategory | $projection.PurgCatUUID = _PurchasingCategory.PurgCatUUID |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA