on 06-05-2023 8:25 AM
Hi,
I have a List Report built on a CDS and use annotations to provide F4 value helps.
It works if the annotated subquery is 'normal', so a table sourced query.
But if I use an AMDP table function, to query a Hana-side virtual table, then I get:
CX_SADL_NO_DATA_FROM_DDIC
No data retrieved from ABAP dictionary for entity yyy
I cannot find any trigger point for that exception or message SADL_ENTITY-001 so I can't debug what exactly is missing.
In the end I replaced this interface with a custom entity and an RFC call in the implementing ABAP class.
Faster to develop, more consistent in artifacts and easier to control, since I am not involved db-side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The exception CX_SADL_NO_DATA_FROM_DDIC with the message "No data retrieved from ABAP dictionary for entity yyy" typically occurs when the ABAP Dictionary cannot retrieve the required metadata for the specified entity. This exception is commonly encountered in the context of CDS-based List Reports when using annotations to provide F4 value helps.
In your case, you mentioned that the issue arises when you use an AMDP (ABAP Managed Database Procedure) table function to query a HANA-side virtual table. The AMDP table function allows you to perform advanced operations within the HANA database, but it seems to be causing the exception.
To troubleshoot this issue, here are a few suggestions:
By following these steps, you should be able to identify the root cause of the exception CX_SADL_NO_DATA_FROM_DDIC and resolve the issue with your List Report using annotations and AMDP table functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have system A with a some tables A1, and A2, on which I created CDS A3_V.
Then I used SDA to get a virtual source on system B: A3_V --> B1_V
Then I created an AMDP and a table function to query that view (since it's only hana-side): B2_AMDP & B2_TF
Which I used in a CDS B3_VALUEHELP
That is consumed by Fiori in CDS B4_CDS_UI5.
So if in that last one B4_CDS_UI5 I reference B3_VALUEHELP it complains that B3 has no DDIC data and the whole Fiori app does not load.
Which one do you want me to check? I guess maybe it's about missing annotations in B3_VALUEHELP, or missing authorization to the hana-side objects?
Can't really see where i should even start debugging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
michal.szczerbowski2
If you are using an AMDP to query an Hana view and get the above error Please check if The Hana View actually exists (could also be a lack of privileges) The output of the Hana View is explicit and is the same as the annotation attributes. This error essentially means there is a mismatch between annotation and the hana view's output In case the error still persists then, you could use a debugger to find out at what level the CDS framework is unable to retrieve the appropriate data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
11 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.