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

C_AddMatlGrp2Temp

DDL: C_ADDMATLGRP2TEMP SQL: CADNTMTLGRUP2 Type: view CONSUMPTION

Additional Material group2 Value help

C_AddMatlGrp2Temp is a Consumption CDS View that provides data about "Additional Material group2 Value help" in SAP S/4HANA. It reads from 1 data source (I_AdditionalMaterialGroup2) and exposes 2 fields with key field SecondSalesSpecProductGroup. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AdditionalMaterialGroup2 I_AdditionalMaterialGroup2 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_AddMatlGrp2TextTemp _Text $projection.SecondSalesSpecProductGroup = _Text.AdditionalMaterialGroup2

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CADNTMTLGRUP2 view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_AdditionalProductGroup2VH view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
ObjectModel.representativeKey SecondSalesSpecProductGroup view
EndUserText.label Additional Material group2 Value help view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SecondSalesSpecProductGroup MaterialGroup 2
_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_AddMatlGrp2Temp.
-- 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: CADNTMTLGRUP2

CREATE VIEW C_AddMatlGrp2Temp AS
SELECT
  cast(AdditionalMaterialGroup2 as secondsalesspecproductgroup preserving type ) AS SecondSalesSpecProductGroup
FROM I_AdditionalMaterialGroup2
LEFT OUTER JOIN C_AddMatlGrp2TextTemp AS _Text ON SecondSalesSpecProductGroup = _Text.AdditionalMaterialGroup2  -- association [0..*]
;