I_MRPChangeRequestReason

DDL: I_MRPCHANGEREQUESTREASON Type: view_entity BASIC Package: ODATA_PP_MRP_API

MRP Change Request Reason

I_MRPChangeRequestReason (Basic)

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

Material Requirements Planning Change Request Reason · Manufacturing

I_MRPChangeRequestReason is a Basic CDS View (Dimension) that provides data about "MRP Change Request Reason" in SAP S/4HANA. It reads from 1 data source (mrp_cr_reason) and exposes 2 fields with key field MRPRequestReason. It has 1 association to related views. Part of development package ODATA_PP_MRP_API.

SAP Help Documentation

CategoryCDS Views for Material Requirements Planning
Purpose
This CDS view retrieves the reasons that are configured for change requests in Material Requirements Planning . Change request reasons can be assigned to change requests to provide additional information about why a change request was created. This CDS view provides the data to answer the following business question: Why was an MRP change request created for an existing purchase order schedule line? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields The following field is included in this view: Field Name Description MRPRequestReason Key that is assigned to a specific reason for MRP change requests

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentPP-FIO-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source for Search,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves the reasons that are configured for change requests in Material Requirements Planning. Change request reasons can be assigned to change requests to provide additional information about why a change request was created.</p> This CDS view provides the data to answer the following business question:<ul> <li> <p>Why was an MRP change request created for an existing purchase order schedule line?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
mrp_cr_reason mrp_cr_reason from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MRPChangeRequestReasonTxt _Text

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IMRPCRREACO view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label MRP Change Request Reason view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey MRPRequestReason view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
ObjectModel.sapObjectNodeType.name MRPChangeRequestReason view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MRPRequestReason reasoncode Reason Code for MRP Change Request
_Text _Text

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_MRPChangeRequestReason.
-- 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.

CREATE VIEW I_MRPChangeRequestReason AS
SELECT
  reasoncode AS MRPRequestReason
FROM mrp_cr_reason
LEFT OUTER JOIN I_MRPChangeRequestReasonTxt AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;