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: 
Former Member
0 Kudos

Hi All,

these are just toughts about using the Restful API to write macros to a WEBI Report.

I think that , as mentioned by      anthony.muller in Calling Restful API from a WEBI Doc , the great challenge of self scripting a WEBI document ( by self scripting I mean auto modifying the document by inserting javascript code to make calls to the Restful API) is that open a document and making Restful calls to the API uses different  memory spaces.

I think that we can accomplish that following the below steps :

1 - Get a logon token;

2 - Open the document through OpenDocument, passing the token as a parameter ( have a look at How to pass a parameter to a WEBI doc 

3 - Save the document (have a look at How to autosave a Document over itself each n seconds );

4 - Make your Restful calls and save the document through a Restful call );

5 - Reload the Document ( through a refresh, have a look at How to set a WEBI document to autorefresh each n seconds ),

I would like to discuss these options with anyone interested on it.

Regards,

Rogerio

Labels in this area