cancel
Showing results for 
Search instead for 
Did you mean: 

Use of elements not permitted in CDS view Data Definition. HANA on-prem.

VedettevanKleef
Explorer
1,147

We have an SAP HANA 2022 FPS02 Fully Activated on-prem system. I am using eclipse with ADT version 3.40.0.

When trying to create a data definition for a CDS view I receive the following errors for the fields and table respectively:

The use of element vbeln of Table VBAK is not permitted.
The use of Table vbak is not permitted.

The same error occurs no matter which tables or elements I try. 

The same error occurs if I define the sqlview name in the data definition.

Could this be a SAP system setting or issue with eclipse or the ADT?

View Entire Topic
VedettevanKleef
Explorer
0 Kudos

Hi kkh0125.

The reason I ran into this error is because I was using component ZLOCAL to create my package and CDS view. In this component you can only use ABAP Language Version "Abap for Cloud Development", and there are restrictions in this ABAP language. ABAP Cloud does not allow you to use all objects as in on-premise development, hence the error.

You need to use the non Cloud ABAP language so make sure to create your package in a software component that allows you to do so. Once you have selected the correct ABAP language version the error will disappear. 

Hope this helps!

kkh0125
Discoverer
0 Kudos
Thank you for your quick response 🙂
mpredolim
Participant
0 Kudos

Hi all,

I´m using public cloud environment and before the 2502 upgrade( Feb 14th ) and I had no issues like that. Today I´m having several issues like this one mentioned.

How can I solve it please? Raise a ticket to SAP? Because the language assignment for custom package is correct since it was working before the 2502 upgrade.

Regards,
Mauricio Predolim

VedettevanKleef
Explorer
Hi Mauricio, I would open a call with SAP yes. That is how I resolved my issue by opening a call with SAP and they advised the solution.
mpredolim
Participant
0 Kudos

Just an update: SAP told us to follow this KBA - https://me.sap.com/notes/3572024/E
But this KBA has no relation with the current DDIC standard issue...
Let´s wait.

Pradeep_Reddy
Participant

Hi mpredolim,

 

It is an issue from SAP side and hotfix would deploy on March 1st or 2nd. 

Regards,

Pradeep.