How to obtain the report data from BO with the use of RESTful Web Services?

房东的猫 提交于 2019-12-12 04:51:54

问题


I would appreciate the sample code (URL String) that returns the data. So far I am able to get the information about the report but I am not able to get the data.


回答1:


From: http://help.sap.com/saphelpiis_sbo41sp4wi-sdk/frameset.htm?45f89e086e041014910aba7db0e91070.html

Get the list of data providers:

GET <webiURL>/documents/{documentId}/dataproviders

Within the result you'll get the DP IDs that look like:

<id>DP0</id>

Then get the number of "flows" in the DP:

GET <webiURL>/documents/{documentId}/dataproviders/DP/flows/count

Then get the flow data:

GET <webiURL>/documents/{documentId}/dataproviders/DP0/flows/0


来源:https://stackoverflow.com/questions/26733500/how-to-obtain-the-report-data-from-bo-with-the-use-of-restful-web-services

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!