C_Mppurchasingsourceitem

DDL: C_MPPURCHASINGSOURCEITEM SQL: CMPPRSRCITM Type: view CONSUMPTION

Source List Item Consumption View

C_Mppurchasingsourceitem is a Consumption CDS View that provides data about "Source List Item Consumption View" in SAP S/4HANA. It reads from 1 data source (I_MPPurchasingSourceItemWD) and exposes 48 fields with key fields SourceListRecord, Material, Plant. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MPPurchasingSourceItemWD I_MPPurchasingSourceItemWD from

Associations (9)

CardinalityTargetAliasCondition
[1..1] C_MPPurchasingSource _MPPurchasingSourceWd _MPPurchasingSourceWd.Material = $projection.Material and _MPPurchasingSourceWd.Plant = $projection.Plant
[1..1] I_MaterialText _MaterialText _MaterialText.Material = $projection.Material and _MaterialText.Language = $session.system_language
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_MaterialPlanningUsage_SL _MaterialPlanningUsage_SL $projection.MRPSourcingControl = _MaterialPlanningUsage_SL.MRPSourcingControl
[0..1] I_MPPurchasingSourceStatus _MPPurchasingSourceStatus $projection.SourceListStatus = _MPPurchasingSourceStatus.SourceListStatus
[0..1] I_Material _Material _Material.Material = $projection.Material
[1..1] I_Plant _Plant _Plant.Plant = $projection.Plant
[1..1] I_Plant _SupplyingPlant _SupplyingPlant.Plant = $projection.SupplyingPlant
[0..1] C_PurchaseOutlineAgreementVH _PurchaseOutlineAgreement _PurchaseOutlineAgreement.PurchasingDocument = $projection.PurchaseOutlineAgreement

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CMPPRSRCITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Source List Item Consumption View view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.typeName Source List view
UI.headerInfo.typeNamePlural Source Lists view
UI.headerInfo.title.value Supplier view
UI.headerInfo.description.value SupplierName view
Search.searchable true view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY SourceListRecord I_MPPurchasingSourceItemWD SourceListRecord Number
KEY Material I_MPPurchasingSourceItemWD Material Vehicle Model
KEY Plant I_MPPurchasingSourceItemWD Plant Valuation Area
MaterialForEdit I_MPPurchasingSourceItemWD MaterialForEdit Product
PlantForEdit I_MPPurchasingSourceItemWD PlantForEdit Plant ID
SourceListRecordForEdit I_MPPurchasingSourceItemWD SourceListRecordForEdit Number
CreationDate I_MPPurchasingSourceItemWD CreationDate Time Stamp
CreatedByUserName I_MPPurchasingSourceItemWD CreatedByUserName Person Resp.
ValidityStartDate I_MPPurchasingSourceItemWD ValidityStartDate Valid From
ValidityEndDate I_MPPurchasingSourceItemWD ValidityEndDate Valid To
Supplier I_MPPurchasingSourceItemWD Supplier Supplier
OutlineAgreement I_MPPurchasingSourceItemWD OutlineAgreement Agreement/Item
PurchaseOutlineAgreement I_MPPurchasingSourceItemWD PurchaseOutlineAgreement Agreement
PurchaseOutlineAgreementItem I_MPPurchasingSourceItemWD PurchaseOutlineAgreementItem Item
PurchasingOrganization I_MPPurchasingSourceItemWD PurchasingOrganization Purchasing Organization
SupplyingPlant I_MPPurchasingSourceItemWD SupplyingPlant Supplying Plant
SupplierIsFixed I_MPPurchasingSourceItemWD SupplierIsFixed Fixed Supplier
PurOutlineAgreementIsFixed I_MPPurchasingSourceItemWD PurOutlineAgreementIsFixed Fixed Agmt Item
IssgPlantIsFixed I_MPPurchasingSourceItemWD IssgPlantIsFixed Fixed Issuing Plant
ManufacturerMaterial I_MPPurchasingSourceItemWD ManufacturerMaterial MPN Material
SourceOfSupplyIsBlocked I_MPPurchasingSourceItemWD SourceOfSupplyIsBlocked Blocked
PurchasingDocumentCategory I_MPPurchasingSourceItemWD PurchasingDocumentCategory Doc. Category
SourceListRecordCategory I_MPPurchasingSourceItemWD SourceListRecordCategory Control
MRPSourcingControl I_MPPurchasingSourceItemWD MRPSourcingControl MRP
MRPArea I_MPPurchasingSourceItemWD MRPArea MRP Area
OrderQuantityUnit I_MPPurchasingSourceItemWD OrderQuantityUnit Sales Unit
OriginSystem I_MPPurchasingSourceItemWD OriginSystem LogSys: Formula
InventorySpecialStockType I_MPPurchasingSourceItemWD InventorySpecialStockType Special Stock Type
SourceListStatus I_MPPurchasingSourceItemWD SourceListStatus Status
SourceListStatusCriticality I_MPPurchasingSourceItemWD SourceListStatusCriticality
_MPPurchasingSourceWd _MPPurchasingSourceWd
_PurchaseContract I_MPPurchasingSourceItemWD _PurchaseContract
_PurchaseContractItem I_MPPurchasingSourceItemWD _PurchaseContractItem
_LogicalSystem I_MPPurchasingSourceItemWD _LogicalSystem
_PurchasingOrganization I_MPPurchasingSourceItemWD _PurchasingOrganization
_UnitOfMeasure I_MPPurchasingSourceItemWD _UnitOfMeasure
SupplierName _Supplier SupplierName Supplier Name
PlantName _Plant PlantName Plant Name
MaterialName _MaterialText MaterialName Material Description
SupplyingPlantName _SupplyingPlant PlantName Procurement Plant Name
_MaterialPlanningUsage_SL _MaterialPlanningUsage_SL
_MPPurchasingSourceStatus _MPPurchasingSourceStatus
_MaterialText _MaterialText
_Supplier _Supplier
_Material _Material
_Plant _Plant
_PurchaseOutlineAgreement _PurchaseOutlineAgreement
_SupplyingPlant _SupplyingPlant

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_Mppurchasingsourceitem.
-- 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: CMPPRSRCITM

CREATE VIEW C_Mppurchasingsourceitem AS
SELECT
  I_MPPurchasingSourceItemWD.SourceListRecord AS SourceListRecord,
  I_MPPurchasingSourceItemWD.Material AS Material,
  I_MPPurchasingSourceItemWD.Plant AS Plant,
  I_MPPurchasingSourceItemWD.MaterialForEdit AS MaterialForEdit,
  I_MPPurchasingSourceItemWD.PlantForEdit AS PlantForEdit,
  I_MPPurchasingSourceItemWD.SourceListRecordForEdit AS SourceListRecordForEdit,
  I_MPPurchasingSourceItemWD.CreationDate AS CreationDate,
  I_MPPurchasingSourceItemWD.CreatedByUserName AS CreatedByUserName,
  I_MPPurchasingSourceItemWD.ValidityStartDate AS ValidityStartDate,
  I_MPPurchasingSourceItemWD.ValidityEndDate AS ValidityEndDate,
  I_MPPurchasingSourceItemWD.Supplier AS Supplier,
  I_MPPurchasingSourceItemWD.OutlineAgreement AS OutlineAgreement,
  I_MPPurchasingSourceItemWD.PurchaseOutlineAgreement AS PurchaseOutlineAgreement,
  I_MPPurchasingSourceItemWD.PurchaseOutlineAgreementItem AS PurchaseOutlineAgreementItem,
  I_MPPurchasingSourceItemWD.PurchasingOrganization AS PurchasingOrganization,
  I_MPPurchasingSourceItemWD.SupplyingPlant AS SupplyingPlant,
  I_MPPurchasingSourceItemWD.SupplierIsFixed AS SupplierIsFixed,
  I_MPPurchasingSourceItemWD.PurOutlineAgreementIsFixed AS PurOutlineAgreementIsFixed,
  I_MPPurchasingSourceItemWD.IssgPlantIsFixed AS IssgPlantIsFixed,
  I_MPPurchasingSourceItemWD.ManufacturerMaterial AS ManufacturerMaterial,
  I_MPPurchasingSourceItemWD.SourceOfSupplyIsBlocked AS SourceOfSupplyIsBlocked,
  I_MPPurchasingSourceItemWD.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_MPPurchasingSourceItemWD.SourceListRecordCategory AS SourceListRecordCategory,
  I_MPPurchasingSourceItemWD.MRPSourcingControl AS MRPSourcingControl,
  I_MPPurchasingSourceItemWD.MRPArea AS MRPArea,
  I_MPPurchasingSourceItemWD.OrderQuantityUnit AS OrderQuantityUnit,
  I_MPPurchasingSourceItemWD.OriginSystem AS OriginSystem,
  I_MPPurchasingSourceItemWD.InventorySpecialStockType AS InventorySpecialStockType,
  I_MPPurchasingSourceItemWD.SourceListStatus AS SourceListStatus,
  I_MPPurchasingSourceItemWD.SourceListStatusCriticality AS SourceListStatusCriticality,
  I_MPPurchasingSourceItemWD._PurchaseContract AS _PurchaseContract,
  I_MPPurchasingSourceItemWD._PurchaseContractItem AS _PurchaseContractItem,
  I_MPPurchasingSourceItemWD._LogicalSystem AS _LogicalSystem,
  I_MPPurchasingSourceItemWD._PurchasingOrganization AS _PurchasingOrganization,
  I_MPPurchasingSourceItemWD._UnitOfMeasure AS _UnitOfMeasure,
  _Supplier.SupplierName AS SupplierName,
  _Plant.PlantName AS PlantName,
  _MaterialText.MaterialName AS MaterialName,
  _SupplyingPlant.PlantName AS SupplyingPlantName
FROM I_MPPurchasingSourceItemWD
LEFT OUTER JOIN C_MPPurchasingSource AS _MPPurchasingSourceWd ON _MPPurchasingSourceWd.Material = Material AND _MPPurchasingSourceWd.Plant = Plant  -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON _MaterialText.Material = Material AND _MaterialText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_MaterialPlanningUsage_SL AS _MaterialPlanningUsage_SL ON MRPSourcingControl = _MaterialPlanningUsage_SL.MRPSourcingControl  -- association [0..1]
LEFT OUTER JOIN I_MPPurchasingSourceStatus AS _MPPurchasingSourceStatus ON SourceListStatus = _MPPurchasingSourceStatus.SourceListStatus  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON _Material.Material = Material  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = Plant  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _SupplyingPlant ON _SupplyingPlant.Plant = SupplyingPlant  -- association [1..1]
LEFT OUTER JOIN C_PurchaseOutlineAgreementVH AS _PurchaseOutlineAgreement ON _PurchaseOutlineAgreement.PurchasingDocument = PurchaseOutlineAgreement  -- association [0..1]
;