I have an analytical view with the following columns -
sid
, name
, age
, gender
, and marks
.
I cannot use select *
because the gender
column creates an error in viewing the output.
Hence I have to select all the columns except gender
to view the result.
I have an OData service that queries the view.
The OData service is as follows -
service {
"_SYS_BIC"."test_package/AN_STUDENTS" as "query"
keys ("sid","name","age")
aggregates always (SUM of "marks");
}
settings {
support null;
}
I can view the OData result only when I use $select
.
http://testservice.xsodata/query?$select=sid,name,age
Can anyone please advise how to bind a sap.m table
to this OData service with its item aggregation such that the $select
part is implemented in the OData call itself directly?