2024 Sep 03 7:21 AM
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’
Method Snapshot
Any inputs why would this be happening?
2024 Sep 03 8:08 AM - edited 2024 Sep 03 8:21 AM
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.
2024 Sep 03 9:16 AM
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
2024 Sep 05 6:24 AM