I_ProjectMaterialCompBasicData
Basic Data for Proj Material Component
I_ProjectMaterialCompBasicData (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
ProjNtwkActyMaterialComponent · R&D Engineering
I_ProjectMaterialCompBasicData is a Basic CDS View (Fact) that provides data about "Basic Data for Proj Material Component" in SAP S/4HANA. It reads from 1 data source (resb) and exposes 97 fields with key fields Reservation, ReservationItem, RecordType. It has 10 associations to related views.
SAP Help Documentation
| Category | Network |
|---|---|
| Data Category | FACT |
| Status | Released |
This CDS view provides the prerequisites for answering the following business questions: What is the relevant master data for selected material component(s)? What are the key objects associated with the material component?
Structure
Business Object This view is built on the business objects Material Component. Measures and attributes Some important measures and attributes are: Details of reservation item, material, and associated objects
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | PS-ST |
| Capabilities | Data Source for Data Extraction |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| resb | resb | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProjMatCompAdditionalData | _ProjMatCompAdditionalData | $projection.Reservation = _ProjMatCompAdditionalData.Reservation and $projection.ReservationItem = _ProjMatCompAdditionalData.ReservationItem and $projection.RecordType = _ProjMatCompAdditionalData.RecordType |
| [1..1] | I_ProjectNetworkBasicData | _ProjectNetworkBasicData | $projection.ProjectNetworkInternalID = _ProjectNetworkBasicData.ProjectNetworkInternalID and _ProjectNetworkBasicData.OrderCategory = '20' |
| [0..1] | I_ProjNtwkActyMatBOMAssembly | _ProjNtwkActyMatBOMAssembly | $projection.BillOfMaterialCategory = _ProjNtwkActyMatBOMAssembly.BillOfMaterialCategory and $projection.BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial and $projection.BillOfMaterialVariant = _ProjNtwkActyMatBOMAssembly.BillOfMaterialVariant |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [0..1] | I_BomItemCategoryText | _BillOfMatItemCategoryText | $projection.BOMItemCategory = _BillOfMatItemCategoryText.BillOfMaterialItemCategory and _BillOfMatItemCategoryText.Language = $session.system_language |
| [0..1] | I_MRPQuantityDistrKeyText | _MRPQuantityDistrKeyText | $projection.Plant = _MRPQuantityDistrKeyText.Plant and $projection.QuantityDistributionKey = _MRPQuantityDistrKeyText.QuantityDistributionKey and _MRPQuantityDistrKeyText.Language = $session.system_language |
| [0..1] | I_PurchaseRequisitionItemBasic | _PurchaseRequisitionItemBasic | $projection.Reservation = _PurchaseRequisitionItemBasic.SettlementReservation and $projection.ReservationItem = _PurchaseRequisitionItemBasic.SettlementReservationItem and _PurchaseRequisitionItemBasic.IsDeleted = ' ' |
| [1..1] | E_ReservationDocumentItem | _ReservationExtension | $projection.Reservation = _ReservationExtension.Reservation and $projection.ReservationItem = _ReservationExtension.ReservationItem and $projection.RecordType = _ReservationExtension.RecordType |
| [1..1] | E_ProjectMaterialComponent | _MaterialExtension | $projection.Reservation = _MaterialExtension.Reservation and $projection.ReservationItem = _MaterialExtension.ReservationItem and $projection.RecordType = _MaterialExtension.RecordType |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRJMATCOMBASDAT | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Basic Data for Proj Material Component | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | ProjNtwkActyMaterialComponent | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (97)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | resb | rsnum | Number of reservation/dependent requirements |
| KEY | ReservationItem | Item Number of Reservation / Dependent Requirements | ||
| KEY | RecordType | resb | rsart | Record type |
| ProjectNetworkInternalID | resb | aufpl | Routing number of operations in the order | |
| NetworkActivityInternalID | resb | aplzl | Internal counter | |
| ProjectNetwork | Order Number | |||
| NetworkActivity | Activity number in network and standard network | |||
| Material | resb | matnr | Material Number | |
| MatlCompRequirementDate | Requirements date for the component | |||
| DeliveryDurationInDays | Delivery time in days | |||
| GoodsReceiptDurationInDays | resb | webaz | Goods receipt processing time in days | |
| Currency | Currency Key | |||
| Plant | resb | werks | Receiving Plant | |
| BillOfMaterialItemNumber | Undefined range (can be used for patch levels) | |||
| MaterialComponentObject | resb | objnr | Val. Obj. No. | |
| GoodsMovementType | Movement Type (Inventory Management) | |||
| MaterialComponentIsMissing | Missing Part | |||
| OpenQuantity | Open Quantity | |||
| ReservationIsFinallyIssued | resb | kzear | Final Issue for Reservation | |
| SalesOrder | Sales Order | |||
| SalesOrderItem | Sales Order Item | |||
| GoodsRecipientName | Recipient Name | |||
| UnloadingPointName | Unloading Point | |||
| GoodsMovementIsAllowed | Goods Movement for Reservation Allowed | |||
| MatlCompIsMarkedForDeletion | Deletion Indicator | |||
| StorageLocation | Storage Location | |||
| PurchasingGroup | Purchasing Group | |||
| ReceivedQuantity | Received Quantity of Goods/Services | |||
| ShortfallQuantity | Shortfall Quantity of Component in Order | |||
| MRPRequiredQuantityInBaseUnit | resb | lmeng | Required quantity for mat.management in stockkeeping units | |
| MaterialCompIsCostRelevant | Indicator for Relevancy to Costing | |||
| Creditor | resb | lifnr | Account Number of Supplier | |
| MaterialComponentPrice | resb | gpreis | Price in component currency | |
| MaterialPriceUnitQty | resb | peinh | Price Per Unit | |
| MatlCompIsMarkedForBackflush | Indicator: Backflush | |||
| GLAccount | G/L Account Number | |||
| IsBulkMaterialComponent | Indicator: bulk material | |||
| ConsumptionPosting | resb | kzvbr | Consumption posting | |
| ProjectObjectChangeNumber | resb | aennr | Change Number | |
| FormulaKey | Formula Key | |||
| BOMItemCategory | Item Category (BOM) | |||
| RqmtDateIsEnteredManually | Manual Maintenance of Requirement Date | |||
| ProductionSeries | BOM explosion number | |||
| OperationLeadTimeOffset | Lead-time offset for operation | |||
| OperationLeadTimeOffsetUnit | Unit for lead-time offset for operation | |||
| BOMItemDescription | BOM Item Text (Line 1) | |||
| NumberOfAssignedMaterials | 1 | |||
| BillOfMaterialCategory | resb | stlty | Single-Character Flag | |
| BillOfMaterialInternalID | Bill Of Material | |||
| BillOfMaterialVariant | resb | stlal | Alternative BOM | |
| MatlCompIsProcuredExternally | resb | flgex | Indicator: External procurement | |
| IsPreliminaryOrder | resb | vorab | Ind: Preliminary order | |
| AccountAssignmentCategory | resb | knttp | Account Assignment Category | |
| MaterialCompIsSpecialStock | resb | sobkz | Special Stock Indicator | |
| RequirementPlan | resb | pbdnr | Requirements Plan | |
| MatlCompIsTextItem | resb | txtps | Item is Text indicator | |
| DistributionFunction | resb | funct | Distribution function | |
| QuantityDistributionKey | resb | verti | MRP Distribution Key | |
| SortField | Sort Field | |||
| MatlCompIsRelevantForMRP | resb | no_disp | Effective for Materials Planning | |
| Batch | resb | charg | Chargeable Proc. | |
| BaseUnit | Base Unit of Measure | |||
| EntryUnit | Base Unit of Measure | |||
| ConfirmedAvailableQuantity | resb | vmeng | Confirmed quantity for availability check in SKU | |
| RequirementQuantityInBaseUnit | resb | bdmng | Requirement Quantity | |
| erfmgendasQuantityInEntryUnit | ||||
| MaterialQtyToBaseQtyDnmntr | resb | umren | Denominator for conversion to base units of measure | |
| QuantityNumerator | resb | umrez | Numerator for Conversion to Base Units of Measure | |
| PurchasingInfoRecord | resb | infnr | Number of purchasing info record | |
| MaterialGroup | resb | matkl | Product Sold Group | |
| VariableSizeDimension1 | resb | roms1 | Size 1 | |
| VariableSizeDimension2 | resb | roms2 | Size 2 | |
| VariableSizeDimension3 | resb | roms3 | Size 3 | |
| VariableSizeDimensionUnit | resb | romei | Unit of measure for sizes 1 to 3 | |
| VariableSizeCompFormulaKey | resb | rform | Formula Key for Variable-Size Items | |
| NumberOfVariableSizeItem | Number of Variable-Size Items | |||
| QuantityInUnitOfEntry | resb | nomng | Input Quantity | |
| VariableSizeItemQuantity | resb | romen | Variable-Size Item Quantity per Piece (PC) | |
| VariableSizeComponentUnit | resb | rokme | Unit of Measure for Variable-Size Item | |
| ProductTypeGroupCode | resb | producttype | Product Type Group | |
| ServicePerformer | resb | serviceperformer | Service Performer | |
| PerformancePeriodStartDate | resb | startdate | Start Date for Period of Performance | |
| PerformancePeriodEndDate | resb | enddate | End Date for Period of Performance | |
| LeanServiceDuration | resb | serviceduration | Duration of Lean Service | |
| LeanServiceDurationUnit | resb | servicedurationunit | Duration Unit for a Lean Service | |
| WBSElementInternalID | WBS Element | |||
| FldLogsDelivIsHeldOnShore | resb | fldlogsdelivisheldonshore | Hold On-Shore | |
| FldLogsSupplyProcess | resb | fldlogssupplyprocess | Supply Process | |
| FldLogsSupProcVersion | resb | fldlogsversion | Version | |
| _ProjMatCompAdditionalData | _ProjMatCompAdditionalData | |||
| _ProjectNetworkBasicData | _ProjectNetworkBasicData | |||
| _ProjNtwkActyMatBOMAssembly | _ProjNtwkActyMatBOMAssembly | |||
| _StorageLocation | _StorageLocation | |||
| _MaterialText | _MaterialText | |||
| _BillOfMatItemCategoryText | _BillOfMatItemCategoryText | |||
| _MRPQuantityDistrKeyText | _MRPQuantityDistrKeyText | |||
| _PurchaseRequisitionItemBasic | _PurchaseRequisitionItemBasic |
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 I_ProjectMaterialCompBasicData.
-- 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: IPRJMATCOMBASDAT
CREATE VIEW I_ProjectMaterialCompBasicData AS
SELECT
resb.rsnum AS Reservation,
cast ( resb.rspos as ps_s4_rspos preserving type ) AS ReservationItem,
resb.rsart AS RecordType,
resb.aufpl AS ProjectNetworkInternalID,
resb.aplzl AS NetworkActivityInternalID,
cast ( resb.aufnr as ps_s4_aufnr preserving type ) AS ProjectNetwork,
cast ( resb.vornr as ps_vornr preserving type ) AS NetworkActivity,
resb.matnr AS Material,
cast ( resb.bdter as ps_s4_bdter preserving type ) AS MatlCompRequirementDate,
cast ( resb.lifzt as ps_s4_lifzt ) AS DeliveryDurationInDays,
resb.webaz AS GoodsReceiptDurationInDays,
cast ( resb.waers as waers ) AS Currency,
resb.werks AS Plant,
cast ( resb.posnr as char4 preserving type ) AS BillOfMaterialItemNumber,
resb.objnr AS MaterialComponentObject,
cast ( resb.bwart as bwartwa ) AS GoodsMovementType,
cast ( resb.xfehl as xfehl ) AS MaterialComponentIsMissing,
resb.bdmng - resb.enmng AS OpenQuantity,
resb.kzear AS ReservationIsFinallyIssued,
cast ( resb.kdauf as ps_s4_kdauf ) AS SalesOrder,
cast ( resb.kdpos as ps_s4_kdpos ) AS SalesOrderItem,
cast ( resb.wempf as ps_s4_wempf ) AS GoodsRecipientName,
cast ( resb.ablad as ps_s4_ablad preserving type ) AS UnloadingPointName,
cast ( resb.xwaok as xwaok ) AS GoodsMovementIsAllowed,
cast ( resb.xloek as ps_s4_loevm ) AS MatlCompIsMarkedForDeletion,
cast ( resb.lgort as ps_s4_lgort_d preserving type ) AS StorageLocation,
cast ( resb.ekgrp as ekgrp ) AS PurchasingGroup,
cast ( resb.enmng as mmiv_quantity_received ) AS ReceivedQuantity,
cast ( resb.flmng as ps_s4_flmng ) AS ShortfallQuantity,
resb.lmeng AS MRPRequiredQuantityInBaseUnit,
cast ( resb.sanka as ps_s4_ck_selkz ) AS MaterialCompIsCostRelevant,
resb.lifnr AS Creditor,
resb.gpreis AS MaterialComponentPrice,
resb.peinh AS MaterialPriceUnitQty,
cast ( resb.rgekz as rgekz ) AS MatlCompIsMarkedForBackflush,
cast ( resb.saknr as saknr ) AS GLAccount,
cast ( resb.schgt as schgt ) AS IsBulkMaterialComponent,
resb.kzvbr AS ConsumptionPosting,
resb.aennr AS ProjectObjectChangeNumber,
cast ( resb.rform as ps_s4_rform preserving type ) AS FormulaKey,
cast ( resb.postp as ps_s4_postp preserving type ) AS BOMItemCategory,
cast ( resb.kzmpf as ps_s4_kzmpf ) AS RqmtDateIsEnteredManually,
cast ( resb.sernr as ps_s4_sernr ) AS ProductionSeries,
cast ( resb.nlfzv as ps_s4_cs_nlfzv ) AS OperationLeadTimeOffset,
cast ( resb.nlfmv as ps_s4_cs_nlfmv ) AS OperationLeadTimeOffsetUnit,
cast ( resb.potx1 as ps_s4_potx1 ) AS BOMItemDescription,
1 AS NumberOfAssignedMaterials,
resb.stlty AS BillOfMaterialCategory,
cast( resb.stlnr as pph_stnum preserving type ) AS BillOfMaterialInternalID,
resb.stlal AS BillOfMaterialVariant,
resb.flgex AS MatlCompIsProcuredExternally,
resb.vorab AS IsPreliminaryOrder,
resb.knttp AS AccountAssignmentCategory,
resb.sobkz AS MaterialCompIsSpecialStock,
resb.pbdnr AS RequirementPlan,
resb.txtps AS MatlCompIsTextItem,
resb.funct AS DistributionFunction,
resb.verti AS QuantityDistributionKey,
cast ( resb.sortf as eqfnr ) AS SortField,
resb.no_disp AS MatlCompIsRelevantForMRP,
resb.charg AS Batch,
cast ( resb.meins as meins ) AS BaseUnit,
cast ( resb.erfme as meins ) AS EntryUnit,
resb.vmeng AS ConfirmedAvailableQuantity,
resb.bdmng AS RequirementQuantityInBaseUnit,
case when resb.shkzg = 'S' then resb.erfmg * -1 else resb.erfmg end as QuantityInEntryUnit AS erfmgendasQuantityInEntryUnit,
resb.umren AS MaterialQtyToBaseQtyDnmntr,
resb.umrez AS QuantityNumerator,
resb.infnr AS PurchasingInfoRecord,
resb.matkl AS MaterialGroup,
resb.roms1 AS VariableSizeDimension1,
resb.roms2 AS VariableSizeDimension2,
resb.roms3 AS VariableSizeDimension3,
resb.romei AS VariableSizeDimensionUnit,
resb.rform AS VariableSizeCompFormulaKey,
cast(resb.roanz as vdm_roanz) AS NumberOfVariableSizeItem,
resb.nomng AS QuantityInUnitOfEntry,
resb.romen AS VariableSizeItemQuantity,
resb.rokme AS VariableSizeComponentUnit,
resb.producttype AS ProductTypeGroupCode,
resb.serviceperformer AS ServicePerformer,
resb.startdate AS PerformancePeriodStartDate,
resb.enddate AS PerformancePeriodEndDate,
resb.serviceduration AS LeanServiceDuration,
resb.servicedurationunit AS LeanServiceDurationUnit,
cast( resb.pspel as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
resb.fldlogsdelivisheldonshore AS FldLogsDelivIsHeldOnShore,
resb.fldlogssupplyprocess AS FldLogsSupplyProcess,
resb.fldlogsversion AS FldLogsSupProcVersion
FROM resb
LEFT OUTER JOIN I_ProjMatCompAdditionalData AS _ProjMatCompAdditionalData ON Reservation = _ProjMatCompAdditionalData.Reservation AND ReservationItem = _ProjMatCompAdditionalData.ReservationItem AND RecordType = _ProjMatCompAdditionalData.RecordType -- association [0..1]
LEFT OUTER JOIN I_ProjectNetworkBasicData AS _ProjectNetworkBasicData ON ProjectNetworkInternalID = _ProjectNetworkBasicData.ProjectNetworkInternalID AND _ProjectNetworkBasicData.OrderCategory = '20' -- association [1..1]
LEFT OUTER JOIN I_ProjNtwkActyMatBOMAssembly AS _ProjNtwkActyMatBOMAssembly ON BillOfMaterialCategory = _ProjNtwkActyMatBOMAssembly.BillOfMaterialCategory AND BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial AND BillOfMaterialVariant = _ProjNtwkActyMatBOMAssembly.BillOfMaterialVariant -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_BomItemCategoryText AS _BillOfMatItemCategoryText ON BOMItemCategory = _BillOfMatItemCategoryText.BillOfMaterialItemCategory AND _BillOfMatItemCategoryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MRPQuantityDistrKeyText AS _MRPQuantityDistrKeyText ON Plant = _MRPQuantityDistrKeyText.Plant AND QuantityDistributionKey = _MRPQuantityDistrKeyText.QuantityDistributionKey AND _MRPQuantityDistrKeyText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PurchaseRequisitionItemBasic AS _PurchaseRequisitionItemBasic ON Reservation = _PurchaseRequisitionItemBasic.SettlementReservation AND ReservationItem = _PurchaseRequisitionItemBasic.SettlementReservationItem AND _PurchaseRequisitionItemBasic.IsDeleted = ' ' -- association [0..1]
LEFT OUTER JOIN E_ReservationDocumentItem AS _ReservationExtension ON Reservation = _ReservationExtension.Reservation AND ReservationItem = _ReservationExtension.ReservationItem AND RecordType = _ReservationExtension.RecordType -- association [1..1]
LEFT OUTER JOIN E_ProjectMaterialComponent AS _MaterialExtension ON Reservation = _MaterialExtension.Reservation AND ReservationItem = _MaterialExtension.ReservationItem AND RecordType = _MaterialExtension.RecordType -- 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