I_TDAContainerNumberOfVariants

DDL: I_TDACONTAINERNUMBEROFVARIANTS Type: view_entity COMPOSITE

Basic count for container variant

I_TDAContainerNumberOfVariants is a Composite CDS View that provides data about "Basic count for container variant" in SAP S/4HANA. It reads from 2 data sources (I_TDAContainerNumberOfVariant, tdc_a_var) and exposes 5 fields with key field TDACreateUUID.

Data Sources (2)

SourceAliasJoin Type
I_TDAContainerNumberOfVariant I_TDAContainerNumberOfVariant union_all
tdc_a_var tdc_a_var from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic count for container variant view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY TDACreateUUID tdc_a_cont tdc_id TDC container GUID
TDAContainerNameText tdc_a_cont tdc_name TDC container name
tdc_idasTDACreateUUID
TDAContainerNameText tdc_s_cont tdc_name TDC container name
TDAContainerNumberOfVariants

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_TDAContainerNumberOfVariants.
-- 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_TDAContainerNumberOfVariants AS
SELECT
  tdc_a_cont.tdc_id AS TDACreateUUID,
  tdc_a_cont.tdc_name AS TDAContainerNameText,
  count(*) as TDAContainerNumberOfVariants AS tdc_idasTDACreateUUID,
  sum( I_TDAContainerNumberOfVariant.TDAContainerNumberOfVariants ) AS TDAContainerNumberOfVariants
FROM tdc_a_var
-- UNION ALL with additional select branch(es): I_TDAContainerNumberOfVariant
;