I_MRPController

DDL: I_MRPCONTROLLER SQL: IPPMRPCONTROLLER Type: view BASIC

MRP Controller

I_MRPController (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

MRP Controller · Manufacturing

I_MRPController is a Basic CDS View (Dimension) that provides data about "MRP Controller" in SAP S/4HANA. It reads from 1 data source (t024d) and exposes 13 fields with key field Plant. It has 6 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical Dimension, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Search, Data Source for Data Extraction
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which MRP controllers are maintained in a plant?</p></li> <li><p>What are the names of MRP controllers?</p></li> <li><p>Which business areas and profit centers are assigned to an MRP controller?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
t024d t024d from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_User _User $projection.UserID = _User.UserID
[1..1] I_Plant _PlantText $projection.Plant = _PlantText.Plant
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName IPPMRPCONTROLLER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MRPController view
ObjectModel.sapObjectNodeType.name MRPController view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
Search.searchable true view
EndUserText.label MRP Controller view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Plant t024d werks Receiving Plant
MRPControllerName MRP Controller Name
MRPControllerPhoneNumber MRP Controller's Phone Number
PurchasingGroup t024d ekgrp Sub. purchasing grp
BusinessArea t024d gsber Business Area
ProfitCenter t024d prctr Profit Centers
usrkeyelseendasUserID
_Plant _Plant
_PurchasingGroup _PurchasingGroup
_BusinessArea _BusinessArea
_User _User
_PlantText _PlantText
_BusinessAreaText _BusinessAreaText

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_MRPController.
-- 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: IPPMRPCONTROLLER

CREATE VIEW I_MRPController AS
SELECT
  t024d.werks AS Plant,
  cast(t024d.dsnam as pph_dsnam preserving type) AS MRPControllerName,
  cast(t024d.dstel as pph_dstel preserving type) AS MRPControllerPhoneNumber,
  t024d.ekgrp AS PurchasingGroup,
  t024d.gsber AS BusinessArea,
  t024d.prctr AS ProfitCenter,
  case t024d.usrtyp when 'US' then t024d.usrkey else '' end as UserID AS usrkeyelseendasUserID
FROM t024d
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON UserID = _User.UserID  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _PlantText ON Plant = _PlantText.Plant  -- association [1..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
;