on 01-19-2017 4:21 AM
Hi Team,
When we execute below query, we are not getting any query list as output. We are able to access the Universe and Document details But the Data content of the document which is run from query is not available to download as output. Please advise.
public String query_sl(String method, String link, String format) throws Exception {
return query(method, biprws + "/sl/v1" + link, format, token, null);
}
// Get Query information
String que = connection.query_sl("GET", "/queries" , "application/json");
System.out.println(que);
System.out.println(que.length());
JSONArray queries = new JSONObject(que).getJSONObject("queries").getJSONArray("query");
Hi Naveen,
What is the result of your GET? Do you get an error or is it just an empty list of Queries?
Before you can GET a query, you have to Create one by specifying the resultobjects of your query. Then you can retrieve the details of the query as well as the results by using the oData query APIs
https://help.sap.com/viewer/5431204882b44fc98d56bd752e69f132/4.2.6/en-US/ec55543d6fdb101497906a7cb0e...
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.