N_SBLE_CLG_BADI_W_BC

DDL: N_SBLE_CLG_BADI_W_BC Type: view_entity

BLE CLG: BAdI with Business Context

N_SBLE_CLG_BADI_W_BC is a CDS View that provides data about "BLE CLG: BAdI with Business Context" in SAP S/4HANA. It reads from 2 data sources (cfd_w_badi_ctxt, N_SBLE_CLG_BADI_N_OF_FILTERS) and exposes 5 fields with key fields ID, BusinessContext.

Data Sources (2)

SourceAliasJoin Type
cfd_w_badi_ctxt badiContext from
N_SBLE_CLG_BADI_N_OF_FILTERS badiFilters left_outer

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label BLE CLG: BAdI with Business Context view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ID badi badi_name Name of a BAdI
KEY BusinessContext cfd_w_badi_ctxt business_context Business Context
Availability badi availability Pkg. Release Status
ReleaseStatus badi release_status Status
numberOf0thenXelseendasHasAttributes

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_SBLE_CLG_BADI_W_BC.
-- 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_SBLE_CLG_BADI_W_BC AS
SELECT
  badi.badi_name AS ID,
  badiContext.business_context AS BusinessContext,
  badi.availability AS Availability,
  badi.release_status AS ReleaseStatus,
  case when badi.availability = 'MULTITENAN' and badiFilters.numberOf > 1 then 'X' when badi.availability <> 'MULTITENAN' and badiFilters.numberOf > 0 then 'X' else '' end as HasAttributes AS numberOf0thenXelseendasHasAttributes
FROM cfd_w_badi_ctxt AS badiContext
LEFT OUTER JOIN N_SBLE_CLG_BADI_N_OF_FILTERS AS badiFilters ON /* join condition not captured in parsed metadata */
;