I_ProductSourcingReasonText

DDL: I_PRODUCTSOURCINGREASONTEXT Type: view_entity BASIC

Reason used in Product Sourcing - Text

I_ProductSourcingReasonText (Basic)

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

Sourcing & Procurement

I_ProductSourcingReasonText is a Basic CDS View that provides data about "Reason used in Product Sourcing - Text" in SAP S/4HANA. It reads from 1 data source (mmpursprsnt) and exposes 5 fields with key fields ProductSourcingReason, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-SRC-SP
CapabilitiesData Source in SQL Select, Language-Dependent Text, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the types of reasons that are available in Product Sourcing, such as:</p> <ul> <li><p>Reasons for new versions of sourcing projects</p></li> <li><p>Reasons for unconfirmed demand for sourcing project items</p></li> <li><p>Reasons for suppliers in the sourcing project supplier list declining participation</p></li> <li><p>Reasons for unlocking suppliers in the sourcing project supplier list</p></li> <li><p>Reasons for excluding items in supplier quotations</p></li> <li><p>Reasons for canceling sourcing projects</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
mmpursprsnt mmpursprsnt from

Associations (1)

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

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.entityBuffer.definitionAllowed true view
ObjectModel.representativeKey ProductSourcingReason view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
VDM.viewType #BASIC view
EndUserText.label Reason used in Product Sourcing - Text view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductSourcingReason reason Reason for New Version of Sourcing Project
KEY Language spras Off. Language
ProductSourcingReasonText reason_text Description of Reason used in Sourcing Project
_Language _Language
_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_ProductSourcingReasonText.
-- 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_ProductSourcingReasonText AS
SELECT
  reason AS ProductSourcingReason,
  spras AS Language,
  reason_text AS ProductSourcingReasonText
FROM mmpursprsnt
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;