Deprecated
This CDS view is deprecated in S/4HANA. Use I_BR_MaterialUsage instead. View all deprecated CDS views →

C_UsageOfMatlTemp

DDL: C_USAGEOFMATLTEMP SQL: CUSAGEOFMATVH Type: view CONSUMPTION

Usage of Material value help

C_UsageOfMatlTemp is a Consumption CDS View that provides data about "Usage of Material value help" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field ProductUsageType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_UsageOfMatlTextTemp _Text $projection.ProductUsageType = _Text.ProductUsageType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CUSAGEOFMATVH view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_BR_MaterialUsage view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
ObjectModel.representativeKey ProductUsageType view
EndUserText.label Usage of Material value help view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ProductUsageType
DomainValue domvalue_l Lower Value
_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 C_UsageOfMatlTemp.
-- 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: CUSAGEOFMATVH

CREATE VIEW C_UsageOfMatlTemp AS
SELECT
  cast( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as productusagetype) AS ProductUsageType,
  domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN C_UsageOfMatlTextTemp AS _Text ON ProductUsageType = _Text.ProductUsageType  -- association [0..*]
;