I_MRPSolutionItem

DDL: I_MRPSOLUTIONITEM SQL: IMRPSOLUTIONITEM Type: view BASIC

MRP Solution View Items

I_MRPSolutionItem is a Basic CDS View that provides data about "MRP Solution View Items" in SAP S/4HANA. It reads from 1 data source (mrp_sol_view) and exposes 104 fields with key fields RowIndex, MRPElement, MRPElementItem, MRPElementScheduleLine. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mrp_sol_view mrp_sol_view from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_UnitOfMeasure _UnitOfMeasure $projection.MaterialBaseUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMRPSOLUTIONITEM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label MRP Solution View Items view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (104)

KeyFieldSource TableSource FieldDescription
KEY RowIndex mrp_sol_view itemindex Loop Index
KEY MRPElement mrp_sol_view orderid Order ID
KEY MRPElementItem mrp_sol_view orderitemid MRP Element Item
KEY MRPElementScheduleLine mrp_sol_view orderschedulelineid Scheduling
AccountAssignmentCategory mrp_sol_view acctassignmentcategory Acct Assgmt Cat
Assembly mrp_sol_view assembly Pegged Reqmt
ChangeStateID mrp_sol_view changestateid Char
MRPElementItemComment mrp_sol_view itemcomment Text (200 char)
CompanyCode mrp_sol_view companycode Receiver Company Code
EmailAddress mrp_sol_view contactmail E-Mail Address
FullName mrp_sol_view contactname Full Name
MobilePhoneNumber mrp_sol_view contactphone Mobile Phone
CurrentDeliveryQuantity mrp_sol_view currentdlvquant Delivered Quantity
QuantityDenominator mrp_sol_view denominator Turn-over
Material mrp_sol_view materialid Material
MaterialBaseUnit mrp_sol_view materialbaseunit Valuation Unit
UnitOfMeasureTechnicalName mrp_sol_view materialbaseunitshort Technical
MaterialExternalID mrp_sol_view materialexternalid Material
MaterialGoodsReceiptDuration mrp_sol_view materialgoodsreceiptduration GR proc. time
MaterialGroupName mrp_sol_view materialgroupname prod Grp Desc.
MaterialProcurementType mrp_sol_view materialprocurementtype Spec. procuremt
MaterialSafetyStockQty mrp_sol_view materialsafetystockqty Safety Stock
MaterialShortageCriticalQty mrp_sol_view materialshortagecriticalqty Rec./reqd qty
MaterialShortageDefinition mrp_sol_view materialshortagedefinitionid Shortage Def. ID
MaterialShortageProfile mrp_sol_view materialshortageprofile Shortage Prf.
MaterialShortageProfileCount mrp_sol_view materialshortageprofilecount Counter
MaterialShortageQuantity mrp_sol_view materialshortagequantity Shortage Qty
MaterialShortageStartDate mrp_sol_view materialshortagestartdate Time Stamp
MaterialShortageEndDate mrp_sol_view materialshortageenddate Time Stamp
MaterialShortageQuantityThld mrp_sol_view materialshortagethresholdqty Rec./reqd qty
MRPArea mrp_sol_view mrparea MRP Area
AvailabilityDate mrp_sol_view mrpavailabilitydate Time Stamp
MRPAvailableQuantity mrp_sol_view mrpavailablequantity DEC 20 3
MRPAvailability mrp_sol_view mrpavailability MRP Availability
MRPElementAvailyOrRqmtDate mrp_sol_view mrpelementavorrqmtdate Time Stamp
MRPElementCategory mrp_sol_view mrpelementcategory MRP Elmnt Ind.
MRPElementCategoryShortName mrp_sol_view mrpelementcategoryshortname MRP element
MRPElementChgAvailyOrRqmtDate mrp_sol_view mrpelementchangedavorrqmtdate Time Stamp
MRPElementChangeDeliveryDate mrp_sol_view mrpelementchangeddeliverydate Time Stamp
MRPElementChangedOpenQuantity mrp_sol_view mrpelementchangedopenquantity Rec./reqd qty
MRPElementPlndDeliveryDate mrp_sol_view mrpelementdeliverydate Time Stamp
MRPElementDocumentType mrp_sol_view mrpelementdocumenttype P.O./Order type
MRPElementDocumentTypeName mrp_sol_view mrpelementdocumenttypename Character field, length 64
MRPElementExternalID mrp_sol_view orderid_ext MRP element number
MRPElementItemExternalID mrp_sol_view orderitemid_ext MRP Element Item
MRPElementOpenQuantity mrp_sol_view mrpelementopenquantity Rec./reqd qty
MRPElementQuantityIsFirm mrp_sol_view mrpelementquantityisfirm TRUE
MRPElementQtyUnitDisplayDcmls mrp_sol_view orderquantityunitdisplaydcmls Decimal Places
MRPElementScheduleLineExtID mrp_sol_view orderschedulelineid_ext Schedule Line
MRPElementUnit mrp_sol_view orderunit Commercial
QuantityUnitTechName mrp_sol_view orderunitshort Technical
MRPPlanningSegment mrp_sol_view mrpplanningsegmentnumber Plng Segmnt No.
MRPPlanningSegmentType mrp_sol_view mrpplanningsegmenttype MRP segment
MRPPlant mrp_sol_view mrpplant Plant
QuantityNumerator mrp_sol_view numerator Turn-over
OrderedChangedQuantity mrp_sol_view orderedchangedquantity Quantity
OrderedQuantity mrp_sol_view orderedquantity Quantity
OriginalTotalQuantity mrp_sol_view originaltotalquant Total Orig. Quantity
BaseUnit mrp_sol_view originaltotalquantbaseunit Base Unit
MRPElementIsPartiallyDelivered mrp_sol_view partiallydelivered TRUE
OrderQuantityUnitDcmls mrp_sol_view itemprecision No. of Decimals
ProposalPriority mrp_sol_view proposalranking Single-Character Flag
PurchaseContract mrp_sol_view purchasecontract Purchasing Doc.
PurchaseContractItem mrp_sol_view purchasecontractitem Item
PurchaseOrderType mrp_sol_view purchaseordertype PO Type
PurchasingDocumentCategory mrp_sol_view purchasingdocumentcategory Doc. Category
PurchasingInfoRecord mrp_sol_view purchasinginforecord Info Record
PurchasingGroup mrp_sol_view purchasinggroup Purchasing Group
PurchasingOrganization mrp_sol_view purchasingorganization Purchasing Organization
ReceivingPlant mrp_sol_view receivingplant Receiving Plant
ReceivingStorageLocation mrp_sol_view receivingstoragelocation RecStorLoc
MRPElementIsReleased mrp_sol_view released TRUE
MRPRequestStatus mrp_sol_view requeststatus Request Status
SalesOrder mrp_sol_view salesorder SD Document
SalesOrderItem mrp_sol_view salesorderitem Sales Order Item
SolutionRequestStatus mrp_sol_view solution_option Change Req. Status
MaterialShortageSolutionType mrp_sol_view solution_type Sol. Type
SourceMRPElement mrp_sol_view sourcemrpelement MRP element number
SourceMRPElementCategory mrp_sol_view sourcemrpelementcategory MRP Elmnt Ind.
SourceMRPElementItem mrp_sol_view sourcemrpelementitem MRP elemnt item
SourceMRPElementScheduleLine mrp_sol_view sourcemrpelementscheduleline Schedule Line
StorageLocation mrp_sol_view storagelocation StorageLocation
SupplyingStorageLocation mrp_sol_view supplyingstoragelocation Location
HasSuppliedInThePast mrp_sol_view supplyinthepast Char01
TargetDate mrp_sol_view targetdate Time Stamp
TargetQuantity mrp_sol_view targetquantity Target Quantity
TargetQuantityUnitDcmls mrp_sol_view targetquantityunitdisplaydcmls Decimal Places
TargetTotalQuantity mrp_sol_view targettotalquant Total Target Qty
UnitOfMeasure_E mrp_sol_view unitofmeasurecommercialname Commercial
Supplier mrp_sol_view vendor Vendor
SupplierName mrp_sol_view vendorname Name
SupplierPlant mrp_sol_view vendorplant Plant
MRPRequestSupplierResponse mrp_sol_view vendorstatus Vendor's Response
WBSElement mrp_sol_view wbselement WBS Internal ID
MRPElementBusinessPartnerType mrp_sol_view bp_type Business Part. Type
NumberOfMRPRequirements mrp_sol_view requirementcounter Requirement Counter
IsProposal mrp_sol_view isproposal TRUE
MRPRunSimulationIsActive mrp_sol_view issimulationactive TRUE
IncreaseQuantity
MaterialShortageSolution mrp_sol_view solutionindex Loop Index
NumberOfDaysToReschedule mrp_sol_view solutionreschedule Number of Days to Reschulde
SimulationQuantity mrp_sol_view simulationquantiy Quantity
SimulationDateTime mrp_sol_view simulationdate Time Stamp
_UnitOfMeasure _UnitOfMeasure

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_MRPSolutionItem.
-- 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: IMRPSOLUTIONITEM

CREATE VIEW I_MRPSolutionItem AS
SELECT
  mrp_sol_view.itemindex AS RowIndex,
  mrp_sol_view.orderid AS MRPElement,
  mrp_sol_view.orderitemid AS MRPElementItem,
  mrp_sol_view.orderschedulelineid AS MRPElementScheduleLine,
  mrp_sol_view.acctassignmentcategory AS AccountAssignmentCategory,
  mrp_sol_view.assembly AS Assembly,
  mrp_sol_view.changestateid AS ChangeStateID,
  mrp_sol_view.itemcomment AS MRPElementItemComment,
  mrp_sol_view.companycode AS CompanyCode,
  mrp_sol_view.contactmail AS EmailAddress,
  mrp_sol_view.contactname AS FullName,
  mrp_sol_view.contactphone AS MobilePhoneNumber,
  mrp_sol_view.currentdlvquant AS CurrentDeliveryQuantity,
  mrp_sol_view.denominator AS QuantityDenominator,
  mrp_sol_view.materialid AS Material,
  mrp_sol_view.materialbaseunit AS MaterialBaseUnit,
  mrp_sol_view.materialbaseunitshort AS UnitOfMeasureTechnicalName,
  mrp_sol_view.materialexternalid AS MaterialExternalID,
  mrp_sol_view.materialgoodsreceiptduration AS MaterialGoodsReceiptDuration,
  mrp_sol_view.materialgroupname AS MaterialGroupName,
  mrp_sol_view.materialprocurementtype AS MaterialProcurementType,
  mrp_sol_view.materialsafetystockqty AS MaterialSafetyStockQty,
  mrp_sol_view.materialshortagecriticalqty AS MaterialShortageCriticalQty,
  mrp_sol_view.materialshortagedefinitionid AS MaterialShortageDefinition,
  mrp_sol_view.materialshortageprofile AS MaterialShortageProfile,
  mrp_sol_view.materialshortageprofilecount AS MaterialShortageProfileCount,
  mrp_sol_view.materialshortagequantity AS MaterialShortageQuantity,
  mrp_sol_view.materialshortagestartdate AS MaterialShortageStartDate,
  mrp_sol_view.materialshortageenddate AS MaterialShortageEndDate,
  mrp_sol_view.materialshortagethresholdqty AS MaterialShortageQuantityThld,
  mrp_sol_view.mrparea AS MRPArea,
  mrp_sol_view.mrpavailabilitydate AS AvailabilityDate,
  mrp_sol_view.mrpavailablequantity AS MRPAvailableQuantity,
  mrp_sol_view.mrpavailability AS MRPAvailability,
  mrp_sol_view.mrpelementavorrqmtdate AS MRPElementAvailyOrRqmtDate,
  mrp_sol_view.mrpelementcategory AS MRPElementCategory,
  mrp_sol_view.mrpelementcategoryshortname AS MRPElementCategoryShortName,
  mrp_sol_view.mrpelementchangedavorrqmtdate AS MRPElementChgAvailyOrRqmtDate,
  mrp_sol_view.mrpelementchangeddeliverydate AS MRPElementChangeDeliveryDate,
  mrp_sol_view.mrpelementchangedopenquantity AS MRPElementChangedOpenQuantity,
  mrp_sol_view.mrpelementdeliverydate AS MRPElementPlndDeliveryDate,
  mrp_sol_view.mrpelementdocumenttype AS MRPElementDocumentType,
  mrp_sol_view.mrpelementdocumenttypename AS MRPElementDocumentTypeName,
  mrp_sol_view.orderid_ext AS MRPElementExternalID,
  mrp_sol_view.orderitemid_ext AS MRPElementItemExternalID,
  mrp_sol_view.mrpelementopenquantity AS MRPElementOpenQuantity,
  mrp_sol_view.mrpelementquantityisfirm AS MRPElementQuantityIsFirm,
  mrp_sol_view.orderquantityunitdisplaydcmls AS MRPElementQtyUnitDisplayDcmls,
  mrp_sol_view.orderschedulelineid_ext AS MRPElementScheduleLineExtID,
  mrp_sol_view.orderunit AS MRPElementUnit,
  mrp_sol_view.orderunitshort AS QuantityUnitTechName,
  mrp_sol_view.mrpplanningsegmentnumber AS MRPPlanningSegment,
  mrp_sol_view.mrpplanningsegmenttype AS MRPPlanningSegmentType,
  mrp_sol_view.mrpplant AS MRPPlant,
  mrp_sol_view.numerator AS QuantityNumerator,
  mrp_sol_view.orderedchangedquantity AS OrderedChangedQuantity,
  mrp_sol_view.orderedquantity AS OrderedQuantity,
  mrp_sol_view.originaltotalquant AS OriginalTotalQuantity,
  mrp_sol_view.originaltotalquantbaseunit AS BaseUnit,
  mrp_sol_view.partiallydelivered AS MRPElementIsPartiallyDelivered,
  mrp_sol_view.itemprecision AS OrderQuantityUnitDcmls,
  mrp_sol_view.proposalranking AS ProposalPriority,
  mrp_sol_view.purchasecontract AS PurchaseContract,
  mrp_sol_view.purchasecontractitem AS PurchaseContractItem,
  mrp_sol_view.purchaseordertype AS PurchaseOrderType,
  mrp_sol_view.purchasingdocumentcategory AS PurchasingDocumentCategory,
  mrp_sol_view.purchasinginforecord AS PurchasingInfoRecord,
  mrp_sol_view.purchasinggroup AS PurchasingGroup,
  mrp_sol_view.purchasingorganization AS PurchasingOrganization,
  mrp_sol_view.receivingplant AS ReceivingPlant,
  mrp_sol_view.receivingstoragelocation AS ReceivingStorageLocation,
  mrp_sol_view.released AS MRPElementIsReleased,
  mrp_sol_view.requeststatus AS MRPRequestStatus,
  mrp_sol_view.salesorder AS SalesOrder,
  mrp_sol_view.salesorderitem AS SalesOrderItem,
  mrp_sol_view.solution_option AS SolutionRequestStatus,
  mrp_sol_view.solution_type AS MaterialShortageSolutionType,
  mrp_sol_view.sourcemrpelement AS SourceMRPElement,
  mrp_sol_view.sourcemrpelementcategory AS SourceMRPElementCategory,
  mrp_sol_view.sourcemrpelementitem AS SourceMRPElementItem,
  mrp_sol_view.sourcemrpelementscheduleline AS SourceMRPElementScheduleLine,
  mrp_sol_view.storagelocation AS StorageLocation,
  mrp_sol_view.supplyingstoragelocation AS SupplyingStorageLocation,
  mrp_sol_view.supplyinthepast AS HasSuppliedInThePast,
  mrp_sol_view.targetdate AS TargetDate,
  mrp_sol_view.targetquantity AS TargetQuantity,
  mrp_sol_view.targetquantityunitdisplaydcmls AS TargetQuantityUnitDcmls,
  mrp_sol_view.targettotalquant AS TargetTotalQuantity,
  mrp_sol_view.unitofmeasurecommercialname AS UnitOfMeasure_E,
  mrp_sol_view.vendor AS Supplier,
  mrp_sol_view.vendorname AS SupplierName,
  mrp_sol_view.vendorplant AS SupplierPlant,
  mrp_sol_view.vendorstatus AS MRPRequestSupplierResponse,
  mrp_sol_view.wbselement AS WBSElement,
  mrp_sol_view.bp_type AS MRPElementBusinessPartnerType,
  mrp_sol_view.requirementcounter AS NumberOfMRPRequirements,
  mrp_sol_view.isproposal AS IsProposal,
  mrp_sol_view.issimulationactive AS MRPRunSimulationIsActive,
  ( mrp_sol_view.targettotalquant - mrp_sol_view.mrpelementopenquantity ) AS IncreaseQuantity,
  mrp_sol_view.solutionindex AS MaterialShortageSolution,
  mrp_sol_view.solutionreschedule AS NumberOfDaysToReschedule,
  mrp_sol_view.simulationquantiy AS SimulationQuantity,
  mrp_sol_view.simulationdate AS SimulationDateTime
FROM mrp_sol_view
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON MaterialBaseUnit = _UnitOfMeasure.UnitOfMeasure  -- association [1..1]
;