R_PurchasingSourceListItemTP
Source List Item
R_PurchasingSourceListItemTP is a Transactional CDS View that provides data about "Source List Item" in SAP S/4HANA. It reads from 1 data source (I_MPPurchasingSourceItem) and exposes 45 fields with key fields SourceListRecord, Material, Plant. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MPPurchasingSourceItem | I_MPPurchasingSourceItem | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 | $projection.MRPSourcingControl = _MaterialPlanningUsage.MRPSourcingControl |
| [0..1] | I_MPPurchasingSourceStatus | _PurchasingSourceStatus | $projection.SourceListStatus = _PurchasingSourceStatus.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 |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Source List Item | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceListRecord | I_MPPurchasingSourceItem | SourceListRecord | Number |
| KEY | Material | I_MPPurchasingSourceItem | Material | Vehicle Model |
| KEY | Plant | I_MPPurchasingSourceItem | Plant | Valuation Area |
| MaterialForEdit | I_MPPurchasingSourceItem | Material | Vehicle Model | |
| PlantForEdit | I_MPPurchasingSourceItem | Plant | Valuation Area | |
| SourceListRecordForEdit | 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 | |
| PurchaseOutlineAgreement | I_MPPurchasingSourceItem | PurchaseOutlineAgreement | Agreement | |
| PurchaseOutlineAgreementItem | I_MPPurchasingSourceItem | PurchaseOutlineAgreementItem | Item | |
| PurchasingOrganization | I_MPPurchasingSourceItem | PurchasingOrganization | Purchasing Organization | |
| SupplyingPlant | I_MPPurchasingSourceItem | SupplyingPlant | Supplying Plant | |
| SupplierIsFixed | I_MPPurchasingSourceItem | SupplierIsFixed | Fixed Supplier | |
| PurOutlineAgreementIsFixed | I_MPPurchasingSourceItem | PurOutlineAgreementIsFixed | Fixed Agmt Item | |
| IssgPlantIsFixed | I_MPPurchasingSourceItem | IssgPlantIsFixed | Fixed iss.plant | |
| ManufacturerMaterial | I_MPPurchasingSourceItem | ManufacturerMaterial | MPN: Material | |
| SourceOfSupplyIsBlocked | I_MPPurchasingSourceItem | SourceOfSupplyIsBlocked | Blocked | |
| 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 | |
| _PurchaseContract | I_MPPurchasingSourceItem | _PurchaseContract | ||
| _PurchaseContractItem | I_MPPurchasingSourceItem | _PurchaseContractItem | ||
| _LogicalSystem | I_MPPurchasingSourceItem | _LogicalSystem | ||
| _PurchasingOrganization | I_MPPurchasingSourceItem | _PurchasingOrganization | ||
| _UnitOfMeasure | I_MPPurchasingSourceItem | _UnitOfMeasure | ||
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| PlantName | _Plant | PlantName | Plant Name | |
| MaterialName | _MaterialText | MaterialName | Material Description | |
| SupplyingPlantName | _SupplyingPlant | PlantName | Plant Name | |
| LastChangeDateTime | I_MPPurchasingSourceItem | LastChangeDateTime | Timestamp | |
| _PurchasingSourceTP | _PurchasingSourceTP | |||
| _MaterialPlanningUsage | _MaterialPlanningUsage | |||
| _PurchasingSourceStatus | _PurchasingSourceStatus | |||
| _MaterialText | _MaterialText | |||
| _Supplier | _Supplier | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _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 R_PurchasingSourceListItemTP.
-- 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.
CREATE VIEW R_PurchasingSourceListItemTP AS
SELECT
I_MPPurchasingSourceItem.SourceListRecord AS SourceListRecord,
I_MPPurchasingSourceItem.Material AS Material,
I_MPPurchasingSourceItem.Plant AS Plant,
I_MPPurchasingSourceItem.Material AS MaterialForEdit,
I_MPPurchasingSourceItem.Plant AS PlantForEdit,
I_MPPurchasingSourceItem.SourceListRecord AS SourceListRecordForEdit,
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.PurchaseOutlineAgreement AS PurchaseOutlineAgreement,
I_MPPurchasingSourceItem.PurchaseOutlineAgreementItem AS PurchaseOutlineAgreementItem,
I_MPPurchasingSourceItem.PurchasingOrganization AS PurchasingOrganization,
I_MPPurchasingSourceItem.SupplyingPlant AS SupplyingPlant,
I_MPPurchasingSourceItem.SupplierIsFixed AS SupplierIsFixed,
I_MPPurchasingSourceItem.PurOutlineAgreementIsFixed AS PurOutlineAgreementIsFixed,
I_MPPurchasingSourceItem.IssgPlantIsFixed AS IssgPlantIsFixed,
I_MPPurchasingSourceItem.ManufacturerMaterial AS ManufacturerMaterial,
I_MPPurchasingSourceItem.SourceOfSupplyIsBlocked AS SourceOfSupplyIsBlocked,
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._PurchaseContract AS _PurchaseContract,
I_MPPurchasingSourceItem._PurchaseContractItem AS _PurchaseContractItem,
I_MPPurchasingSourceItem._LogicalSystem AS _LogicalSystem,
I_MPPurchasingSourceItem._PurchasingOrganization AS _PurchasingOrganization,
I_MPPurchasingSourceItem._UnitOfMeasure AS _UnitOfMeasure,
_Supplier.SupplierName AS SupplierName,
_Plant.PlantName AS PlantName,
_MaterialText.MaterialName AS MaterialName,
_SupplyingPlant.PlantName AS SupplyingPlantName,
I_MPPurchasingSourceItem.LastChangeDateTime AS LastChangeDateTime
FROM I_MPPurchasingSourceItem
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 ON MRPSourcingControl = _MaterialPlanningUsage.MRPSourcingControl -- association [0..1]
LEFT OUTER JOIN I_MPPurchasingSourceStatus AS _PurchasingSourceStatus ON SourceListStatus = _PurchasingSourceStatus.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]
;
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