ViewProvStatTab

DDL: CVIEW_PROV_STAT_TAB SQL: CDSREPLSTATT Type: view Package: ODATA_VIEW_PROVISIONING

Stats on tables in scope

ViewProvStatTab is a CDS View that provides data about "Stats on tables in scope" in SAP S/4HANA. It reads from 3 data sources (fndei_d_v_cdslog, ViewProvStatTabNOViews, fndei_d_v_cdstab) and exposes 4 fields with key fields scope, table_name. Part of development package ODATA_VIEW_PROVISIONING.

Data Sources (3)

SourceAliasJoin Type
fndei_d_v_cdslog config left_outer
ViewProvStatTabNOViews n_o_views left_outer
fndei_d_v_cdstab names from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName CDSREPLSTATT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Stats on tables in scope view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY scope fndei_d_v_cdslog connection_name Scope
KEY table_name fndei_d_v_cdstab table_name Table Name
n_o_views ViewProvStatTabNOViews n_o_views # of Views
view_name fndei_d_v_cdstab cds_view_name View Name

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 ViewProvStatTab.
-- 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: CDSREPLSTATT

CREATE VIEW ViewProvStatTab AS
SELECT
  config.connection_name AS scope,
  names.table_name AS table_name,
  n_o_views.n_o_views AS n_o_views,
  names.cds_view_name AS view_name
FROM fndei_d_v_cdstab AS names
LEFT OUTER JOIN ViewProvStatTabNOViews AS n_o_views ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fndei_d_v_cdslog AS config ON /* join condition not captured in parsed metadata */
;