I_ProductHeuristic

DDL: I_PRODUCTHEURISTIC SQL: IPRODHEURISTIC Type: view BASIC

Product Heuristic

I_ProductHeuristic (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_ProductHeuristic is a Basic CDS View that provides data about "Product Heuristic" in SAP S/4HANA. It reads from 2 data sources (/sapapo/heurfunc, /sapapo/heurist) and exposes 2 fields with key field ProdnPlngHeuristic. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Production Planning and Detailed Scheduling (PP/DS)
Purpose
This CDS view provides the list of Heuristic ID(s) that are allowed to be set in the product master.

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

Structure
Important Fields Important fields in this view include the following: Field Name Description ProdnPlngHeuristic Production planning heuristic ID

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentSCM-S4H-MD-PR
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (2)

SourceAliasJoin Type
/sapapo/heurfunc func inner
/sapapo/heurist heurist from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProductHeuristicText _Text $projection.ProdnPlngHeuristic = _Text.ProdnPlngHeuristic

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPRODHEURISTIC view
VDM.viewType #BASIC view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ProdnPlngHeuristic view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Product Heuristic view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProdnPlngHeuristic heur_id Heuristic
_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_ProductHeuristic.
-- 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: IPRODHEURISTIC

CREATE VIEW I_ProductHeuristic AS
SELECT
  heur_id AS ProdnPlngHeuristic
FROM /sapapo/heurist AS heurist
INNER JOIN /sapapo/heurfunc AS func ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductHeuristicText AS _Text ON ProdnPlngHeuristic = _Text.ProdnPlngHeuristic  -- association [0..*]
;