I_PrmtHbRpldPurchaseReqnItem
Basic View for Ext Pur Req Item Rplctd
I_PrmtHbRpldPurchaseReqnItem is a Basic CDS View that provides data about "Basic View for Ext Pur Req Item Rplctd" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_eban) and exposes 90 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcurementHubSourceSystem. Part of development package VDM_MM_PUR_EXT_PR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmpur_ext_eban | mmpur_ext_eban | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRMTHBPRITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Basic View for Ext Pur Req Item Rplctd | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.preserveKey | true | view |
Fields (90)
| 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 | ||
| 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 | ||
| PrmtHbLimitItemCurrency | prmthblimititemcurrency | Currency | ||
| ExpectedOverallLimitAmount | expectedoveralllimitamount | Expected Value | ||
| OverallLimitAmount | overalllimitamount | Overall Limit | ||
| PrmtHbConsumptionLimitAmount | prmthbconsumptionlimitamount | Consumption Value | ||
| PurContractForOverallLimit | purcontractforoveralllimit | Contract For Limit | ||
| PurContractItemForOverallLimit | purcontractitemforoveralllimit | PurCon Itm for Limit | ||
| PrmtHbItemIsLimit | prmthbitemislimit | TRUE | ||
| 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 | ||
| PurReqnCmpltnsCat | purreqncmpltnscat | Incompl. Cat. | ||
| ProcmtHubPurgObjCtrlInd | procmthubpurgobjctrlind | Control | ||
| ItemDeliveryAddressID | itemdeliveryaddressid | Address | ||
| PurReqnIsValdInCntrlReqnProcg | central_purreqn_proc | Is Central PR Procg. | ||
| PurchasingDocumentUniqueID | ||||
| ProcmtHubPrpsdFllwOnDoc | procmthubprpsdfllwondoc | Purchasing Doc. | ||
| ProcmtHubPrpsdFllwOnDocCat | procmthubprpsdfllwondoccat | Doc. Category | ||
| PurReqnHasDelegateApproval | purreqnhasdelegateapproval | PurReq Ext. approval | ||
| MultipleAcctAssgmtDistribution | multipleacctassgmtdistribution | Distribution | ||
| PrmtHbPurReqnMatlGrpRecmdnSts | matgrp_rcmd_status | MatGrp Rcmdn Status | ||
| PrmtHbRpldPurReqnSLAID | prmthbrpldpurreqnslaid | |||
| PrmtHbRpldPurReqnSLAStrtDteTme | prmthbrpldpurreqnslastrtdtetme | |||
| PrmtHbRpldPurReqnSLAEndDteTme | prmthbrpldpurreqnslaenddtetme | |||
| PrmtHbRpldPurReqnSLAStatus | prmthbrpldpurreqnslastatus | |||
| PurReqnDescription | purreqndescription | PurReqn Description | ||
| RespyMgmtGlobalTeamID | globalteamid | Global Team ID | ||
| PrmHbRplPurRqExtSrcgStggSts | mmpur_pr_ext_sourcing_status |
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_PrmtHbRpldPurchaseReqnItem.
-- 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: IPRMTHBPRITEM
CREATE VIEW I_PrmtHbRpldPurchaseReqnItem 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,
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,
PrmtHbLimitItemCurrency,
ExpectedOverallLimitAmount,
OverallLimitAmount,
PrmtHbConsumptionLimitAmount,
PurContractForOverallLimit,
PurContractItemForOverallLimit,
PrmtHbItemIsLimit,
ConsumptionPosting,
SourceOfSupplyIsAssigned,
UserDescription,
IsEndOfPurposeBlocked,
HasAttachment,
HasNote,
PurchaseReqnItemUniqueID,
PurReqnCmpltnsCat,
ProcmtHubPurgObjCtrlInd,
ItemDeliveryAddressID,
central_purreqn_proc AS PurReqnIsValdInCntrlReqnProcg,
cast( concat(purchaserequisition , purchaserequisitionitem ) as purgdocnodeuniqueid ) AS PurchasingDocumentUniqueID,
ProcmtHubPrpsdFllwOnDoc,
ProcmtHubPrpsdFllwOnDocCat,
PurReqnHasDelegateApproval,
MultipleAcctAssgmtDistribution,
matgrp_rcmd_status AS PrmtHbPurReqnMatlGrpRecmdnSts,
PrmtHbRpldPurReqnSLAID,
PrmtHbRpldPurReqnSLAStrtDteTme,
PrmtHbRpldPurReqnSLAEndDteTme,
PrmtHbRpldPurReqnSLAStatus,
PurReqnDescription,
globalteamid AS RespyMgmtGlobalTeamID,
mmpur_pr_ext_sourcing_status AS PrmHbRplPurRqExtSrcgStggSts
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