I_MatlProcurementProfile

DDL: I_MATLPROCUREMENTPROFILE SQL: IMATLPROCMPRFL Type: view BASIC

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

CategoryCDS Views for Material Requirements Planning
Data CategoryDIMENSION
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Search
PackageManufacturing 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

Data Sources (1)

SourceAliasJoin Type
t460a prfl from

Associations (8)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;