I_MPPurchasingSourceItem
Source List Item
I_MPPurchasingSourceItem is a Basic CDS View that provides data about "Source List Item" in SAP S/4HANA. It reads from 1 data source (eord) and exposes 39 fields with key fields Material, Plant, SourceListRecord. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eord | eord | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MPPurchasingSource | _MPPurchasingSource | $projection.Material = _MPPurchasingSource.Material and $projection.Plant = _MPPurchasingSource.Plant |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_PurchaseContract | _PurchaseContract | $projection.PurchaseOutlineAgreement = _PurchaseContract.PurchaseContract |
| [0..1] | I_PurchaseContractItem | _PurchaseContractItem | $projection.PurchaseOutlineAgreement = _PurchaseContractItem.PurchaseContract and $projection.PurchaseOutlineAgreementItem = _PurchaseContractItem.PurchaseContractItem |
| [0..1] | I_Plant | _SupplyingPlant | $projection.SupplyingPlant = _SupplyingPlant.Plant |
| [1..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | I_MaterialPlanningUsage_SL | _MaterialPlanningUsage_SL | $projection.MRPSourcingControl = _MaterialPlanningUsage_SL.MRPSourcingControl |
| [0..1] | I_MPPurchasingSourceStatus | _MPPurchasingSourceStatus | $projection.SourceListStatus = _MPPurchasingSourceStatus.SourceListStatus |
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.OrderQuantityUnit = _UnitOfMeasure.UnitOfMeasure |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.OriginSystem = _LogicalSystem.LogicalSystem |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPPRSRCITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Source List Item | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | matnr | ||
| KEY | Plant | werks | ||
| KEY | SourceListRecord | zeord | ||
| CreationDate | erdat | |||
| CreatedByUserName | ernam | |||
| ValidityStartDate | vdatu | |||
| ValidityEndDate | bdatu | |||
| Supplier | lifnr | |||
| SupplierIsFixed | flifn | |||
| PurchaseOutlineAgreement | ebeln | |||
| PurchaseOutlineAgreementItem | ebelp | |||
| PurOutlineAgreementIsFixed | febel | |||
| SupplyingPlant | reswk | |||
| IssgPlantIsFixed | fresw | |||
| ManufacturerMaterial | ematn | |||
| SourceOfSupplyIsBlocked | notkz | |||
| SourceOfSupplyIsFixed | ||||
| SourceListStatus | ||||
| PurchasingOrganization | ekorg | |||
| PurchasingDocumentCategory | vrtyp | |||
| SourceListRecordCategory | eortp | |||
| MRPSourcingControl | autet | |||
| MRPArea | ||||
| OrderQuantityUnit | meins | |||
| OriginSystem | logsy | |||
| InventorySpecialStockType | sobkz | |||
| LastChangeDateTime | lastchangedatetime | |||
| _MPPurchasingSource | _MPPurchasingSource | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _PurchaseContract | _PurchaseContract | |||
| _PurchaseContractItem | _PurchaseContractItem | |||
| _SupplyingPlant | _SupplyingPlant | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _MaterialPlanningUsage_SL | _MaterialPlanningUsage_SL | |||
| _MPPurchasingSourceStatus | _MPPurchasingSourceStatus | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _LogicalSystem | _LogicalSystem |
@AbapCatalog.sqlViewName: 'IMPPRSRCITM'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Source List Item'
@VDM.viewType: #BASIC
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
define view I_MPPurchasingSourceItem
as select from eord
association [1..1] to I_MPPurchasingSource as _MPPurchasingSource on $projection.Material = _MPPurchasingSource.Material
and $projection.Plant = _MPPurchasingSource.Plant
association [1..1] to I_Material as _Material on $projection.Material = _Material.Material
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
association [0..1] to I_PurchaseContract as _PurchaseContract on $projection.PurchaseOutlineAgreement = _PurchaseContract.PurchaseContract
association [0..1] to I_PurchaseContractItem as _PurchaseContractItem on $projection.PurchaseOutlineAgreement = _PurchaseContractItem.PurchaseContract
and $projection.PurchaseOutlineAgreementItem = _PurchaseContractItem.PurchaseContractItem
association [0..1] to I_Plant as _SupplyingPlant on $projection.SupplyingPlant = _SupplyingPlant.Plant
association [1..1] to I_PurchasingOrganization as _PurchasingOrganization on $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
association [0..1] to I_MaterialPlanningUsage_SL as _MaterialPlanningUsage_SL on $projection.MRPSourcingControl = _MaterialPlanningUsage_SL.MRPSourcingControl
association [0..1] to I_MPPurchasingSourceStatus as _MPPurchasingSourceStatus on $projection.SourceListStatus = _MPPurchasingSourceStatus.SourceListStatus
association [1..1] to I_UnitOfMeasure as _UnitOfMeasure on $projection.OrderQuantityUnit = _UnitOfMeasure.UnitOfMeasure
association [0..1] to I_LogicalSystem as _LogicalSystem on $projection.OriginSystem = _LogicalSystem.LogicalSystem
{
// //--[ GENERATED:012:GlBfhyJl7jY4iqjegx09IG
// @Consumption.valueHelpDefinition: [
// { entity: { name: 'I_MaterialStdVH',
// element: 'Material' }
// }]
// // ]--GENERATED
@ObjectModel.foreignKey.association: '_Material'
key matnr as Material,
@ObjectModel.foreignKey.association: '_Plant'
key werks as Plant,
key zeord as SourceListRecord,
@Semantics.businessDate.createdAt: true
erdat as CreationDate,
@Semantics.user.createdBy: true
ernam as CreatedByUserName,
@Semantics.businessDate.from: true
vdatu as ValidityStartDate,
@Semantics.businessDate.to: true
bdatu as ValidityEndDate,
// //--[ GENERATED:012:GlBfhyJl7jY4iqjegx09IG
// @Consumption.valueHelpDefinition: [
// { entity: { name: 'I_Supplier_Vh',
// element: 'Supplier' }
// }]
// // ]--GENERATED
@ObjectModel.text.association: '_Supplier'
@ObjectModel.foreignKey.association: '_Supplier'
lifnr as Supplier,
flifn as SupplierIsFixed,
// //--[ GENERATED:012:GlBfhyJl7jY4iqjegx09IG
// @Consumption.valueHelpDefinition: [
// { entity: { name: 'I_PurchaseContractStdVH',
// element: 'PurchaseContract' }
// }]
// // ]--GENERATED
@ObjectModel.foreignKey.association: '_PurchaseContract'
ebeln as PurchaseOutlineAgreement,
ebelp as PurchaseOutlineAgreementItem,
febel as PurOutlineAgreementIsFixed,
@ObjectModel.foreignKey.association: '_SupplyingPlant'
reswk as SupplyingPlant,
fresw as IssgPlantIsFixed,
ematn as ManufacturerMaterial,
notkz as SourceOfSupplyIsBlocked,
cast( '' as flag ) as SourceOfSupplyIsFixed,
@ObjectModel.foreignKey.association: '_MPPurchasingSourceStatus'
cast( '' as sl_status ) as SourceListStatus,
@ObjectModel.foreignKey.association: '_PurchasingOrganization'
ekorg as PurchasingOrganization,
vrtyp as PurchasingDocumentCategory,
eortp as SourceListRecordCategory,
@ObjectModel.foreignKey.association: '_MaterialPlanningUsage_SL'
autet as MRPSourcingControl,
cast('' as abap.char(10) ) as MRPArea,
@ObjectModel.foreignKey.association: '_UnitOfMeasure'
@Semantics.unitOfMeasure: true
meins as OrderQuantityUnit,
@ObjectModel.foreignKey.association: '_LogicalSystem'
logsy as OriginSystem,
sobkz as InventorySpecialStockType,
lastchangedatetime as LastChangeDateTime,
_MPPurchasingSource,
/*Exposed Associations*/
_Material,
_Plant,
_Supplier,
_PurchaseContract,
_PurchaseContractItem,
_SupplyingPlant,
_PurchasingOrganization,
_MaterialPlanningUsage_SL,
_MPPurchasingSourceStatus,
_UnitOfMeasure,
_LogicalSystem
}
where
_Supplier.IsBusinessPurposeCompleted = ''
or _Supplier.IsBusinessPurposeCompleted is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPLIER",
"EORD"
],
"ASSOCIATED":
[
"I_LOGICALSYSTEM",
"I_MATERIAL",
"I_MATERIALPLANNINGUSAGE_SL",
"I_MPPURCHASINGSOURCE",
"I_MPPURCHASINGSOURCESTATUS",
"I_PLANT",
"I_PURCHASECONTRACT",
"I_PURCHASECONTRACTITEM",
"I_PURCHASINGORGANIZATION",
"I_SUPPLIER",
"I_UNITOFMEASURE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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