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: 

Getting error 'Could not find table/view XXXX in schema SAPABAP1’ in class method for table function

vipuluniyal
Discoverer
0 Kudos
395,153

Hello Experts,

I am using a CDS view in a class method for a table function . My CDS view is a consumption view with parameters. The table function and CDS view are both activated but when I try to activate the class/method it gives me the below error :-

Could not find table/view ZETDCNVW1360002 in schema SAPABAP1’

vipuluniyal_2-1725343740245.png

Method Snapshot

vipuluniyal_0-1725343469153.png

 

Any inputs why would this be happening?

3 REPLIES 3

NTeunckens
Active Contributor
0 Kudos
394,131

There might be some hickup / inconsistency in the creating / editing of the View between the DB and the ABAP-Dictionary ...
As a reference, please check SAP-Note "2180238 - DDIC Inconsistency Check [VIDEO] - SAP for Me" and Note "2023690 - CDS views are inactive - SAP for Me" ...

Check in your Backend via Trx."SE14" if the View exists, is active etc ...
If a problem is indicated, you might be able to use Prgr. "RUTDDLSACT" to regenerate / activate the "Z"-CDS View? In any case, do some research before executing any of the above mentioned steps.

Hope this helps

Nic T.

0 Kudos
392,714

Hi Nic,

Thanks for the quick revert but "SE14" shows everything as consistent between DB and data dictionary. Even the re generation with "RUTDDLSACT" is not helping. I have tried these steps before posting on the forum.

Thanks,

Vipul Uniyal

 

0 Kudos
258,745

Any other suggestion experts?