C_CmplncPrpsNameWithFallback

DDL: C_CMPLNCPRPSNAMEWITHFALLBACK SQL: CCPNAMEFALLBACK Type: view CONSUMPTION Package: EHFND_CNS_PURPOSE

Compliance Purpose Name with Fallback

C_CmplncPrpsNameWithFallback is a Consumption CDS View that provides data about "Compliance Purpose Name with Fallback" in SAP S/4HANA. It reads from 1 data source (I_CmplncPrps) and exposes 3 fields with key field CmplncPrpsUUID. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F2632). Part of development package EHFND_CNS_PURPOSE.

Data Sources (1)

SourceAliasJoin Type
I_CmplncPrps CmplncPrps from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CmplncPrpsText _CmplncPrpsTextILL _CmplncPrpsTextILL.CmplncPrpsUUID = $projection.CmplncPrpsUUID and _CmplncPrpsTextILL.Language = $session.system_language
[0..1] I_CmplncPrpsText _CmplncPrpsEnglishText _CmplncPrpsEnglishText.CmplncPrpsUUID = $projection.CmplncPrpsUUID and _CmplncPrpsEnglishText.Language = 'E'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CCPNAMEFALLBACK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Compliance Purpose 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

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2632 ASQL_F2632 C2 NOT_RELEASED

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CmplncPrpsUUID I_CmplncPrps CmplncPrpsUUID Compliance Purpose
CmplncPrpsName _CmplncPrpsTextILL CmplncPrpsName Compliance Purpose Name
CmplncPrpsEnglishName _CmplncPrpsEnglishText CmplncPrpsName Compliance Purpose 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_CmplncPrpsNameWithFallback.
-- 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: CCPNAMEFALLBACK

CREATE VIEW C_CmplncPrpsNameWithFallback AS
SELECT
  CmplncPrps.CmplncPrpsUUID AS CmplncPrpsUUID,
  _CmplncPrpsTextILL.CmplncPrpsName AS CmplncPrpsName,
  _CmplncPrpsEnglishText.CmplncPrpsName AS CmplncPrpsEnglishName
FROM I_CmplncPrps AS CmplncPrps
LEFT OUTER JOIN I_CmplncPrpsText AS _CmplncPrpsTextILL ON _CmplncPrpsTextILL.CmplncPrpsUUID = CmplncPrpsUUID AND _CmplncPrpsTextILL.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_CmplncPrpsText AS _CmplncPrpsEnglishText ON _CmplncPrpsEnglishText.CmplncPrpsUUID = CmplncPrpsUUID AND _CmplncPrpsEnglishText.Language = 'E'  -- association [0..1]
;