I_MRPChangeRequestReasonTxt

DDL: I_MRPCHANGEREQUESTREASONTXT SQL: IMRPCRREACOT Type: view BASIC

MRP Change Request Reason - Text

I_MRPChangeRequestReasonTxt (Basic)

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

Manufacturing

I_MRPChangeRequestReasonTxt is a Basic CDS View that provides data about "MRP Change Request Reason - Text" in SAP S/4HANA. It reads from 1 data source (mrp_cr_reason_t) and exposes 5 fields with key fields Language, MRPRequestReason. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-FIO
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Language-Dependent Text, Data Source for Data Extraction, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private 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_t mrp_cr_reason_t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IMRPCRREACOT view
EndUserText.label MRP Change Request Reason - Text view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey MRPRequestReason view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language spras Off. Language
KEY MRPRequestReason reasoncode Reason Code for MRP Change Request
MRPRequestReasonName reasontxt Description for MRP Change Request Reason
_MRPRequestReason _MRPRequestReason
_Language _Language

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_MRPChangeRequestReasonTxt.
-- 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: IMRPCRREACOT

CREATE VIEW I_MRPChangeRequestReasonTxt AS
SELECT
  spras AS Language,
  reasoncode AS MRPRequestReason,
  reasontxt AS MRPRequestReasonName
FROM mrp_cr_reason_t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;