Quantcast
Channel: SCN : Popular Discussions - ABAP in Eclipse
Viewing all articles
Browse latest Browse all 1215

Cannot select from table dummy

$
0
0

Hello,

 

 

I'm trying to use the sys.dummy table to do some calculations in ADT. However, when I issue e.g. the statement

 

 

 

SELECT RAND()*1000 AS VAL FROM DUMMY

 

 

 

in SQL console I get the error

"DUMMY" is not declared as a table, projection view, or database view in ABAP Dictionary or does not exist in an active version

 

 

 

When I try to join dummy in a CDS view definition I get

"Basis object dummy does not exist or is not active"

 

 

 

In the same system, when I execute the function module SHDB_EXISTS_TABLE with I_SCHEMA_NAME = SYS and I_TABLE_NAME = DUMMY, I get a positive result. Inside, it counts the rows of the table to check whether it exists. So it must be active, otherwise it couldn't count the rows.

 

 

 

Is there any limitation that I can't use table DUMMY in ABAP Developer tools?

System is a HDB system with SAP_BASIS 751.

 

 

Thank you

Josef


Viewing all articles
Browse latest Browse all 1215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>