on 2022 Oct 12 12:27 PM
I am trying to call a remote service on CAP with following path v2/PlanningData/TSINH1?$filter=UOMTOID eq 'EA'&$format=json⊤=100&$select=PRDID,CUSTID,CONSENSUSDEMAND,UOMTOID,VERSIONID,SCENARIOID,ID,PERIODID4_TSTAMP
and getting the response as 'Feature not supported: SELECT statement with .groupBy'
oliver.klemenz
vansyckel
pavangolesar This will work but the columns need to be fetched dynamically, hence it requires a $select.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sujitsingh5191 Check if this answer from Ravi helps! group by syntax does not work in inner join statement | SAP Community
Hi sujitsingh5191,
The error seems to be talking on $select usage hence check below if works.
Try using below (trimmed) URL, the only difference is that it won't restrict the total columns/fields in output but should work ideally:
v2/PlanningData/TSINH1?$filter=UOMTOID eq 'EA'&$format=json⊤=100
Hope it works as expected 🙂
Pavan Golesar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.