I_MRPMaterialSituation

DDL: I_MRPMATERIALSITUATION SQL: IMRPSITUATIONS Type: view BASIC

Material Situations View

I_MRPMaterialSituation is a Basic CDS View that provides data about "Material Situations View" in SAP S/4HANA. It reads from 1 data source (mrp_situations) and exposes 16 fields with key fields Material, Plant, MRPArea, MRPElement, MRPElementItem.

Data Sources (1)

SourceAliasJoin Type
mrp_situations mrp_situations from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IMRPSITUATIONS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Material Situations View 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 (16)

KeyFieldSource TableSource FieldDescription
KEY Material materialid Material
KEY Plant mrpplant Plant
KEY MRPArea mrparea MRP Area
KEY MRPElement mrpelementnumber MRP element number
KEY MRPElementItem mrpelementitem MRP elemnt item
KEY MRPElementScheduleLine schedulelinenumber Scheduling
KEY SourceMRPElementCategory mrpelementcategory MRP Elmnt Ind.
KEY MRPPlanningSegmentType mrpplanningsegmenttype MRP segment
KEY MRPPlanningSegment mrpplanningsegment Plng Segmnt No.
KEY MatlExcptnSituationHandlingID materialexceptionid
MRPController mrpcontroller MRP Controller
ExceptionMessageNumber exceptionkey Key
ExceptionMessageText exceptionmessage
MRPElementCategoryName mrpelementcategoryshortname MRP element
BusinessPartner mrpelementbusinesspartnerid Supplier
MatlExcptnSituationType mrpsituation MRP Situation

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_MRPMaterialSituation.
-- 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: IMRPSITUATIONS

CREATE VIEW I_MRPMaterialSituation AS
SELECT
  materialid AS Material,
  mrpplant AS Plant,
  MRPArea,
  mrpelementnumber AS MRPElement,
  MRPElementItem,
  schedulelinenumber AS MRPElementScheduleLine,
  mrpelementcategory AS SourceMRPElementCategory,
  MRPPlanningSegmentType,
  MRPPlanningSegment,
  materialexceptionid AS MatlExcptnSituationHandlingID,
  MRPController,
  exceptionkey AS ExceptionMessageNumber,
  exceptionmessage AS ExceptionMessageText,
  mrpelementcategoryshortname AS MRPElementCategoryName,
  mrpelementbusinesspartnerid AS BusinessPartner,
  mrpsituation AS MatlExcptnSituationType
FROM mrp_situations
;