I_MRPPurReqForHandoverSts
MRP PurchRequisition for Handover Status
I_MRPPurReqForHandoverSts is a Composite CDS View that provides data about "MRP PurchRequisition for Handover Status" in SAP S/4HANA. It has 5 associations to related views. Part of development package ODATA_PP_MRP.
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductSupplyPlanning | _ProdSupPlan | _ProdSupPlan.Product = PreqItem.Material and _ProdSupPlan.Plant = PreqItem.Plant |
| [0..1] | I_MaterialMRPArea | _MaterialMRPArea | $projection.Material = _MaterialMRPArea.Material and $projection.MRPPlant = _MaterialMRPArea.Plant and $projection.MRPArea = _MaterialMRPArea.MRPArea and _MaterialMRPArea.DeletionIndicator = '' |
| [0..1] | I_PurgDocumentItemCategory | _PurgDocumentItemCategory | $projection.MaterialProcurementCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory |
| [1..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | E_Purchaserequisitionitem | _Extension | $projection.PurchaseRequisition = _Extension.PurchaseRequisition and $projection.PurchaseRequisitionItem = _Extension.PurchaseRequisitionItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMRPPURREQHNDSTS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.dataMaintenance | true | view | |
| EndUserText.label | MRP PurchRequisition for Handover Status | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisition | PurchaseRequisition | Requisition | |
| KEY | PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | |
| ExternalApprovalStatus | ExternalApprovalStatus | Ext Prcsng. Status | ||
| Material | PreqItem | Material | Vehicle Model | |
| MaterialName | ||||
| MRPPlant | PreqItem | Plant | Valuation Area | |
| MRPArea | MRPArea | MRP Area | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| MRPController | PreqItem | MRPController | MRP Controller | |
| PurchaseRequisitionType | PurchaseRequisitionType | Order Type | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| MRPGroupendasMRPGroup | ||||
| FixedSupplier | PreqItem | FixedSupplier | Fixed Vendor | |
| FixedSupplierendasSupplier | ||||
| SupplierName | ||||
| SupplierFullName | ||||
| RequestedQuantity | PreqItem | RequestedQuantity | Requested Quantity | |
| OrderedQuantity | OrderedQuantity | Quantity | ||
| OpenQuantity | ||||
| MaterialMinLotSizeQuantity | _ProdSupPlan | MinimumLotSizeQuantity | Min. Lot Size | |
| MaterialMaxLotSizeQuantity | _ProdSupPlan | MaximumLotSizeQuantity | Max. Lot Size | |
| PurchaseRequisitionUnit | PreqItem | BaseUnit | Unit of Measure | |
| DeliveryDate | PreqItem | DeliveryDate | Delivery Date | |
| PurchaseRequisitionReleaseDate | PreqItem | PurchaseRequisitionReleaseDate | Release Date | |
| MaterialPlannedDeliveryDurn | PreqItem | MaterialPlannedDeliveryDurn | Pl. Deliv. Time | |
| MaterialGoodsReceiptDuration | PreqItem | MaterialGoodsReceiptDuration | GR proc. time | |
| MaterialProcurementCategory | PreqItem | PurchasingDocumentItemCategory | Item Category | |
| MaterialProcurementCatName | ||||
| SalesOrder | _PurReqnAcctAssgmt | SalesOrder | SD Document | |
| SalesOrderItem | _PurReqnAcctAssgmt | SalesOrderItem | Sales Order Item | |
| Customer | PreqItem | PurReqnReceivingCustomer | ||
| CustomerName | _Customer | BPCustomerName | Name of Customer | |
| IsDeleted | IsDeleted | TRUE | ||
| UnitOfMeasureDspNmbrOfDcmls | _UnitOfMeasure | UnitOfMeasureDspNmbrOfDcmls | ||
| UnitOfMeasureNumberOfDecimals | _UnitOfMeasure | UnitOfMeasureNumberOfDecimals | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| _PurchaseRequisition | _PurchaseRequisition | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _PurgDocumentItemCategory | _PurgDocumentItemCategory |
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_MRPPurReqForHandoverSts.
-- 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: IMRPPURREQHNDSTS
CREATE VIEW I_MRPPurReqForHandoverSts AS
SELECT
PurchaseRequisition,
PurchaseRequisitionItem,
ExternalApprovalStatus,
PreqItem.Material AS Material,
PreqItem._Material._Text[1: Language = $session.system_language].MaterialName AS MaterialName,
PreqItem.Plant AS MRPPlant,
MRPArea,
SupplyingPlant,
PreqItem.MRPController AS MRPController,
PurchaseRequisitionType,
PurchasingOrganization,
PurchasingGroup,
case when _MaterialMRPArea.MRPGroup is not null and _MaterialMRPArea.MRPGroup != '' then _MaterialMRPArea.MRPGroup else _ProdSupPlan.MRPGroup end as MRPGroup AS MRPGroupendasMRPGroup,
PreqItem.FixedSupplier AS FixedSupplier,
case PreqItem.FixedSupplier when '' then PreqItem.Supplier else PreqItem.FixedSupplier end as Supplier AS FixedSupplierendasSupplier,
PreqItem._Supplier.BPSupplierName AS SupplierName,
PreqItem._Supplier.BPSupplierFullName AS SupplierFullName,
PreqItem.RequestedQuantity AS RequestedQuantity,
OrderedQuantity,
cast(PreqItem.RequestedQuantity - PreqItem.OrderedQuantity as obamg) AS OpenQuantity,
_ProdSupPlan.MinimumLotSizeQuantity AS MaterialMinLotSizeQuantity,
_ProdSupPlan.MaximumLotSizeQuantity AS MaterialMaxLotSizeQuantity,
PreqItem.BaseUnit AS PurchaseRequisitionUnit,
PreqItem.DeliveryDate AS DeliveryDate,
PreqItem.PurchaseRequisitionReleaseDate AS PurchaseRequisitionReleaseDate,
PreqItem.MaterialPlannedDeliveryDurn AS MaterialPlannedDeliveryDurn,
PreqItem.MaterialGoodsReceiptDuration AS MaterialGoodsReceiptDuration,
PreqItem.PurchasingDocumentItemCategory AS MaterialProcurementCategory,
_PurgDocumentItemCategory._Text[1: Language = $session.system_language].PurgDocItemCategoryName AS MaterialProcurementCatName,
_PurReqnAcctAssgmt.SalesOrder AS SalesOrder,
_PurReqnAcctAssgmt.SalesOrderItem AS SalesOrderItem,
PreqItem.PurReqnReceivingCustomer AS Customer,
_Customer.BPCustomerName AS CustomerName,
IsDeleted,
_UnitOfMeasure.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
_UnitOfMeasure.UnitOfMeasureNumberOfDecimals AS UnitOfMeasureNumberOfDecimals,
LastChangeDateTime,
StorageLocation
LEFT OUTER JOIN I_ProductSupplyPlanning AS _ProdSupPlan ON _ProdSupPlan.Product = PreqItem.Material AND _ProdSupPlan.Plant = PreqItem.Plant -- association [0..1]
LEFT OUTER JOIN I_MaterialMRPArea AS _MaterialMRPArea ON Material = _MaterialMRPArea.Material AND MRPPlant = _MaterialMRPArea.Plant AND MRPArea = _MaterialMRPArea.MRPArea AND _MaterialMRPArea.DeletionIndicator = '' -- association [0..1]
LEFT OUTER JOIN I_PurgDocumentItemCategory AS _PurgDocumentItemCategory ON MaterialProcurementCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN E_Purchaserequisitionitem AS _Extension ON PurchaseRequisition = _Extension.PurchaseRequisition AND PurchaseRequisitionItem = _Extension.PurchaseRequisitionItem -- association [0..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