N_SAFT_CS_BUSINESS_CONTEXTS

DDL: N_SAFT_CS_BUSINESS_CONTEXTS Type: view_entity

AFT Code Snippet: Business Contexts

N_SAFT_CS_BUSINESS_CONTEXTS is a CDS View that provides data about "AFT Code Snippet: Business Contexts" in SAP S/4HANA. It reads from 1 data source (saft_cs_bus_ctx) and exposes 1 field with key field BusinessContext. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
saft_cs_bus_ctx CodeSnippetBusinessContext from

Associations (1)

CardinalityTargetAliasCondition
[0..1] N_SAFT_AFCS_VISIBILITY _AFCSVisibility _AFCSVisibility.code_snippet_id = CodeSnippetBusinessContext.code_snippet_id

Annotations (3)

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

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY BusinessContext saft_cs_bus_ctx business_context Business Context

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_CS_BUSINESS_CONTEXTS.
-- 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_CS_BUSINESS_CONTEXTS AS
SELECT
  CodeSnippetBusinessContext.business_context AS BusinessContext
FROM saft_cs_bus_ctx AS CodeSnippetBusinessContext
LEFT OUTER JOIN N_SAFT_AFCS_VISIBILITY AS _AFCSVisibility ON _AFCSVisibility.code_snippet_id = CodeSnippetBusinessContext.code_snippet_id  -- association [0..1]
;