C_ProcurementSmartFilter
Global Filter for Procurement Overview Page
C_ProcurementSmartFilter is a Consumption CDS View that provides data about "Global Filter for Procurement Overview Page" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocumentItem, I_PurchasingDocument) and exposes 1 field. It has 9 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentItem | _PurchasingDocumentItem | inner |
| I_PurchasingDocument | PurchasingDocument | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_PurchasingGroupValueHelp | _PurchasingGroup | PurchasingDocument.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..1] | C_PurchasingOrgValueHelp | _PurchasingOrganization | PurchasingDocument.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | C_MM_CompanyCodeValueHelp | _CompanyCode | PurchasingDocument.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | C_MM_PlantValueHelp | _Plant | _PurchasingDocumentItem.Plant = _Plant.Plant and PurchasingDocument.PurchasingOrganization = _Plant.PurchasingOrganization |
| [0..1] | C_MM_SupplierValueHelp | _Supplier | PurchasingDocument.Supplier = _Supplier.Supplier and $projection.CompanyCode = _Supplier.CompanyCode |
| [1..1] | C_MM_MaterialValueHelp | _Material | _PurchasingDocumentItem.Material = _Material.Material and _PurchasingDocumentItem.Plant = _Material.Plant |
| [0..1] | C_MM_MaterialGroupValueHelp | _MaterialGroup | _PurchasingDocumentItem.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | C_PurchasingCategoryValueHelp | _PurchasingCategory | _PurchasingCategoryMatlGroup.PurgCatUUID = _PurchasingCategory.PurgCatUUID and $projection.purchasingcategory = _PurchasingCategory.PurchasingCategory |
| [0..1] | I_Currency | _DocumentCurrency | $projection.DocumentCurrency = _DocumentCurrency.Currency |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.sqlViewName | CPROCMTSMRTFLT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Global Filter for Procurement Overview Page | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| PurgCatName | Purchasing Organization |
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 C_ProcurementSmartFilter.
-- 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: CPROCMTSMRTFLT
-- Parameters: P_DisplayCurrency : displaycurrency
CREATE VIEW C_ProcurementSmartFilter AS
SELECT
entity: { name:'I_Currency', element:'Currency' AS PurgCatName
FROM I_PurchasingDocument AS PurchasingDocument
INNER JOIN I_PurchasingDocumentItem AS _PurchasingDocumentItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroup ON PurchasingDocument.PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [0..1]
LEFT OUTER JOIN C_PurchasingOrgValueHelp AS _PurchasingOrganization ON PurchasingDocument.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN C_MM_CompanyCodeValueHelp AS _CompanyCode ON PurchasingDocument.CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN C_MM_PlantValueHelp AS _Plant ON _PurchasingDocumentItem.Plant = _Plant.Plant AND PurchasingDocument.PurchasingOrganization = _Plant.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN C_MM_SupplierValueHelp AS _Supplier ON PurchasingDocument.Supplier = _Supplier.Supplier AND CompanyCode = _Supplier.CompanyCode -- association [0..1]
LEFT OUTER JOIN C_MM_MaterialValueHelp AS _Material ON _PurchasingDocumentItem.Material = _Material.Material AND _PurchasingDocumentItem.Plant = _Material.Plant -- association [1..1]
LEFT OUTER JOIN C_MM_MaterialGroupValueHelp AS _MaterialGroup ON _PurchasingDocumentItem.MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN C_PurchasingCategoryValueHelp AS _PurchasingCategory ON _PurchasingCategoryMatlGroup.PurgCatUUID = _PurchasingCategory.PurgCatUUID AND purchasingcategory = _PurchasingCategory.PurchasingCategory -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON DocumentCurrency = _DocumentCurrency.Currency -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA