BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Follow BOB on Twitter! 
Follow BOB on Twitter! (Opens a new window)  

General Notice: No events within the next 45 days.

Using GetReportBlock

Search this topic... | Search Xcelsius - Crystal Dashboard Design... | Search Box
Register or Login to Post    Forum Index -> Other Products -> Xcelsius - Crystal Dashboard Design  Previous TopicPrint TopicNext Topic
Author Message
Principal Member
Principal Member

Joined: 02 Nov 2009
Posts: 352
Location: Scarborough, North Yorkshire, UK

PostPosted: Fri Jul 06, 2018 6:58 am 
Post subject: Using GetReportBlock

I've published a very simple report block from a Web Intelligence report as a web service. Block Name is 'ws_Category_Financials_Status_Unapproved', web service works fine and can be consumed by Xcelsius.

I'm actually now trying to bring information from the web service into a web page. According to the Webi SAP 4.1 documentation, it's a SOAP web service so I should be able to access it and tell it what I want out of it and what I want retrieved, I'm just a bit unsure as to how to use the GetReportBlock function to retrieve data out of the service.

My script code is currently:



function createCORSRequest(method, url){
        var xhr = new XMLHttpRequest();
        if ("withCredentials" in xhr){
         // XHR has 'withCredentials' property only if it supports CORS, url, true);
        } else if (typeof XDomainRequest != "undefined"){ // if IE use XDR
         xhr = new XDomainRequest();, url);
        } else {
         xhr = null;
        return xhr;

      var request = createCORSRequest( "get", "http://SERVERNAME&PORT/dswsbobje/qaawsservices/biws?WSDL=1&cuid=ATPhwm5EDYlNiblQwCBfw0E" );
      if ( request ){
        // Define a callback function
        request.onload = function (){"GetReportBlock_ws_Category_Financials_Status_Unapproved&login=AUSERNAME&password=APASSWORD&closeDocument=true&refresh=true&getFromLatestDocumentInstance=false"};
        // Send request

So, here I'm trying to use CORS to avoid cross origin issues. I can access the web service in that I get it's XML structure back but I'm a bit clueless as to how to pass it parameters as described in the documentation in order to get data back out of it.

Any help or pointers in the direction of some online would be appreciated especially because this isn't really an Xcelsius issue, more web page scripting.


Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Other Products -> Xcelsius - Crystal Dashboard Design  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0299 seconds using 17 queries. (SQL 0.0024 Parse 0.0008 Other 0.0266)
CCBot/2.0 (
Hosted by | Terms of Service
phpBB Customizations by the
Shameless plug for Moments of Light Logo