N_SBLE_IMPL_OLD_DRAFT_ONLY

DDL: N_SBLE_IMPL_OLD_DRAFT_ONLY Type: view_entity

N_SBLE_IMPL_OLD_DRAFT_ONLY is a CDS View in SAP S/4HANA. It reads from 2 data sources (sble_badi_draftn, n_sble_impl_old_draft_owner) and exposes 3 fields. It has 6 associations to related views.

Data Sources (2)

SourceAliasJoin Type
sble_badi_draftn Draft from
n_sble_impl_old_draft_owner DraftOwner inner

Associations (6)

CardinalityTargetAliasCondition
[0..1] sble_w_root _Root _Root.implementation_name = Draft.implementationname
[0..1] sble_clg_implmtn _ImplementationNew _ImplementationNew.implementation_id = Draft.implementationname
[0..1] N_SBLE_LAST_SOURCE_VERSION _LastSourceVersion _LastSourceVersion.implementation_id = Draft.implementationname
[0..1] enhheader _EnhoHeader _EnhoHeader.enhname = Draft.draftname and _EnhoHeader.version = 'A'
[0..1] N_SBLE_ENH_SHORTTEXT _EnhoShortText _EnhoShortText.implementation_name = Draft.draftname
[0..1] N_SBLE_LAST_ENHLOG _LastEnhoLogCreate _LastEnhoLogCreate.implementation_id = Draft.draftname

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
description _EnhoShortText description Well Code Des.
created_by _LastEnhoLogCreate created_by Version Created By
created_on _LastEnhoLogCreate created_on Variant created on

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_IMPL_OLD_DRAFT_ONLY.
-- 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_IMPL_OLD_DRAFT_ONLY AS
SELECT
  _EnhoShortText.description AS description,
  _LastEnhoLogCreate.created_by AS created_by,
  _LastEnhoLogCreate.created_on AS created_on
FROM sble_badi_draftn AS Draft
INNER JOIN n_sble_impl_old_draft_owner AS DraftOwner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sble_w_root AS _Root ON _Root.implementation_name = Draft.implementationname  -- association [0..1]
LEFT OUTER JOIN sble_clg_implmtn AS _ImplementationNew ON _ImplementationNew.implementation_id = Draft.implementationname  -- association [0..1]
LEFT OUTER JOIN N_SBLE_LAST_SOURCE_VERSION AS _LastSourceVersion ON _LastSourceVersion.implementation_id = Draft.implementationname  -- association [0..1]
LEFT OUTER JOIN enhheader AS _EnhoHeader ON _EnhoHeader.enhname = Draft.draftname AND _EnhoHeader.version = 'A'  -- association [0..1]
LEFT OUTER JOIN N_SBLE_ENH_SHORTTEXT AS _EnhoShortText ON _EnhoShortText.implementation_name = Draft.draftname  -- association [0..1]
LEFT OUTER JOIN N_SBLE_LAST_ENHLOG AS _LastEnhoLogCreate ON _LastEnhoLogCreate.implementation_id = Draft.draftname  -- association [0..1]
;