cancel
Showing results for 
Search instead for 
Did you mean: 

Does infobcubes contains physical tables or is it a view

Former Member
0 Kudos

Does infocube contains physical tables or is it just holding a star or snowflake schema with table structures similar to views.

If infocube is holding views then where are physical tables located is it ODS.

Where in sap hana - tables are within schemas and the analytic views which are equivalent to infocubes will use attibute views and physical tables from schemas, in terms of star schema modelling.

Thanks a lot for the helpful info.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

InfoCube follows Extended Star Schema, so that data will store in differner locations, i,.e. Mater Data, Dimensional Data and Fact Data using the keys like SID and DIM ID relations.

T-code LISTCUBE disply the data of the cube i.e complete data after combining data from  Fact table, Dimension and SID tables.

If you want to see the data in fact table alone go to SE16-->ENTER the table name as /BIC/F<Infocube name>.

And you will find all the tables associated with the infocube using t-code LISTSCHEMA as suggested earlier.

Regards,

Aravind.

Answers (3)

Answers (3)

former_member188080
Active Contributor
0 Kudos

Hi Kumar,

Infocube has F and Post compression data moves to E table.

so these tables along with dimension tables hold data physically in the table in data base..

In HANA also this will not change..

now data base at what level these calculations will happen while retreieving or querying it will differ..

like application layer not required etc..and everything like calculation will happen at HANA DB level all this things will change..

it again depends BW on HANA or whatever approach u will follow..

Thanks and regards

Kiran

Former Member
0 Kudos

Hi Kumar raj,

All the dataprovider in the SAP BW creates when there table generated in the backend.

Data of cube contains in Fact table as mentioned by Arvind. if you want to check the which table hit when you display data in cube then while displaying the data click on sql query you will get the list of table that will access by Cube.

Here is example how it fetch data from cube via SQL queries

SELECT  "S3"."/BIC/ZF_REP_UN" AS "Rep_unit",

        "S4"."/BIC/ZF_GDRSAC" AS "Account",

        "S5"."IDM_AUDID" AS "Audit ID",

        "S2"."/BIC/ZF_CONSCP" AS "Scope",

        LPAD("D1"."SID_ZF_ENTRY",000006, 0 ) AS "ZF_ENTRY",

        "S6"."CURRENCY" AS "Currency",

        sum("F"."/BIC/ZF_CONS_A")   AS "Consolidated Amount"

FROM

        sapsr3."/BIC/FZF_REG" "F",

        sapsr3."/BIC/DZF_REG1" "D1",

        sapsr3."/BIC/DZF_REG2" "D2",

        sapsr3."/BIC/DZF_REG3" "D3",

        sapsr3."/BIC/DZF_REGU" "DU",

        sapsr3."/BIC/DZF_REGP" "DP",

        sapsr3."/BIC/SZF_CONCAT" "S1",

        sapsr3."/BIC/SZF_CONSCP" "S2",

        sapsr3."/BIC/SZF_REP_UN" "S3",

        sapsr3."/BIC/SZF_GLAC" "S4",

        sapsr3."/BI0/SIDM_AUDID" "S5",

        sapsr3."/BI0/SCURRENCY" "S6"

where   "F"."KEY_ZF_REG1"="D1"."DIMID"

and     "D1"."SID_ZF_CONCAT"="S1"."SID"

and     "D1"."SID_ZF_CONSCP"="S2"."SID"

and     "F"."KEY_ZF_REG2"="D2"."DIMID"

and     "D2"."SID_ZF_REP_UN"="S3"."SID"

--and     "S3"."/BIC/ZF_REP_UN" = '100509130'

--and     "S5"."IDM_AUDID" = 'ADJ91'

and     "S4"."/BIC/ZF_GLAC" = 'A181HC'

and     "F"."KEY_ZF_REG3"="D3"."DIMID"

and     "D3"."SID_ZF_GLAC"="S4"."SID"

and     "F"."KEY_ZF_REG4"="S5"."SID"

and     "F"."KEY_ZF_REGU"="DU"."DIMID"

and     "DU"."SID_0CURRENCY"="S6"."SID"

and     "F"."KEY_ZF_REGP"="DP"."DIMID"

and     "DP"."SID_0CHNGID"= 0

AND     "DP"."SID_0RECORDTP"= 0

group by "S2"."/BIC/ZF_CONSCP",

         "S3"."/BIC/ZF_REP_UN",

         "S4"."/BIC/ZF_GLAC",

         "S5"."IDM_AUDID",

         "S6"."CURRENCY",

         (LPAD("D1"."SID_ZF_ENTRY",000006, 0 ))

order by "S2"."/BIC/ZF_CONSCP",

         "S3"."/BIC/ZF_REP_UN",

         "S4"."/BIC/ZF_GLAC",

         "S5"."IDM_AUDID",

         "S6"."CURRENCY",

         (LPAD("D1"."SID_ZF_ENTRY",000006, 0 ))

Hope it will clear your doubt, there is no views here for cube.

Regards,

Om Ambulker

former_member186445
Active Contributor
0 Kudos

Try with the transaction 'LISTSCHEMA'.