P_Cfd_Registry_Cds

DDL: P_CFD_REGISTRY_CDS SQL: P_CFD_RGSTRY_CDS Type: view

Available CDS views for usage of Custom Fields

P_Cfd_Registry_Cds is a CDS View that provides data about "Available CDS views for usage of Custom Fields" in SAP S/4HANA. It reads from 2 data sources (cfd_w_cds, cfd_w_cds_cxt) and exposes 26 fields with key fields CDSViewName, BusinessContext, UnionSuffix, DirectUnionSuffix, RoleSuffix. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
cfd_w_cds Registry inner
cfd_w_cds_cxt RegistryContext from

Associations (4)

CardinalityTargetAliasCondition
[*] P_Cfd_Reg_Cds_Text _Text _Text.CdsViewName = $projection.CDSViewName
[1] I_CFD_Release_Status _ReleaseStatus _ReleaseStatus.Code = $projection.ReleaseStatus
[0..1] cfd_w_cds_suc _Successor _Successor.cds_view_name = $projection.CDSViewName and _Successor.business_context = $projection.BusinessContext
[*] P_Cfd_Reg_Cds_Text _SuccessorText _SuccessorText.CdsViewName = $projection.Successor

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName P_CFD_RGSTRY_CDS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
VDM.private true view
EndUserText.label Available CDS views for usage of Custom Fields view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY CDSViewName cfd_w_cds_cxt cds_view_name STOB Name
KEY BusinessContext cfd_w_cds_cxt business_context Business Context
KEY UnionSuffix cfd_w_cds_cxt union_suffix Union Suffix
KEY DirectUnionSuffix cfd_w_cds_cxt direct_union_suffix Direct Union Suffix
KEY RoleSuffix cfd_w_cds_cxt role_suffix Role Suffix
KEY ExtensionIncludeViewName cfd_w_cds_cxt extension_incl_view_name Extension Incl. View
UnderlyingViewName cfd_w_cds_cxt underlying_view_name Underlying View Name
ReleaseStatus cfd_w_cds_cxt release_status Status
MandatoryFieldEnabled cfd_w_cds_cxt mandatory_field_enabled Mandatory Enabled
ReadOnlyFieldEnabled cfd_w_cds_cxt read_only_field_enabled Read Only Enabled
Availability cfd_w_cds availability Pkg. Release Status
ScreenUsage cfd_w_cds usage_ui_report UI and Report
EmailUsage cfd_w_cds usage_email_template E-Mail
IsInvisible cfd_w_cds usage_invisible Is Invisible
IsApiUsage cfd_w_cds usage_api API
IsAnalyticalUsage cfd_w_cds usage_analytics Analytical View
SearchSupported cfd_w_cds basic_search_support Basic Search support
ViewType cfd_w_cds view_type View Type
BadiDefinitionForHidden cfd_w_cds badi_definition_for_hidden BAdI Definition
AddAutomatically cfd_w_cds_cxt add_field_automatically Add Field automatic
ViewIsAlwaysEnabled cfd_w_cds_cxt cds_view_is_always_enabled Always Enabled
Successor _Successor cds_view_name STOB Name
_Text _Text
_ReleaseStatus _ReleaseStatus
_Successor _Successor
_SuccessorText _SuccessorText

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_Registry_Cds.
-- 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_RGSTRY_CDS

CREATE VIEW P_Cfd_Registry_Cds AS
SELECT
  RegistryContext.cds_view_name AS CDSViewName,
  RegistryContext.business_context AS BusinessContext,
  RegistryContext.union_suffix AS UnionSuffix,
  RegistryContext.direct_union_suffix AS DirectUnionSuffix,
  RegistryContext.role_suffix AS RoleSuffix,
  RegistryContext.extension_incl_view_name AS ExtensionIncludeViewName,
  RegistryContext.underlying_view_name AS UnderlyingViewName,
  RegistryContext.release_status AS ReleaseStatus,
  RegistryContext.mandatory_field_enabled AS MandatoryFieldEnabled,
  RegistryContext.read_only_field_enabled AS ReadOnlyFieldEnabled,
  Registry.availability AS Availability,
  Registry.usage_ui_report AS ScreenUsage,
  Registry.usage_email_template AS EmailUsage,
  Registry.usage_invisible AS IsInvisible,
  Registry.usage_api AS IsApiUsage,
  Registry.usage_analytics AS IsAnalyticalUsage,
  Registry.basic_search_support AS SearchSupported,
  Registry.view_type AS ViewType,
  Registry.badi_definition_for_hidden AS BadiDefinitionForHidden,
  RegistryContext.add_field_automatically AS AddAutomatically,
  RegistryContext.cds_view_is_always_enabled AS ViewIsAlwaysEnabled,
  _Successor.cds_view_name AS Successor
FROM cfd_w_cds_cxt AS RegistryContext
INNER JOIN cfd_w_cds AS Registry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Cfd_Reg_Cds_Text AS _Text ON _Text.CdsViewName = CDSViewName  -- association [*]
LEFT OUTER JOIN I_CFD_Release_Status AS _ReleaseStatus ON _ReleaseStatus.Code = ReleaseStatus  -- association [1]
LEFT OUTER JOIN cfd_w_cds_suc AS _Successor ON _Successor.cds_view_name = CDSViewName AND _Successor.business_context = BusinessContext  -- association [0..1]
LEFT OUTER JOIN P_Cfd_Reg_Cds_Text AS _SuccessorText ON _SuccessorText.CdsViewName = Successor  -- association [*]
;