简体   繁体   中英

Fetching SAP-BW reports via an API

I'd like to fetch some SAP-BW reports programatically, but unfortunately my SAP collegues have no idea about how to do it. I'm no SAP expert either, but as a software-engineer I'm pretty confident that there is some API I could use with python or C# to fetch report data like this one when the user clicks on Eport nach Excel :

例子

I'm not asking for any code, I'm sure I'd find something on GitHub, however I need to know what I should even look for. In other words could you point me to the right direction by showing me what documentation I need to read or maybe what technical terms are relevant for this task?

I see this question is quite old but I am going to answer it anyway.

You need to turn the underlying query into an OData Gateway endpoint and then you can call the resulting gateway service from any application that supports HTTP calls.

I no longer have access to an SAP BW environment to show you step by step but many blogs have been written about it and although providing links is not really how we should be supplying answers, this is the best I can do for now.

https://blogs.sap.com/2019/02/19/how-to-do-odata-services-from-bex-query/

https://wiki.scn.sap.com/wiki/display/BI/Steps+to+Create+an+ODATA+service+for+a+BW+Query

https://abap-blog.ru/wp-content/uploads/2020/04/How-to-Create-OData-Services-for-Analytic-Queries.pdf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM