cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BO Report Scheduling and Save as report using Java SDK

Former Member
0 Kudos

Hi All,

We have a java product which is integrated with SAP BO using Java SDK and we have certain java screen through which we select report prompt values and webi report gets run.

Now we want to give a functionality to save report to BO repository.

When user select certain check box from java screen a separate copy of the webi report should get saved under default folder on BO repository.

Also, we want user to choose the scheduling option from java screen only (and not the one which we use from BI Launchpad) due to certain access restriction. User does not have access to BI Launchpad. Only he can run report by selecting values through Java screen.

If i need to create a separate screen for scheduling as well as saving webi report then also i am ok with it.

P.S. i guess we need to work on Java SDK level. But could somebody please help me with the right direction?

Let me know in case requirement is not clear.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prithviraj,

I have gone through your blogs and pdf files. At one point i am completely stuck.

Im trying to make an HTTP POST request to http://server:6405/logon/long with the modified XML logon template in the body of the request.

Im using following code, but when i run this file I'm getting following errors HTTP 406 and  HTTP 415

<!DOCTYPE>

<html xmlns="http://www.w3.org/1999/xhtml">   

<head>

    <meta name="Content-Type" content="applicationxml">

    <meta name="Accept" content="application/xml">

    <meta name="Accept-Language" content="en-US">

</head>  

<body>

    <form action="http://SERVER:6405/biprws/logon/long" method="post" accept="application/xml">

    <attrs xmlns="http://www.sap.com/rws/bip">

    <attr name="userName" type="string">USER</attr>

    <attr name="password" type="string">PASS</attr>

    <attr name="auth" type="string"  possibilities="secEnterprise,secLDAP,secWinAD">secEnterprise</attr>

    </attrs>

      <input type="submit" />

    </form>

</body>

</html>

Could you please throw some light on HTTP 406 and HTTP 415 error that i am getting.

I am not able to find an exact solution to get this thing working.

Let me know in case if you need any other information.

Former Member
0 Kudos

Hi Ketan,

You any RestClient plugin to test the Restful Urls.

I basically use the advanced rest client of chrome.

Execute the urls in there following the document and you will get handson on the technology.

Also, please, could you enable the "show stack trace" checkbox in WACS server properties, and copy the full stack trace you received?

Also you can raise this concern at the below space, which is specifically for Rest and you might get more responses and better resolution.

http://scn.sap.com/community/restful-sdk

Thanks,

Prithvi

Former Member
0 Kudos

Hi Ketan,

Let us know the BO Product version with pathes(if any) to give you a better response.

There have been significant changes on the SDK side for Webi from XI 3.x to BI 4.x.

So mentioning the product version is of utmost importance.

Thanks,

Prithvi

Former Member
0 Kudos

Thanks for your quick response Prithviraj,

Currently we have BO 4.0 SP 5 version.

And we are planning to upgrade to 4.1 version within next couple of months.

So if there are any significant changes at the SDK level for Version  4.0 and 4.1 then kindly let me know the solution for both the versions.

Former Member
0 Kudos

Hi Ketan,

As you are on version BI 4.0 SP5 and would be migrating to BI 4.1, the best SDKs to use would be the Restful Webservices SDKs.

You have the options to schedule a webi report with prompts as well as the save feature which you require.

Please refer to the webi restful guides avialble at


For BI 4.0 SP5
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_webi_restful_ws_en.pdf

For BI 4.1 SP4
http://help.sap.com/saphelpiis_sbo41sp4wi-sdk/frameset.htm

Refer to the below blog to understand the Restfull Webservices SDKs.
http://scn.sap.com/community/restful-sdk/blog/2013/09/07/scripting-web-intelligence-the-restful-rayl...

More blogs on Rest are available at

http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~ob...

You can find the samples from the below link

http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~ob...

You would need to refer to the community below in case you have concerns about Rest SDKs.
http://scn.sap.com/community/restful-sdk

Thanks,
Prithvi

Former Member
0 Kudos

Thank you so much Prithviraj...

I will go through those documents and blogs and will let you know in case if i need your help.

Cheers

Ketan Potdar