P_Cfd_Business_Context_Text

DDL: P_CFD_BUSINESS_CONTEXT_TEXT SQL: P_CFD_BUS_CTX_T Type: view Package: S_CFD_REGISTRY_DB

Descriptions for Business Contexts of Custom Fields

P_Cfd_Business_Context_Text is a CDS View that provides data about "Descriptions for Business Contexts of Custom Fields" in SAP S/4HANA. It reads from 3 data sources (ddddlsrc02bt_v, cfd_w_bus_ctxt_t, P_Cfd_Reg_Bus_Ctxt_Text_Source) and exposes 5 fields with key fields BusinessContext, Language. Part of development package S_CFD_REGISTRY_DB.

Data Sources (3)

SourceAliasJoin Type
ddddlsrc02bt_v DdlText left_outer
cfd_w_bus_ctxt_t Text left_outer
P_Cfd_Reg_Bus_Ctxt_Text_Source TextSource inner

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName P_CFD_BUS_CTX_T view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Descriptions for Business Contexts of Custom Fields view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BusinessContext Context business_context Business Context
KEY Language
Description
RegistryText cfd_w_bus_ctxt_t description Well Code Des.
DdlText ddddlsrc02bt_v ddtext Short text

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 P_Cfd_Business_Context_Text.
-- 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: P_CFD_BUS_CTX_T

CREATE VIEW P_Cfd_Business_Context_Text AS
SELECT
  Context.business_context AS BusinessContext,
  case when TextSource.UseRegistryTranslation = 'X' then Text.language else DdlText.ddlanguage end AS Language,
  case when TextSource.UseRegistryTranslation = 'X' then Text.description else DdlText.ddtext end AS Description,
  Text.description AS RegistryText,
  DdlText.ddtext AS DdlText
INNER JOIN P_Cfd_Reg_Bus_Ctxt_Text_Source AS TextSource ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cfd_w_bus_ctxt_t AS Text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddddlsrc02bt_v AS DdlText ON /* join condition not captured in parsed metadata */
;