Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SNAP_BEG table does not exist

Former Member
0 Likes
1,774

Hello,

I am working on a script which basically does a select count(*) on the SNAP_BEG table to get the number of short dumps occurred in the last weeks.

When checking the table via SE16, I can clearly see the contents and all the data I need from the table.

The problem is that when I do the select via the sql console from HA studio (SELECT count(*) from SCHEMA.SNAP_BEG or even SELECT * FROM SCHEMA.SNAP_BEG) I get the following error:

SAP DBTech JDBC: [259]: invalid table name: Could not find table/view SNAP_BEG in schema

I tried executing the command with both the SCHEMA user or the SYSTEM user but I got the same results.

What am I missing here?

Thank you

1 ACCEPTED SOLUTION
Read only

UweFetzer_se38
Active Contributor
1,481

SNAP_BEG is not a database table but a projection view. Try to select directly from the base table SNAP instead.

2 REPLIES 2
Read only

matt
Active Contributor
1,481

Seems to me that this is more a HANA issue than an ABAP issue.

Read only

UweFetzer_se38
Active Contributor
1,482

SNAP_BEG is not a database table but a projection view. Try to select directly from the base table SNAP instead.