N_SAFT_CODE_SNIPPET_REG_DESC

DDL: N_SAFT_CODE_SNIPPET_REG_DESC Type: view_entity

AFT Code Snippet: Descriptions

N_SAFT_CODE_SNIPPET_REG_DESC is a CDS View that provides data about "AFT Code Snippet: Descriptions" in SAP S/4HANA. It reads from 4 data sources (saft_code_snippt, tadir, t100, t100) and exposes 2 fields with key field CodeSnippetID.

Data Sources (4)

SourceAliasJoin Type
saft_code_snippt CodeSnippet from
tadir Directory inner
t100 OriginalLanguageDescription left_outer
t100 SessionLanguageDescription left_outer

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label AFT Code Snippet: Descriptions view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CodeSnippetID saft_code_snippt code_snippet_id Code Snippet ID
CodeSnippetDescription

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 N_SAFT_CODE_SNIPPET_REG_DESC.
-- 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 N_SAFT_CODE_SNIPPET_REG_DESC AS
SELECT
  CodeSnippet.code_snippet_id AS CodeSnippetID,
  coalesce(SessionLanguageDescription.text, OriginalLanguageDescription.text) AS CodeSnippetDescription
FROM saft_code_snippt AS CodeSnippet
INNER JOIN tadir AS Directory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t100 AS OriginalLanguageDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t100 AS SessionLanguageDescription ON /* join condition not captured in parsed metadata */
;