Hello Mark,
thank you for your response, it helped me to figure out the problem. After checking the metadata file it was clear, that my API should start with the same name as the entity set, i.e. Z_dataSet/(number=%2714460%27)). Now it runs at least without errors. But only a few of the context variables are set, the question is why such variables as top, filter, and co. are not set?
Example1:
UEBERSICHTSet/$count?sap-client=100&$filter=((Erdat ge datetime'2018-07-20T12:34:36.154' and Erdat le datetime'2018-09-18T12:34:36.154')) and Kunnr eq '0000014460'.
Result:
odata.query.count= true
odata.query.top=
odata.query.filter=
odata.query.skip=
odata.query.orderby=
odata.query.expand=
odata.query.format=
odata.query.inlinecount= none
odata.query.select=
odata.query.customoptions=
odata.query.pathsegments= UEBERSICHTSet, $count
Example 2:
UEBERSICHTSet?$skip=0&$top=110&$filter=((Erdat ge datetime'2018-07-20T12:34:36.154' and Erdat le datetime'2018-09-18T12:34:36.154')) and Kunnr eq '0000014460'
Result:
odata.query.count= false
odata.query.top=
odata.query.filter=
odata.query.skip=
odata.query.orderby=
odata.query.expand=
odata.query.format=
odata.query.inlinecount= none
odata.query.select=
odata.query.customoptions=
odata.query.pathsegments= UEBERSICHTSet