I_MatlProcurementProfile
Material Procurement Profile
I_MatlProcurementProfile (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_MatlProcurementProfile is a Basic CDS View (Dimension) that provides data about "Material Procurement Profile" in SAP S/4HANA. It reads from 1 data source (t460a) and exposes 21 fields with key fields MaterialProcurementProfile, Plant. It has 8 associations to related views.
SAP Help Documentation
| Category | CDS Views for Material Requirements Planning |
|---|---|
| Data Category | DIMENSION |
Purpose
This CDS view provides the prerequisites for answering the following business questions: Which material procurement profiles are maintained in a plant? Which material procurement profiles are assigned to which material procurement category? What are the attributes of a material procurement profile? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description MaterialProcurementProfile Procurement Profile Plant Plant MaterialProcurementCategory Procurement Category MaterialProcurementExtType Procurement Type - External SupplyingOrProductionPlant Supplying or Production Plant IssuingPlant Issuing Plant MaterialIsDirectlyProduced Direct Production MaterialIsDirectlyProcured Direct Procurement IsPhantomItem Phantom item IsWithdrawnFrmAlternativePlant Withdrawal from Alternative Plant MRPStockTransfSelectionControl Indicator for Stock Transfer with MRP Areas MatlIsRlvtForMultiLvlSubcontrg Multilevel Subcontracting Indicator
This CDS view provides the prerequisites for answering the following business questions: Which material procurement profiles are maintained in a plant? Which material procurement profiles are assigned to which material procurement category? What are the attributes of a material procurement profile? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description MaterialProcurementProfile Procurement Profile Plant Plant MaterialProcurementCategory Procurement Category MaterialProcurementExtType Procurement Type - External SupplyingOrProductionPlant Supplying or Production Plant IssuingPlant Issuing Plant MaterialIsDirectlyProduced Direct Production MaterialIsDirectlyProcured Direct Procurement IsPhantomItem Phantom item IsWithdrawnFrmAlternativePlant Withdrawal from Alternative Plant MRPStockTransfSelectionControl Indicator for Stock Transfer with MRP Areas MatlIsRlvtForMultiLvlSubcontrg Multilevel Subcontracting Indicator
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Manufacturing |
| Application Component | PP-VDM |
| Capabilities | Analytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Search |
| Package | Manufacturing for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which material procurement profiles are maintained in a plant?</p></li> <li><p>Which material procurement profiles are assigned to which material procurement category?</p></li> <li><p>What are the attributes of a material procurement profile?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t460a | prfl | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_Plant | _SupplyingOrProductionPlant | $projection.SupplyingOrProductionPlant = _SupplyingOrProductionPlant.Plant |
| [0..1] | I_Plant | _IssuingPlant | $projection.IssuingPlant = _IssuingPlant.Plant |
| [0..*] | I_MatlProcurementProfileText | _Text | $projection.MaterialProcurementProfile = _Text.MaterialProcurementProfile and $projection.Plant = _Text.Plant |
| [1..1] | I_MatlProcurementCategory | _MaterialProcurementCategory | $projection.MaterialProcurementCategory = _MaterialProcurementCategory.MaterialProcurementCategory |
| [0..*] | I_MatlProcurementExternalType | _MaterialProcurementExtType | $projection.MaterialProcurementExtType = _MaterialProcurementExtType.MaterialProcurementExtType |
| [0..1] | I_MatlProcurementExternalType | _MaterialProcurementExtType_2 | $projection.MaterialProcurementExtType = _MaterialProcurementExtType_2.MaterialProcurementExtType and $projection.Language = _MaterialProcurementExtType_2.Language |
| [0..1] | I_MatlProcmtExternalType | _MaterialProcurementExtType_3 | $projection.MaterialProcurementExtType = _MaterialProcurementExtType_3.MaterialProcurementExtType |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMATLPROCMPRFL | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 001 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Consumption.ranked | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | MaterialProcurementProfile | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Material Procurement Profile | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialProcurementProfile | Material Procurement Profile | ||
| KEY | Plant | t460a | werks | Receiving Plant |
| MaterialProcurementCategory | Material Procurement Category | |||
| MaterialProcurementExtType | Material Procurement Type - External Code | |||
| SupplyingOrProductionPlant | Supplying or Production Plant | |||
| IssuingPlant | t460a | rewrk | Issuing Plant for the Dependent Reqmts/Reservation | |
| Language | ||||
| MaterialIsDirectlyProduced | t460a | clcor | Indicator for Direct Production (Collective Order) | |
| MaterialIsDirectlyProcured | t460a | dirpr | Direct Procurement Indicator | |
| IsPhantomItem | t460a | dumps | Phantom item indicator | |
| IsWithdrawnFrmAlternativePlant | t460a | rewfg | Withdrawal from Alternative Plant | |
| MRPStockTransfSelectionControl | t460a | umldb | Indicator for Stock Transfer with MRP Areas | |
| MatlIsRlvtForMultiLvlSubcontrg | t460a | mlscr | Multilevel Subcontracting Indicator | |
| _Plant | _Plant | |||
| _IssuingPlant | _IssuingPlant | |||
| _SupplyingOrProductionPlant | _SupplyingOrProductionPlant | |||
| _MaterialProcurementCategory | _MaterialProcurementCategory | |||
| _MaterialProcurementExtType | _MaterialProcurementExtType | |||
| _MaterialProcurementExtType_2 | _MaterialProcurementExtType_2 | |||
| _MaterialProcurementExtType_3 | _MaterialProcurementExtType_3 | |||
| _Text | _Text |
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_MatlProcurementProfile.
-- 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: IMATLPROCMPRFL
CREATE VIEW I_MatlProcurementProfile AS
SELECT
cast(prfl.sobsl as pph_sobsl preserving type) AS MaterialProcurementProfile,
prfl.werks AS Plant,
cast(prfl.beskz as pph_beskz preserving type) AS MaterialProcurementCategory,
cast(prfl.sobes as pph_esobs preserving type) AS MaterialProcurementExtType,
cast(prfl.wrk02 as vdm_wrk02 preserving type) AS SupplyingOrProductionPlant,
prfl.rewrk AS IssuingPlant,
$session.system_language AS Language,
prfl.clcor AS MaterialIsDirectlyProduced,
prfl.dirpr AS MaterialIsDirectlyProcured,
prfl.dumps AS IsPhantomItem,
prfl.rewfg AS IsWithdrawnFrmAlternativePlant,
prfl.umldb AS MRPStockTransfSelectionControl,
prfl.mlscr AS MatlIsRlvtForMultiLvlSubcontrg
FROM t460a AS prfl
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_Plant AS _SupplyingOrProductionPlant ON SupplyingOrProductionPlant = _SupplyingOrProductionPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _IssuingPlant ON IssuingPlant = _IssuingPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementProfileText AS _Text ON MaterialProcurementProfile = _Text.MaterialProcurementProfile AND Plant = _Text.Plant -- association [0..*]
LEFT OUTER JOIN I_MatlProcurementCategory AS _MaterialProcurementCategory ON MaterialProcurementCategory = _MaterialProcurementCategory.MaterialProcurementCategory -- association [1..1]
LEFT OUTER JOIN I_MatlProcurementExternalType AS _MaterialProcurementExtType ON MaterialProcurementExtType = _MaterialProcurementExtType.MaterialProcurementExtType -- association [0..*]
LEFT OUTER JOIN I_MatlProcurementExternalType AS _MaterialProcurementExtType_2 ON MaterialProcurementExtType = _MaterialProcurementExtType_2.MaterialProcurementExtType AND Language = _MaterialProcurementExtType_2.Language -- association [0..1]
LEFT OUTER JOIN I_MatlProcmtExternalType AS _MaterialProcurementExtType_3 ON MaterialProcurementExtType = _MaterialProcurementExtType_3.MaterialProcurementExtType -- 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