Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all 1088 articles
Browse latest View live

Excel output error

$
0
0

Hi,

 

I am getting this error when exporting the Webi document to excel, any help appreciated.

 

<error>
    <error_code>RWS 00008</error_code>
    <message>No logon token provided in the X-SAP-LogonToken HTTP header or query parameter. (RWS 00008)</message>
</error>

 

Thanks,
Arun


RESTful SDK: Retrieve which access rights a principal has on folders/reports

$
0
0

Hi,

 

I wonder whether it is possible to find out what exact access rights (also inherited rights) a specific user or usergroup has on a report or folder by using the RESTful Web Services SDK. The result I want is what can be found in the CMC (No access, View (inherited), Full Control, etc).

I am able to find the Folder structure/Hierarchy, and the UserGroup/User hierarchy using the RESTful API. However, I haven't been able to find the relation between a Folder and a Principal(Usergroup/User), and the access levels on this relation.

Does anyone know if this is possible with the RESTful SDK?

 

regards,

Dorien

How to Retrive report documents / folders belong to given universe only?

$
0
0

Hi,

 

Right now i am calling api /biprws/infostore/Root%20Folder/children?type=folder&pageSize=50 and than made function to retrieve report documents under my list of folders.

I used api /biprws/infostore/[folder object id]/children?type=webi&pageSize=50 to retrive the report documents.

 

Here I am getting all report documents which belong to different universes.

 

How can we identity report document is related to which universe ? Means report document relationship is with which universe?

 

Thanks

Samir

retrive folders and report documents list

$
0
0

We are using raylight rest api.

 

<title>Web Intelligence - Raylight</title>

 

<version>1.0</version>

<vendor>SAP SE</vendor>

<build>14.1.6.1702</build>

 

 

Is any api to get list of folders ? (same like get documents api i.e http://localhost:6405/biprws/raylight/v1/documents)

 

Thanks

Samir

Change text format in webi report

$
0
0

Hi,

 

I am able to export the webi report in xls using the RESTFUL SDK but the text field is wrapped. I can do that in webi, but is there a way i can unwrap the text (hard code it in the code) while exporting?

 

Thanks,
Arun

RABAX occurred on server side

$
0
0

Hello,

 

We have a third party team who uses ONBASE tool to call Webservices API for create/update service orders and followups in CRM system.  The issue they are facing is out of 10-15 calls, 3-5 calls are getting failed and response contains blank.  When they get failure and try next time in 30sec gap, with the same data the transaction is success.  So, we can rule out the data issue here.

 

 

We have taken fiddler trace and noticed HTTP 500 error when the failure occurred.  Below are the details of the error.

 

 

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode> soap:Server </faultcode><faultstring xml:lang="en"> RABAX occurred on server side </faultstring><detail><sap:Rabax xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/generic"><SYDATUM>20140422</SYDATUM><SYUZEIT>094349</SYUZEIT><ERRORCODE>MESSAGE_TYPE_X</ERRORCODE></sap:Rabax></detail></soap:Fault></soap:Body></soap:Envelope>

 

Did any one face the same issue (or) can provide any pointers please?  Appreciate your help, thanks in advance!

 

 

Regards,

Satish

RESTful SDK : changing the Cross Tab Field to hyperlink ( read content as hyperlink)

$
0
0

Hi,

 

I am trying to update the cross tab summary field to hyperlink using Restful SDK. When I update the field the response shows the field is updated successfully but when I open the report still the field is reading as text instead of hyperlink. Any help will be appreciated.

 

Thanks,

 

Madhu V

using sap logon token

$
0
0


Hi ,

 

I sent POST request to BO server in order to recieve logon token

I recieved below sap logon token response from server ,I need to pass token value in subsequent requests

 

Can I pass below highlighted in bold as token value in subsequent requests

 

 

<entry xmlns="http://www.w3.org/2005/Atom"><author><name>@SERVER_XYZ.bgxodcr.xyzerws.com:6400</name></author><id>tag:sap.com,2010:bip-rs/logon/long</id><title type="text">Logon Result</title><updated>2015-10-28T14:06:04.008Z</updated><content type="application/xml"><attrs xmlns="http://www.sap.com/rws/bip"><attr name="logonToken" type="string">@SERVER_XYZ.bgxodcr.xyzerws.com:6400@{3&amp;2=13676,U3&amp;2v=@SERVER_XYZ.bgxodcr.xyzerws.com:6400,UP&amp;66=60,U3&amp;68=secEnterprise:Administrator,

UP&amp;S9=12,U3&amp;qe=100,U3&amp;vz=KjNrilKVJnYbA48pTceHuj0EGOYHAfZhOLow1I40hl4,UP}</attr></attrs></content></entry>


dataSourceId is not an Int

$
0
0

Hi guys,

 

I am using the Rest API to query documents datasource details. In one exceptional case I got this response:

 

"dataprovider": {

  "id": "DP0",

  "name": "Name of the data provider",

  "dataSourceId": "213123;SomeStringHere",

  "dataSourceType": "bex",

  "updated": "2015-04-16T10:14:06.000+02:00",

  "duration": 2,

  "isPartial": false,

  "rowCount": 763,

  "flowCount": 1,

 

  more...

}

 

Why is the dataSourceId not an Int? In every other case it's an int. The documentation does not specify if it should be an int or not, but all the examples use an int.

 

Where can I find a formal specification of the Restful API response/result objects?

 

It is a real pain to guess the possible types of specific properties.

Webi documents RESTful API & Webi Processing Servers

$
0
0

When I use Webi documents RESTful API to open about 6000 webi reports (in a loop) to find specific objects in the webi reports data provider. I observed that all the Webi processing server connections were max out ( Maximum Connections of 200 each ). My questions are:

 

1. Is this the expected behaviour?

 

2. If yes how can one force api to immediately close open webi connections.

Variables DataFilter is not working in RESTful API

$
0
0

Hi Experts,

 

I have a document that has multiple data providers (say, dataprovider1, dataprovider2, dataprovider3) which I merge them in to one (dataprovider merged).  Then I create a variable (dataprovider) in the variables folder.  When I process it in RESTful API by supplying the datafilter <datafilter><and><condition key="[dataprovider]" operator="Equal"><value>my value</value></condition></and></datafilter> using API http://host:port/biprws/raylight/v1/documents/<documentId>/reports/<reportId>/datafilter, but I get an error:

<error><error_code>WSR 00400</error_code> <message>The expression "[dataprovider]" can't be found in the document dictionary. Please enter another expression.</message></error>

 

Please help.  Most of all documents are like this.

 

Thank you.

Restful SDK vs Java SDK for SAP BusinessObjects

$
0
0

As we know that Java SDK is used for BOXI 3.1 and Restful SDK is supported from BO 4.0

Please let me know will all the outcomes that we achieve from Java SDK are possible through Restful SDK also.

BI Universe Connector using Rest API

$
0
0

Using Rest API URL, I can send HTTP calls using Chrome Rest client and can see just the universe metadata like CUID, Description, Type etc.Using <Resturl>/sl/v1/universes/si_id , I can see the unx universe Folder and object names, Data Type.

 

I would like to know how to query the universe data as ODATA feed in MS Excel using the Rest API URL. If yes, what needs to be done and what the Odata URL would look like. Any guidance is appreciated.

How to get a copy of the generated report?

$
0
0

Hi,

 

I am on BO 4.1 SP5.

 

I need to schedule a report and then get a copy of it once it is generated. I have figured out the the APIs needed for first browsing the folders, listing them, and scheduling the report of interest. However, once the scheduled report is generated (I am generating a pdf), I can't find an API to fetch that generated report. My experiments suggest that the generated report doesn't show up as part of "documents", and therefore I cannot use the document APIs to list/fetch it. The schedule APIs only provide further information about the schedule, but not actually giving me a copy of the report that I can save locally. Any inputs would be highly appreciated.

 

Thanks

-Ankit

How to troubleshoot RESTful login problem ?

$
0
0

Hello,

 

I hope it's the best place to get a solution because I'm becoming crazy !


My environment is :

 

# Client

Windows Server 2008R2 SP1

MS Office 2010 32-bit

Live Office 4.1 SP7

 

# Server

Windows Server 2008R2 SP1

Tomcat 7.0.59 + JRE 8_66

BO BI 4.1 SP7

 

 

 

I've upgraded to BO BI 4.1 SP7 and when I try to login from "Live Office", I've got  "LO 02049" error for WinAD and Enterprise authentication modes.

 

In CMC, I have:

RESTful URL: http://servername:6405/biprws => in browser: no answer !?!

Web service URL: http://servername:8080/dswsbobje   => in a browser, gives me Axis2 welcome page

WACS is ON, with RESTful in its parameters, and restarted many times

 

IT seems to be a problem with RESTful service: http://servername:6405/biprws/logon/long => in Chrome browser: Unreachable page - ERR_CONNECTION_RESET

 

No firewall problem :

6405 destination port tested from client : listening

and I reproduce the ERR_CONNECTION_RESET even on BI 4.1+Tomcat server.

 

In Live Office log, I find:

"Une erreur s'est produite lors de la demande du jeton du service REST"

= An error occured during the request of the token of the REST service

 

Very helpful message ! What kind of error ???

 

Any idea to solve this problem ?

I read many many posts without success.

 

 

Regards,

 

Stephane.


Consume JSON rest web services

$
0
0

Hi experts,


     I have a requirement to Consume rest web services from a URL, which is in JSON format. Help me out to make it.

 

Thanks
~Faseeh

BO 4.1 Universe Metadata extraction using Java Restful Webservice

$
0
0


Hi

 

We are building an application using the Restful webservice and are trying to extract the metadata from the Universe.

We are using BO4.1 SP3 pack.We are able to extract details of universe(unx),but we intend to extract tables and joins in universe.

Whether there is any URL to retrieve Tables and joins from Data Foundation Layer.

 

Please help.

 

Regards,

Kavitha S

RESTful API V1/documents root folder location

$
0
0

I've set up a REST call to my BOE server but the only reports that are coming back are the reports in the Reports Sample/Web Intelligence directory.  Do I need to change where v1/documents points to?  or is there another setting/permission that I am missing on my other report folders?

 

Public Folders

-  Report Directory 1

-  Report Directory 2

-  Report Samples

--- Monitoring Report Samples

--- Report Samples

--- Web Intelligence Samples

 

Thanks

 

Tanya

Identify whether a data provider has a context

$
0
0

Hello Friends

 

Using RESTful web service SDK how can i identify whether a particular data provider in a BI 4.1 Webi document has a context or not?

 

I used the GET <webiURL>/documents/8722/dataproviders/DP5/queryplan call as suggested in the RESTful web service guide and searched for the "Missing contexts" keywords in the response but it isn't working.  The "Missing contexts" keywords are not present in the response even when the data provider had a context.

 

Is there any other way to identify whether a data provider has a context or not using RESTful web service SDK?

 

Regards,

-CF

interactive parameters using with restful api

$
0
0

Created a report configured interactive parameters. One of those parameters are Boolean and date. these are not required parameters I want them to be optional. From interactive parameters I selected those as Prompt value Optional .

 

  • When I am exporting the report using restful it is returning error no values for "parameter Name"
  • Show records which as date interactive parameter is not null
Viewing all 1088 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>