I_ProcmtHubPurReqnItem
Basic view for Ext Pur Req Item
I_ProcmtHubPurReqnItem is a Basic CDS View that provides data about "Basic view for Ext Pur Req Item" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_eban) and exposes 73 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcurementHubSourceSystem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmpur_ext_eban | mmpur_ext_eban | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPROCMTHUBPRITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Basic view for Ext Pur Req Item | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcmtHubPurchaseRequisition | purchaserequisition | Requisition | |
| KEY | ProcmtHubPurRequisitionItem | purchaserequisitionitem | Requisn. item | |
| KEY | ProcurementHubSourceSystem | extsourcesystem | Connected System ID | |
| ProcmtHubPurRequisitionType | purchaserequisitiontype | Order Type | ||
| ProcessingStatus | processingstatus | Worklist Status | ||
| ProcmtHubPurchasingGroup | purchasinggroup | Purchasing Group | ||
| PurchaseRequisitionItemText | purchaserequisitionitemtext | Short Text | ||
| ProcmtHubProduct | material | Vehicle Model | ||
| ProcmtHubPlant | plant | Valuation Area | ||
| ProcmtHubProductGroup | materialgroup | Product Group | ||
| RequestedQuantity | requestedquantity | Requested Quantity | ||
| BaseUnit | baseunit | Unit of Measure | ||
| DeliveryDate | deliverydate | Delivery Date | ||
| CreationDate | creationdate | Time Stamp | ||
| PurchaseRequisitionPrice | purchaserequisitionprice | Valuation Price | ||
| IsDeleted | isdeleted | TRUE | ||
| ProcmtHubAcctAssgmtCategory | accountassignmentcategory | Acct Assgmt Cat | ||
| ProcmtHubPurgDocItmCategory | purchasingdocumentitemcategory | Item Category | ||
| GoodsReceiptIsExpected | goodsreceiptisexpected | Goods Receipt | ||
| InvoiceIsExpected | invoiceisexpected | Invoice Receipt | ||
| ProcmtHubSupplier | supplier | Supplier | ||
| ProcmtHubFixedSupplier | fixedsupplier | Fixed Vendor | ||
| PurReqnItemCurrency | purreqnitemcurrency | Currency | ||
| IsPurReqnBlocked | ispurreqnblocked | Blocking Ind. | ||
| ProductType | producttype | Product Type Group | ||
| RequisitionerName | requisitionername | Requisitioner | ||
| ProcmtHubCreatedByUser | createdbyuser | User Name | ||
| PurchaseRequisitionIsFixed | purchaserequisitionisfixed | "Fixed" ind. | ||
| LastChangedDate | lastchangeddate | Created On | ||
| ProcmtHubSupplierProductNumber | suppliermaterialnumber | Supp. Mat. No. | ||
| ProcmtHubBatch | batch | Lot No. | ||
| ProcmtHubRequirementTracking | requirementtracking | Tracking Number | ||
| PurReqnItemBlockingReason | purreqnitemblockingreason | Blocking Text | ||
| PurReqnItemBlockingReasonText | purreqnitemblockingreason | Blocking Text | ||
| MaterialRevisionLevel | Revision Level | |||
| IsClosed | isclosed | Closed | ||
| MaterialPlannedDeliveryDurn | materialplanneddeliverydurn | Pl. Deliv. Time | ||
| MaterialGoodsReceiptDuration | materialgoodsreceiptduration | GR proc. time | ||
| PurchaseOrderPriceType | purchaseorderpricetype | PO price | ||
| GoodsReceiptIsNonValuated | goodsreceiptisnonvaluated | GR Non-Valuated | ||
| ProcmtHubSupplyingPlant | supplyingplant | Supplying Plant | ||
| ProcmtHubPurchaseContract | purchasecontract | Purchasing Doc. | ||
| ProcmtHubPurchaseContractItem | purchasecontractitem | Item | ||
| ProcmtHubPurchasingInfoRecord | purchasinginforecord | Info Record | ||
| ProcmtHubMRPController | mrpcontroller | MRP Controller | ||
| PurReqnOrigin | purreqnorigin | Creation ind. | ||
| ProcmtHubPurchasingOrg | purchasingorganization | Purchasing Organization | ||
| ServicePerformer | serviceperformer | Service Performer | ||
| PerformancePeriodStartDate | performanceperiodstartdate | Start of Performance Period | ||
| PerformancePeriodEndDate | performanceperiodenddate | End of Performance Period | ||
| PurchaseRequisitionReleaseDate | purchaserequisitionreleasedate | Release Date | ||
| OrderedQuantity | orderedquantity | Quantity | ||
| PurReqnPriceQuantity | purreqnpricequantity | Price unit | ||
| ProcmtHubCompanyCode | companycode | Receiver Company Code | ||
| PurReqnReleaseStatus | purreqnreleasestatus | Proc.state | ||
| PreferredSupplierName | desiredsuppliername | Name 1 | ||
| ProcmtHubSupplierName | fixedsuppliername | Name of Supplier | ||
| LastChangeDateTime | lastextractiontimestamp | Time Stamp | ||
| ProcmtHubServicePackage | servicepackage | Package number | ||
| StorageLocation | storagelocation | StorageLocation | ||
| curr152endasItemNetAmount | Total Value | |||
| ExpectedOverallLimitAmount | expectedoveralllimitamount | Expected Value | ||
| OverallLimitAmount | overalllimitamount | Overall Limit | ||
| ConsumptionPosting | consumptionposting | Consumption Posting | ||
| SourceOfSupplyIsAssigned | sourceofsupplyisassigned | Assigned | ||
| UserDescription | userdescription | Full Name | ||
| IsEndOfPurposeBlocked | isendofpurposeblocked | Busin. Purp. Cmpltd. | ||
| HasAttachment | hasattachment | Truth Value | ||
| HasNote | hasnote | TRUE | ||
| PurchaseReqnItemUniqueID | purchasereqnitemuniqueid | Purch. Doc. ID | ||
| PurReqnExternalSystemId | ext_be_src_sys | Connected System ID | ||
| PurReqnCmpltnsCat | purreqncmpltnscat | Incompl. Cat. | ||
| 000endasOpenQuantity |
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_ProcmtHubPurReqnItem.
-- 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: IPROCMTHUBPRITEM
CREATE VIEW I_ProcmtHubPurReqnItem AS
SELECT
purchaserequisition AS ProcmtHubPurchaseRequisition,
purchaserequisitionitem AS ProcmtHubPurRequisitionItem,
extsourcesystem AS ProcurementHubSourceSystem,
purchaserequisitiontype AS ProcmtHubPurRequisitionType,
ProcessingStatus,
purchasinggroup AS ProcmtHubPurchasingGroup,
PurchaseRequisitionItemText,
material AS ProcmtHubProduct,
plant AS ProcmtHubPlant,
materialgroup AS ProcmtHubProductGroup,
RequestedQuantity,
BaseUnit,
DeliveryDate,
CreationDate,
PurchaseRequisitionPrice,
IsDeleted,
accountassignmentcategory AS ProcmtHubAcctAssgmtCategory,
purchasingdocumentitemcategory AS ProcmtHubPurgDocItmCategory,
GoodsReceiptIsExpected,
InvoiceIsExpected,
supplier AS ProcmtHubSupplier,
fixedsupplier AS ProcmtHubFixedSupplier,
PurReqnItemCurrency,
IsPurReqnBlocked,
ProductType,
RequisitionerName,
createdbyuser AS ProcmtHubCreatedByUser,
PurchaseRequisitionIsFixed,
LastChangedDate,
suppliermaterialnumber AS ProcmtHubSupplierProductNumber,
batch AS ProcmtHubBatch,
requirementtracking AS ProcmtHubRequirementTracking,
PurReqnItemBlockingReason,
purreqnitemblockingreason AS PurReqnItemBlockingReasonText,
cast( materialrevisionlevel as vdm_qm_revlv) AS MaterialRevisionLevel,
IsClosed,
MaterialPlannedDeliveryDurn,
MaterialGoodsReceiptDuration,
PurchaseOrderPriceType,
GoodsReceiptIsNonValuated,
supplyingplant AS ProcmtHubSupplyingPlant,
purchasecontract AS ProcmtHubPurchaseContract,
purchasecontractitem AS ProcmtHubPurchaseContractItem,
purchasinginforecord AS ProcmtHubPurchasingInfoRecord,
mrpcontroller AS ProcmtHubMRPController,
PurReqnOrigin,
purchasingorganization AS ProcmtHubPurchasingOrg,
ServicePerformer,
PerformancePeriodStartDate,
PerformancePeriodEndDate,
PurchaseRequisitionReleaseDate,
OrderedQuantity,
PurReqnPriceQuantity,
companycode AS ProcmtHubCompanyCode,
PurReqnReleaseStatus,
desiredsuppliername AS PreferredSupplierName,
fixedsuppliername AS ProcmtHubSupplierName,
lastextractiontimestamp AS LastChangeDateTime,
servicepackage AS ProcmtHubServicePackage,
StorageLocation,
case when purreqnpricequantity = 0 then cast( requestedquantity * purchaserequisitionprice as abap.curr(15,2)) when purchasingdocumentitemcategory = 'A' then expectedoveralllimitamount else cast( division(requestedquantity * purchaserequisitionprice , purreqnpricequantity, 2) as abap.curr(15,2)) end as ItemNetAmount AS curr152endasItemNetAmount,
ExpectedOverallLimitAmount,
OverallLimitAmount,
ConsumptionPosting,
SourceOfSupplyIsAssigned,
UserDescription,
IsEndOfPurposeBlocked,
HasAttachment,
HasNote,
PurchaseReqnItemUniqueID,
ext_be_src_sys AS PurReqnExternalSystemId,
PurReqnCmpltnsCat,
case when requestedquantity > orderedquantity then requestedquantity - orderedquantity else 0.000 end as OpenQuantity AS 000endasOpenQuantity
FROM mmpur_ext_eban
;
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