I_PurgCatMaterialGroupAPI01

DDL: I_PURGCATMATERIALGROUPAPI01 SQL: IPUCMATLGRPAPI01 Type: view BASIC

Material Group for Purchasing Category

I_PurgCatMaterialGroupAPI01 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

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

SAP Help Documentation

CategoryPurchasing Categories
StatusReleased
Purpose
This CDS view displays the assignment of material groups to purchasing categories. It provides the prerequisites for answering the following business questions: Which material groups are assigned to a specific purchasing category? Which purchasing category is a material group assigned to?

Prerequisites
You are authorized to access purchasing categories.

Structure
Object types This view relates to the following SAP object type: Purchasing Category Attributes Some important attributes are: Material group that is assigned to the purchasing category

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentSLC-CAT
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_PurchasingCategoryMatlGroup I_PurchasingCategoryMatlGroup from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurgCatAPI01 _PurchasingCategory $projection.PurgCatUUID = _PurchasingCategory.PurgCatUUID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPUCMATLGRPAPI01 view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label Material Group for Purchasing Category view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurCatMaterialGroupUUID PurCatMaterialGroupUUID Purchasing Category Material Group Reference UUID
PurgCatUUID PurgCatUUID Purchasing Category UUID
MaterialGroup MaterialGroup Material Group
_PurchasingCategory _PurchasingCategory

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_PurgCatMaterialGroupAPI01.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IPUCMATLGRPAPI01

CREATE VIEW I_PurgCatMaterialGroupAPI01 AS
SELECT
  PurCatMaterialGroupUUID,
  PurgCatUUID,
  MaterialGroup
FROM I_PurchasingCategoryMatlGroup
LEFT OUTER JOIN I_PurgCatAPI01 AS _PurchasingCategory ON PurgCatUUID = _PurchasingCategory.PurgCatUUID  -- association [1..1]
;