P_MPPurchasingSourceItem

DDL: P_MPPURCHASINGSOURCEITEM SQL: PMPPRSRCITM Type: view COMPOSITE

P_MPPurchasingSourceItem is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MPPurchasingSourceItem) and exposes 40 fields with key fields Material, Plant, SourceListRecord.

Data Sources (1)

SourceAliasJoin Type
I_MPPurchasingSourceItem I_MPPurchasingSourceItem from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMPPRSRCITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY Material I_MPPurchasingSourceItem Material Vehicle Model
KEY Plant I_MPPurchasingSourceItem Plant Valuation Area
KEY SourceListRecord I_MPPurchasingSourceItem SourceListRecord Number
CreationDate I_MPPurchasingSourceItem CreationDate Time Stamp
CreatedByUserName I_MPPurchasingSourceItem CreatedByUserName Person Resp.
ValidityStartDate I_MPPurchasingSourceItem ValidityStartDate Validity Start Date
ValidityEndDate I_MPPurchasingSourceItem ValidityEndDate ValidTo
Supplier I_MPPurchasingSourceItem Supplier Supplier
SupplierIsFixed I_MPPurchasingSourceItem SupplierIsFixed Fixed Supplier
PurchaseOutlineAgreement I_MPPurchasingSourceItem PurchaseOutlineAgreement Agreement
PurchaseOutlineAgreementItem I_MPPurchasingSourceItem PurchaseOutlineAgreementItem Item
PurOutlineAgreementIsFixed I_MPPurchasingSourceItem PurOutlineAgreementIsFixed Fixed Agmt Item
SupplyingPlant I_MPPurchasingSourceItem SupplyingPlant Supplying Plant
IssgPlantIsFixed I_MPPurchasingSourceItem IssgPlantIsFixed Fixed iss.plant
ManufacturerMaterial I_MPPurchasingSourceItem ManufacturerMaterial MPN: Material
SourceOfSupplyIsBlocked I_MPPurchasingSourceItem SourceOfSupplyIsBlocked Blocked
SourceOfSupplyIsFixed I_MPPurchasingSourceItem SourceOfSupplyIsFixed Indicator
SourceListStatus I_MPPurchasingSourceItem SourceListStatus Source List Status(Fixed/Blocked)
PurchasingOrganization I_MPPurchasingSourceItem PurchasingOrganization Purchasing Organization
PurchasingDocumentCategory I_MPPurchasingSourceItem PurchasingDocumentCategory Doc. Category
SourceListRecordCategory I_MPPurchasingSourceItem SourceListRecordCategory Control
MRPSourcingControl I_MPPurchasingSourceItem MRPSourcingControl MRP
MRPArea I_MPPurchasingSourceItem MRPArea MRP Area
OrderQuantityUnit I_MPPurchasingSourceItem OrderQuantityUnit Sales Unit
OriginSystem I_MPPurchasingSourceItem OriginSystem LogSys: Formula
InventorySpecialStockType I_MPPurchasingSourceItem InventorySpecialStockType Special Stock Type
LastChangeDateTime I_MPPurchasingSourceItem LastChangeDateTime Timestamp
IsActiveEntity
_MPPurchasingSource I_MPPurchasingSourceItem _MPPurchasingSource
_Material I_MPPurchasingSourceItem _Material
_Plant I_MPPurchasingSourceItem _Plant
_Supplier I_MPPurchasingSourceItem _Supplier
_PurchaseContract I_MPPurchasingSourceItem _PurchaseContract
_PurchaseContractItem I_MPPurchasingSourceItem _PurchaseContractItem
_SupplyingPlant I_MPPurchasingSourceItem _SupplyingPlant
_PurchasingOrganization I_MPPurchasingSourceItem _PurchasingOrganization
_MaterialPlanningUsage_SL I_MPPurchasingSourceItem _MaterialPlanningUsage_SL
_MPPurchasingSourceStatus I_MPPurchasingSourceItem _MPPurchasingSourceStatus
_UnitOfMeasure I_MPPurchasingSourceItem _UnitOfMeasure
_LogicalSystem I_MPPurchasingSourceItem _LogicalSystem

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 P_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: PMPPRSRCITM

CREATE VIEW P_MPPurchasingSourceItem AS
SELECT
  I_MPPurchasingSourceItem.Material AS Material,
  I_MPPurchasingSourceItem.Plant AS Plant,
  I_MPPurchasingSourceItem.SourceListRecord AS SourceListRecord,
  I_MPPurchasingSourceItem.CreationDate AS CreationDate,
  I_MPPurchasingSourceItem.CreatedByUserName AS CreatedByUserName,
  I_MPPurchasingSourceItem.ValidityStartDate AS ValidityStartDate,
  I_MPPurchasingSourceItem.ValidityEndDate AS ValidityEndDate,
  I_MPPurchasingSourceItem.Supplier AS Supplier,
  I_MPPurchasingSourceItem.SupplierIsFixed AS SupplierIsFixed,
  I_MPPurchasingSourceItem.PurchaseOutlineAgreement AS PurchaseOutlineAgreement,
  I_MPPurchasingSourceItem.PurchaseOutlineAgreementItem AS PurchaseOutlineAgreementItem,
  I_MPPurchasingSourceItem.PurOutlineAgreementIsFixed AS PurOutlineAgreementIsFixed,
  I_MPPurchasingSourceItem.SupplyingPlant AS SupplyingPlant,
  I_MPPurchasingSourceItem.IssgPlantIsFixed AS IssgPlantIsFixed,
  I_MPPurchasingSourceItem.ManufacturerMaterial AS ManufacturerMaterial,
  I_MPPurchasingSourceItem.SourceOfSupplyIsBlocked AS SourceOfSupplyIsBlocked,
  I_MPPurchasingSourceItem.SourceOfSupplyIsFixed AS SourceOfSupplyIsFixed,
  I_MPPurchasingSourceItem.SourceListStatus AS SourceListStatus,
  I_MPPurchasingSourceItem.PurchasingOrganization AS PurchasingOrganization,
  I_MPPurchasingSourceItem.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_MPPurchasingSourceItem.SourceListRecordCategory AS SourceListRecordCategory,
  I_MPPurchasingSourceItem.MRPSourcingControl AS MRPSourcingControl,
  I_MPPurchasingSourceItem.MRPArea AS MRPArea,
  I_MPPurchasingSourceItem.OrderQuantityUnit AS OrderQuantityUnit,
  I_MPPurchasingSourceItem.OriginSystem AS OriginSystem,
  I_MPPurchasingSourceItem.InventorySpecialStockType AS InventorySpecialStockType,
  I_MPPurchasingSourceItem.LastChangeDateTime AS LastChangeDateTime,
  cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
  I_MPPurchasingSourceItem._MPPurchasingSource AS _MPPurchasingSource,
  I_MPPurchasingSourceItem._Material AS _Material,
  I_MPPurchasingSourceItem._Plant AS _Plant,
  I_MPPurchasingSourceItem._Supplier AS _Supplier,
  I_MPPurchasingSourceItem._PurchaseContract AS _PurchaseContract,
  I_MPPurchasingSourceItem._PurchaseContractItem AS _PurchaseContractItem,
  I_MPPurchasingSourceItem._SupplyingPlant AS _SupplyingPlant,
  I_MPPurchasingSourceItem._PurchasingOrganization AS _PurchasingOrganization,
  I_MPPurchasingSourceItem._MaterialPlanningUsage_SL AS _MaterialPlanningUsage_SL,
  I_MPPurchasingSourceItem._MPPurchasingSourceStatus AS _MPPurchasingSourceStatus,
  I_MPPurchasingSourceItem._UnitOfMeasure AS _UnitOfMeasure,
  I_MPPurchasingSourceItem._LogicalSystem AS _LogicalSystem
FROM I_MPPurchasingSourceItem
;