2019 Jan 07 3:29 PM
I have a table function with parameters (other than just client). When I try to consume the function from a CDS view, it only likes the CLIENT parameter; I can't send the values for the others.

I'm new to using table functions and AMDPs so I'm hoping this is just a beginner's error. I am using Eclipse IDE to edit the code.
Ideally Table functions will be used in Programs and passed the parameters from selection screen. in CDS views if you want to use it you should have some constants/pre-defined variables to pass to parameters of Table function.
2019 Jan 08 8:16 AM
You can't use left side table fields in parameters assignment of right side table/view, it should be some constant/pre-defined values in your case like $session.client.
2019 Jan 08 8:29 PM
2019 Jan 10 6:26 AM
Ideally Table functions will be used in Programs and passed the parameters from selection screen. in CDS views if you want to use it you should have some constants/pre-defined variables to pass to parameters of Table function.
2020 Jan 08 1:33 PM
In Select query pass the parameter like below
objects( client : $session.client.. and so on. )
2023 Nov 09 3:50 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |