on 09-04-2018 3:08 PM
Hi Experts,
I have a problem: I built a Method in a Class (if_amdp_marker_hdb) where I get the data from a calculation view with a parameter (by database procedure). This is working fine.
Now I want to use this AMDP in a CDS View, but as I see I can only build a CDS Table Function on it, when the method is a database function.But in my case this is a database procedure. So this will not work.
Has anyone an idea, how I can access this AMDP in a CDS-View? Or how can I build a AMDP with database function with access to a calculation view?
Thanks in advance....
Hi Thorsten Watzke,
If you want to use this AMDP for Table function as you already mentioned "METHOD get_noticedates BY database procedure" should be replaced with "METHOD get_noticedates BY database function" and moreover you have to mention for which table function you want AMDP method to be executed in method definition.
So, here is my question have you mentioned "for table function <table_function_name>" in the method definition?
Please, have a look and let me know if this helps.
Thanks & Regards,
Tushar Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thorsten,
Maybe this is not what you are looking for but below is the method I used to call Calc Views in CDS views. Maybe it will help.
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.