C_SubstanceTrdScrtTxtWthFllbck

DDL: C_SUBSTANCETRDSCRTTXTWTHFLLBCK SQL: CSUBTSTFALLBACK Type: view CONSUMPTION

Trade Secret Name with Fallback

C_SubstanceTrdScrtTxtWthFllbck is a Consumption CDS View that provides data about "Trade Secret Name with Fallback" in SAP S/4HANA. It reads from 1 data source (I_Substance) and exposes 2 fields with key field SubstanceUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Substance _Substance from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SubstanceTradeSecretText _TradeSecretTextLangu _TradeSecretTextLangu.SubstanceUUID = $projection.SubstanceUUID and _TradeSecretTextLangu.Language = $session.system_language
[0..1] I_SubstanceTradeSecretText _TradeSecretTextEnglish _TradeSecretTextEnglish.SubstanceUUID = $projection.SubstanceUUID and _TradeSecretTextEnglish.Language = 'E'

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CSUBTSTFALLBACK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Trade Secret Name with Fallback view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID I_Substance SubstanceUUID Substance
ResponsibleUnit I_Substance ResponsibleUnit Responsible Unit

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_SubstanceTrdScrtTxtWthFllbck.
-- 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: CSUBTSTFALLBACK

CREATE VIEW C_SubstanceTrdScrtTxtWthFllbck AS
SELECT
  _Substance.SubstanceUUID AS SubstanceUUID,
  _Substance.ResponsibleUnit AS ResponsibleUnit
FROM I_Substance AS _Substance
LEFT OUTER JOIN I_SubstanceTradeSecretText AS _TradeSecretTextLangu ON _TradeSecretTextLangu.SubstanceUUID = SubstanceUUID AND _TradeSecretTextLangu.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SubstanceTradeSecretText AS _TradeSecretTextEnglish ON _TradeSecretTextEnglish.SubstanceUUID = SubstanceUUID AND _TradeSecretTextEnglish.Language = 'E'  -- association [0..1]
;