Access HANA view in SQL Console

For each view, system will create a table whether it might be SAP HANA LIVE view or Calculation view or Attribute view. Those tables will be reside in system schema "_SYS_BIC"
Expand the schema -> Column Views. There you can see lot of tables.
Tables will be available for each view and each column inside that view. Make sure to get the main view. For example if you take HANA Live View "VBAK_COM".
--Main View table
select top 10 * from "_SYS_BIC"."sap.hba.ecc/VBAK_COM/"
To select view with particular column, follow below
HostGator Web Hosting select top 10 "SalesDocument" from "_SYS_BIC"."sap.hba.ecc/VBAK_COM"
The above table can be access in SQL console, it will give the output which is same as what you have seen in the data preview.
The other tables also available for columns
select top 10 * from "_SYS_BIC"."sap.hba.ecc/VBAK_COM/SalesDocument/hier/SalesDocument"
The above table will give detailed information about each node.
You can join the main view table with any table and can get the result.

Comments

Popular posts from this blog

SQL Server–Alter failed for Server

Generate Data Time Dimension Table in SAP HANA