C_ProcmtHubProductType

DDL: C_PROCMTHUBPRODUCTTYPE SQL: CPROCHUBPRODTYPE Type: view CONSUMPTION Package: ODATA_MM_PUR_EXT_PO

Consumption view for BE Product Types

C_ProcmtHubProductType is a Consumption CDS View that provides data about "Consumption view for BE Product Types" in SAP S/4HANA. It reads from 1 data source (I_ProcmtHubProductType) and exposes 4 fields with key fields MaterialType, ProcurementHubSourceSystem. It has 2 associations to related views. It is exposed through 4 OData services (ASQL_F3332, ASQL_F3492, ASQL_F3792, ...). Part of development package ODATA_MM_PUR_EXT_PO.

Data Sources (1)

SourceAliasJoin Type
I_ProcmtHubProductType I_ProcmtHubProductType from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProcmtHubProductTypeText _MaterialTypeText _MaterialTypeText.MaterialType = $projection.MaterialType and _MaterialTypeText.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem
[1..1] I_BackendSourceSystem _BackendSourceSystem $projection.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPROCHUBPRODTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consumption view for BE Product Types view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Consumption.ranked true view

OData Services (4)

ServiceBindingVersionContractRelease
ASQL_F3332 ASQL_F3332 C2 NOT_RELEASED
ASQL_F3492 ASQL_F3492 C2 NOT_RELEASED
ASQL_F3792 ASQL_F3792 C2 NOT_RELEASED
ASQL_F4400 ASQL_F4400 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MaterialType MaterialType Material Type
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
MaterialTypeName MaterialTypeName Mat.Type Desc.
ProcurementHubSourceSystemName _BackendSourceSystem ProcurementHubSourceSystemName Connected Sys Name

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 C_ProcmtHubProductType.
-- 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: CPROCHUBPRODTYPE

CREATE VIEW C_ProcmtHubProductType AS
SELECT
  MaterialType,
  ProcurementHubSourceSystem,
  MaterialTypeName,
  _BackendSourceSystem.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName
FROM I_ProcmtHubProductType
LEFT OUTER JOIN I_ProcmtHubProductTypeText AS _MaterialTypeText ON _MaterialTypeText.MaterialType = MaterialType AND _MaterialTypeText.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [0..*]
LEFT OUTER JOIN I_BackendSourceSystem AS _BackendSourceSystem ON ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem  -- association [1..1]
;