R_SourcingProjectItem
Item in Sourcing Project
R_SourcingProjectItem is a Basic CDS View that provides data about "Item in Sourcing Project" in SAP S/4HANA. It reads from 1 data source (mmsrcgpitem) and exposes 64 fields with key field SourcingProjectItemUUID. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmsrcgpitem | mmsrcgpitem | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SourcingProject | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
| [0..1] | I_Currency | _ItemDocumentCurrency | $projection.DocumentCurrency = _ItemDocumentCurrency.Currency |
| [0..1] | I_UnitOfMeasure | _RequestedQuantityUnit | $projection.RequestedQuantityUnit = _RequestedQuantityUnit.UnitOfMeasure |
| [0..1] | I_SourcingProjectItemType | _SourcingProjectItemType | $projection.SourcingProjectItemType = _SourcingProjectItemType.SourcingProjectItemType |
| [0..1] | I_SrcgProjItemClassification | _SrcgProjItemClassification | $projection.SourcingProjectItemType = _SrcgProjItemClassification.SourcingProjectItemType and $projection.SrcgProjItemClassification = _SrcgProjItemClassification.SrcgProjItemClassification |
| [0..1] | R_SourcingProjectItem | _SourceSourcingProjectItem | $projection.SourceSourcingProjectItemUUID = _SourceSourcingProjectItem.SourcingProjectItemUUID |
| [0..1] | I_SrcgProjItemDemandConfCode | _SrcgProjItemDemandConfCode | $projection.SrcgProjItemDemandConfCode = _SrcgProjItemDemandConfCode.SrcgProjItemDemandConfCode |
| [0..1] | I_ProductSourcingReason | _SourcingProjectReason | $projection.SrcgProjItemUnconfdDemandRsn = _SourcingProjectReason.ProductSourcingReason |
| [0..1] | I_SourcingProjectType | _SourcingProjectType | $projection.sourcingprojecttype = _SourcingProjectType.SourcingProjectType |
| [1..1] | E_SourcingProjectItem | _Extension | $projection.SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | RSRCGPROJITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | SourcingProjectItemUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Item in Sourcing Project | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectItemUUID | sourcingprojectitemuuid | ||
| SourcingProjectItem | sourcingprojectitem | |||
| SourcingProjectUUID | sourcingprojectuuid | |||
| SourcingProjectItemType | sourcingprojectitemtype | |||
| SrcgProjItemClassification | srcgprojitemclassification | |||
| SourcingProjectItemStableUUID | sourcingprojectitemstableuuid | |||
| SrcgProjItemDescription | srcgprojitemdescription | |||
| Material | material | |||
| ProductType | producttype | |||
| MaterialGroup | materialgroup | |||
| SrcgProjItemTargetAmount | srcgprojitemtargetamount | |||
| SrcgProjItmTgtAmtQuantity | srcgprojitmtgtamtquantity | |||
| SrcgProjItemTotalTargetAmount | srcgprojitemtotaltargetamount | |||
| RequestedQuantity | requestedquantity | |||
| MaximumRequestedQuantity | maximumrequestedquantity | |||
| RequestedQuantityUnit | requestedquantityunit | |||
| RequestedDeliveryDate | requesteddeliverydate | |||
| PerformancePeriodStartDate | performanceperiodstartdate | |||
| PerformancePeriodEndDate | performanceperiodenddate | |||
| OrderItemQtyToBaseQtyNmrtr | orderitemqtytobaseqtynmrtr | |||
| OrderItemQtyToBaseQtyDnmntr | orderitemqtytobaseqtydnmntr | |||
| Plant | plant | |||
| CompanyCode | companycode | |||
| PurchasingGroup | purchasinggroup | |||
| PurchasingOrganization | purchasingorganization | |||
| ProcurementHubSourceSystem | procurementhubsourcesystem | |||
| StorageLocation | storagelocation | |||
| ProcmtHubPlantUniqueID | procmthubplantuniqueid | |||
| SourcingProjectItemParent | sourcingprojectitemparent | |||
| HierarchyNodeLevel | hierarchynodelevel | |||
| AlternativeItemID | alternativeitemid | |||
| FormattedItemID | formatteditemid | |||
| HierarchyNodeSubTreeSize | hierarchynodesubtreesize | |||
| PurchaseRequisition | purchaserequisition | |||
| PurchaseRequisitionItem | purchaserequisitionitem | |||
| SrcgProjFollowOnDocumentCat | srcgprojfollowondocumentcat | |||
| SrcgProjFollowOnDocumentType | srcgprojfollowondocumenttype | |||
| CentralPurchaseContract | centralpurchasecontract | |||
| CentralPurchaseContractItem | centralpurchasecontractitem | |||
| SourceSourcingProjectItemUUID | sourcesourcingprojectitemuuid | |||
| DocumentCurrency | _SourcingProject | DocumentCurrency | ||
| SourcingProjectType | _SourcingProject | SourcingProjectType | ||
| SrcgProjItemDemandConfCode | srcgprojitemdemandconfcode | |||
| SrcgProjItemUnconfdDemandRsn | srcgprojitemunconfddemandrsn | |||
| ProcmtPlanningBundleItemUUID | procmtplanningbundleitemuuid | |||
| SourcingOrigin | sourcingorigin | |||
| SourcingScenario | sourcingscenario | |||
| SrcgProjectItemSettledStatus | srcgprojectitemsettledstatus | |||
| SrcgProjAttchsAreForbidden | srcgprojattchsareforbidden | |||
| RequestedDeliveryDateIsChanged | requesteddeliverydateischanged | |||
| SuplrCostBreakdownTemplateUUID | suplrcostbreakdowntemplateuuid | |||
| SupplierCostBreakdownIsEnabled | suppliercostbreakdownisenabled | |||
| CostBrkdwnAttchCrtnIsRequired | costbrkdwnattchcrtnisrequired | |||
| SrcgProjItmTargetAmountIsFixed | srcgprojitmtargetamountisfixed | |||
| SrcgProjItmTgtAmtQtyIsFixed | srcgprojitmtgtamtqtyisfixed | |||
| _SourcingProject | _SourcingProject | |||
| _RequestedQuantityUnit | _RequestedQuantityUnit | |||
| _SourcingProjectItemType | _SourcingProjectItemType | |||
| _SrcgProjItemClassification | _SrcgProjItemClassification | |||
| _SrcgProjItemDemandConfCode | _SrcgProjItemDemandConfCode | |||
| _SourcingProjectReason | _SourcingProjectReason | |||
| _SourceSourcingProjectItem | _SourceSourcingProjectItem | |||
| _ItemDocumentCurrency | _ItemDocumentCurrency | |||
| _SourcingProjectType | _SourcingProjectType |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: { sqlViewName: 'RSRCGPROJITM',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel:{
representativeKey: 'SourcingProjectItemUUID',
semanticKey: ['SourcingProjectItem'],
usageType: {
dataClass: #TRANSACTIONAL,
// Service Quality A/B needed
serviceQuality: #A,
sizeCategory: #M
}
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@EndUserText.label: 'Item in Sourcing Project'
define view R_SourcingProjectItem
as select from mmsrcgpitem
association [1..1] to R_SourcingProject as _SourcingProject on $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
//foreign key associations
association [0..1] to I_Currency as _ItemDocumentCurrency on $projection.DocumentCurrency = _ItemDocumentCurrency.Currency
association [0..1] to I_UnitOfMeasure as _RequestedQuantityUnit on $projection.RequestedQuantityUnit = _RequestedQuantityUnit.UnitOfMeasure
association [0..1] to I_SourcingProjectItemType as _SourcingProjectItemType on $projection.SourcingProjectItemType = _SourcingProjectItemType.SourcingProjectItemType
association [0..1] to I_SrcgProjItemClassification as _SrcgProjItemClassification on $projection.SourcingProjectItemType = _SrcgProjItemClassification.SourcingProjectItemType
and $projection.SrcgProjItemClassification = _SrcgProjItemClassification.SrcgProjItemClassification
association [0..1] to R_SourcingProjectItem as _SourceSourcingProjectItem on $projection.SourceSourcingProjectItemUUID = _SourceSourcingProjectItem.SourcingProjectItemUUID
association [0..1] to I_SrcgProjItemDemandConfCode as _SrcgProjItemDemandConfCode on $projection.SrcgProjItemDemandConfCode = _SrcgProjItemDemandConfCode.SrcgProjItemDemandConfCode
association [0..1] to I_ProductSourcingReason as _SourcingProjectReason on $projection.SrcgProjItemUnconfdDemandRsn = _SourcingProjectReason.ProductSourcingReason
association [0..1] to I_SourcingProjectType as _SourcingProjectType on $projection.sourcingprojecttype = _SourcingProjectType.SourcingProjectType
//Extension
association [1..1] to E_SourcingProjectItem as _Extension on $projection.SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID
{
key sourcingprojectitemuuid as SourcingProjectItemUUID,
sourcingprojectitem as SourcingProjectItem,
sourcingprojectuuid as SourcingProjectUUID,
sourcingprojectitemtype as SourcingProjectItemType,
srcgprojitemclassification as SrcgProjItemClassification,
sourcingprojectitemstableuuid as SourcingProjectItemStableUUID,
srcgprojitemdescription as SrcgProjItemDescription,
material as Material,
producttype as ProductType,
materialgroup as MaterialGroup,
@Semantics.amount.currencyCode: 'DocumentCurrency'
srcgprojitemtargetamount as SrcgProjItemTargetAmount,
@Semantics.quantity.unitOfMeasure: 'RequestedQuantityUnit'
srcgprojitmtgtamtquantity as SrcgProjItmTgtAmtQuantity,
@Semantics.amount.currencyCode: 'DocumentCurrency'
srcgprojitemtotaltargetamount as SrcgProjItemTotalTargetAmount,
@Semantics.quantity.unitOfMeasure: 'RequestedQuantityUnit'
// @Semantics.quantity.unitOfMeasureIsoCode: 'RequestedQuantityISOUnit'
// @Semantics.quantity.unitOfMeasureSapCode: 'RequestedQuantitySAPUnit'
requestedquantity as RequestedQuantity,
@Semantics.quantity.unitOfMeasure: 'RequestedQuantityUnit'
// @Semantics.quantity.unitOfMeasureIsoCode: 'RequestedQuantityISOUnit'
// @Semantics.quantity.unitOfMeasureSapCode: 'RequestedQuantitySAPUnit'
maximumrequestedquantity as MaximumRequestedQuantity,
// @Semantics.unitOfMeasure: true
@ObjectModel: { foreignKey.association: '_RequestedQuantityUnit' }
requestedquantityunit as RequestedQuantityUnit,
// _RequestedQuantityUnit.UnitOfMeasureISOCode as RequestedQuantityISOUnit,
// _RequestedQuantityUnit.UnitOfMeasureSAPCode as RequestedQuantitySAPUnit,
requesteddeliverydate as RequestedDeliveryDate,
performanceperiodstartdate as PerformancePeriodStartDate,
performanceperiodenddate as PerformancePeriodEndDate,
orderitemqtytobaseqtynmrtr as OrderItemQtyToBaseQtyNmrtr,
orderitemqtytobaseqtydnmntr as OrderItemQtyToBaseQtyDnmntr,
plant as Plant,
companycode as CompanyCode,
purchasinggroup as PurchasingGroup,
purchasingorganization as PurchasingOrganization,
procurementhubsourcesystem as ProcurementHubSourceSystem,
storagelocation as StorageLocation,
procmthubplantuniqueid as ProcmtHubPlantUniqueID,
//hierarchyparentnode as HierarchyParentNode,
sourcingprojectitemparent as SourcingProjectItemParent,
hierarchynodelevel as HierarchyNodeLevel,
alternativeitemid as AlternativeItemID,
formatteditemid as FormattedItemID,
hierarchynodesubtreesize as HierarchyNodeSubTreeSize,
purchaserequisition as PurchaseRequisition,
purchaserequisitionitem as PurchaseRequisitionItem,
srcgprojfollowondocumentcat as SrcgProjFollowOnDocumentCat,
srcgprojfollowondocumenttype as SrcgProjFollowOnDocumentType,
centralpurchasecontract as CentralPurchaseContract,
centralpurchasecontractitem as CentralPurchaseContractItem,
sourcesourcingprojectitemuuid as SourceSourcingProjectItemUUID,
// @Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_ItemDocumentCurrency'
_SourcingProject.DocumentCurrency as DocumentCurrency,
@ObjectModel.foreignKey.association: '_SourcingProjectType'
_SourcingProject.SourcingProjectType,
srcgprojitemdemandconfcode as SrcgProjItemDemandConfCode,
srcgprojitemunconfddemandrsn as SrcgProjItemUnconfdDemandRsn,
procmtplanningbundleitemuuid as ProcmtPlanningBundleItemUUID,
sourcingorigin as SourcingOrigin,
sourcingscenario as SourcingScenario,
srcgprojectitemsettledstatus as SrcgProjectItemSettledStatus,
srcgprojattchsareforbidden as SrcgProjAttchsAreForbidden,
requesteddeliverydateischanged as RequestedDeliveryDateIsChanged,
suplrcostbreakdowntemplateuuid as SuplrCostBreakdownTemplateUUID,
suppliercostbreakdownisenabled as SupplierCostBreakdownIsEnabled,
costbrkdwnattchcrtnisrequired as CostBrkdwnAttchCrtnIsRequired,
srcgprojitmtargetamountisfixed as SrcgProjItmTargetAmountIsFixed,
srcgprojitmtgtamtqtyisfixed as SrcgProjItmTgtAmtQtyIsFixed,
/* Associations */
_SourcingProject,
//foreign key associations
_RequestedQuantityUnit,
_SourcingProjectItemType,
_SrcgProjItemClassification,
_SrcgProjItemDemandConfCode,
_SourcingProjectReason,
_SourceSourcingProjectItem,
_ItemDocumentCurrency,
_SourcingProjectType
// _Extension
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_SOURCINGPROJECT",
"MMSRCGPITEM"
],
"ASSOCIATED":
[
"E_SOURCINGPROJECTITEM",
"I_CURRENCY",
"I_PRODUCTSOURCINGREASON",
"I_SOURCINGPROJECTITEMTYPE",
"I_SOURCINGPROJECTTYPE",
"I_SRCGPROJITEMCLASSIFICATION",
"I_SRCGPROJITEMDEMANDCONFCODE",
"I_UNITOFMEASURE",
"R_SOURCINGPROJECT"
],
"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