Rv_I_HdbTabSizes

DDL: RV_I_HDBTABSIZES SQL: RVITABSIZE Type: view

Sizing estimation details for tables

Rv_I_HdbTabSizes is a CDS View of category Fact that provides data about "Sizing estimation details for tables" in SAP S/4HANA. It reads from 1 data source (rsvhdbtabsizes) and exposes 21 fields with key fields sizingGuid, tableName, partId.

Data Sources (1)

SourceAliasJoin Type
rsvhdbtabsizes rsvhdbtabsizes from

Annotations (6)

NameValueLevelField
EndUserText.label Sizing estimation details for tables view
AbapCatalog.sqlViewName RVITABSIZE view
Analytics.dataCategory #FACT view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY sizingGuid sizing_guid Sizing GUID
KEY tableName table_name Table Name
KEY partId part_id Partner
tlogo tlogo TLOGO Types
objectName object_name Technical Name
tableType tab_type BW Table Type
storeType store_type Store Indicator
srcDbSize
abapSize
hanaSize
recordCount record_count Value
recordsSampled records_sampled Sample Set: Records
dataSizeSample
logSizeSampled
dataSize
logSize
hanaIndexSize
_hdbSizing _hdbSizing
_tlogo _tlogo
_bwObject _bwObject
_tableType _tableType

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 Rv_I_HdbTabSizes.
-- 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: RVITABSIZE

CREATE VIEW Rv_I_HdbTabSizes AS
SELECT
  sizing_guid AS sizingGuid,
  table_name AS tableName,
  part_id AS partId,
  tlogo,
  object_name AS objectName,
  tab_type AS tableType,
  store_type AS storeType,
  cast( cast (division(src_db_size, 1024, 1) as abap.dec(20,1) ) as rsvs_src_db_size ) AS srcDbSize,
  cast( cast (division(abap_size, 1024, 1) as abap.dec(20,1) ) as rsvs_abap_size ) AS abapSize,
  cast( cast (division(hana_size, 1024, 1) as abap.dec(20,1) ) as rsvs_hana_size ) AS hanaSize,
  record_count AS recordCount,
  records_sampled AS recordsSampled,
  cast( cast (division(data_size_sample, 1024, 1) as abap.dec(20,1) ) as rsvs_data_size_sample ) AS dataSizeSample,
  cast( cast (division(lob_size_sampled, 1024, 1) as abap.dec(20,1) ) as rsvs_lob_size_sampled ) AS logSizeSampled,
  cast( cast (division(data_size, 1024, 1) as abap.dec(20,1) ) as rsvs_data_size ) AS dataSize,
  cast( cast (division(lob_size, 1024, 1) as abap.dec(20,1) ) as rsvs_lob_size ) AS logSize,
  cast( cast (division(hana_index_size, 1024, 1) as abap.dec(20,1) ) as rsvs_hana_index_size ) AS hanaIndexSize
FROM rsvhdbtabsizes
;