Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Well, I'll write some posts for people like me, VBA's nostalgics.

Remember, there was a great time for older versions of Business Objects, when you can get or create wonderful tools with Excel and VBA. These tools were open, and we could improve it easily, with a minimum of VBA's knowledge. But VBA didn't evolve with BI4. And I haven't found specific Excel tools for BI4, to describe an unx file for example.

But ... with RESTful API you can use any langage ... Java, Powershell, Python ... and why not Excel ? Excel can work on Big Data, why not RESTful API ?

I asked myself how we can use Excel with RESTful API, I made some tests/scripts and I'll share my feedback in this blog, following these posts :

  1. Introduction (this post)
  2. Logon/logoff sample
  3. List universes
  4. List universe's content
  5. List documents using a universe
  6. Change universe in documents

:!: Notes :

  • I'm not a VBA guru, the code isn't perfect ...
  • There are some missing features, because i've no time to develop it ... The code is open, I'll give my todo list, you can improve the scripts if you want !
  • Sorry for the misspellings ... I skipped some English class hours at school :wink:

Some advantages of RESTful Excel Tools :

I think Excel is not the easiest tool when you want manipulate a RESTful API, but like someone said, "yes you can" !

And Excel has the great advantage to be on most pc ...

With the older VBA SDK the BI4 Clients are needed. And sometimes the version of dll was in conflict with the downloaded excel script ... With RESTful API the BI4 Clients are not more needed. You just have to reference two libraries :


These dlls are out-of-the-box with Excel (tested with Office 2010 and +), it's so easy !

Some disadvantages of RESTful Excel Tools :

But with RESTful API you can't do everything like VBA. You can't get all informations on universe for example ...

And if you call the RESTful web service a lot of time, Excel will crash ...

I'll explain this later.

Next Step : let's start with logon/logoff !

2 Comments
Labels in this area