Schedule Webi report using RESTful API

We are using BO 4.0 (SP2) and looking to schedule reports using our intranet application. I have searched for APIs avaialble and was able to find RESTful API for SP4 but not SP2.  How can we do it in BI 4.0, SP2?
Quick help will be really appreciated.
Thanks

you can schedule Webi documents with prompts using the following:
URL: http://<servername>:6405/biprws/raylight/v1/documents/<docid>/schedules
Method:POST
Request Body:
<schedule>
<name>Enter values for City:</name>
<format type="webi"/>
<destination>
<inbox/>
</destination>
<once retriesAllowed="2" retryIntervalInSeconds="60">
<startdate>2013-08-26T15:58:51.000+02:00</startdate>
<enddate>2013-08-27T15:58:51.000+02:00</enddate>
</once>
<parameters>
<parameter optional="false" type="prompt" dpId="DP0">
<id>0</id>
<technicalName>Enter values for City:</technicalName>
<answer constrained="false" type="Text">
<values>
<value>Austin</value>
</values>
</answer>
</parameter>
</parameters>
</schedule>
Using the above request you can schedule the Webi document with prompts to inbox destination  and set for once. The schedule can be sent in different formats to several destinations and set just for once, daily,
hourly or monthly.
BUT, its broken if you want to schedule a weekly report (Calendar Date) with prompts in BI 4.1 and SDK has been deprecated.

Similar Messages

  • Error When Trying to Schedule Webi report using SAP authentication

    Hii,
    We are trying to Schedule Webi report in CMC for Group of Users using SAP authentication(SSO) ,While Trying this we are geting error Unable to Connect to SAP BW server Incomplete Logon Data ..(IES 10901) .
    Authorization done at BI side and Its working properly.Users are able to login into BI Launchpad and View Report as per authorization
    Some Webi reports are created using BICS connection and some  are created using Universe Design Tool (.UNV) which are migrated from BO 3.1 to BO 4.0
    Server Status:
    BO server and Client Tools-:BO 4.0 SP6
    BW System-7.01
    Please refer attach Screen Shot

    Hi Rupesh,
    Please check the below note:
    Seems issue with SNC/STS settings.
    1798197 - Schedules fails with error "Database error: Unable to connect to SAP BW server Incomplete logon data.. (IES 10901)" in BI 4.0
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…

  • Schedule webi report using  BW data source and send through email..

    Hi  all,
    I want to schedule webi report and send it through email.
    I am able to send through email.
    here im  got stopped how to schedule the report from bw data source . i have to schedule in webi infoview how to give date format in universe the report sholud run for (sysdate-2) daily
    eg. today is 02-DEC-2011 if i schedule the report it should run for 30-NOV-2011.  iam trying in both BW qyuery and CUBE im not getting how to give date format in
    let me knw is there any solutions..
    im using XIR3 3.1 sp3
    bw 7.1
    Integration kit sp3
    Regards,
    Ravi Sarma.

    it is resolvede by keeping sysdate-2 variable at bw query side i have solved my issue.
    Regards
    ravi

  • How to schedule webi report using OLAP Universe

    Hi all,
    I am using the webi report which is based on BW query or cube.
    I want to schedule the webi report  which should get refreshed automatically.
    how to set the date parameter for that webi report at universe or report level.
    or shall i should create a variable at bw side i.e., (sysdate -1)  and tht variable should i use in the report or any idea..
    i am using BOE 3.1 SP3
    Integration Kit SP3
    BW 7.1
    Thanks & Regards,
    Ravi Sarma
    Edited by: Ravi Sarma on Dec 6, 2011 6:09 PM

    Hi,
    it won't be at "report-level" . those local variables are formulae used for formatting, not for user inputs / responses.
    Easiest is to use the SAP KEYDATE variable in the BEx query.
    This SAPVAR will come through as a WebI prompt like any other, and has a default value of sysdate (if not answered differently)
    As for the Scheduling mechanism, this is the same as always - done in Infoview / BILaunchPad - select the webi instance, and click Schedule .
    Regards,
    H

  • Can Tivoli (TWS) be used for scheduling WebI reports in BO XI 3.1?

    I am trying to figure out if it is possible to schedule WebI reports to refresh using TWS?
    We are using BO XI 3.1 SP2 deployed on unix and would like to use TWS to refresh WebI reports that are built on SAP BW Bex queries.  Does anyone have any experience scheduling WebI reports using TWS with XI 3.1?  Any information you can provide would be appreciated!
    Thanks,
    Derek

    Hi
    I can think of two options:
    1) You define in BO CMC external events  and schedule your reports to wait for them. In the TWS you can schedule an OS script to create the file that triggers the BO external event. The reports will run only after the file is created.
    2) You write  a java program that uses the BOBJ SDK in order to schedule immediately your reports. In the TWS you create a scedule that starts the java program. (You can find examples how to use the SDK here http://www.sdn.sap.com/irj/boc/samples )
    Regards,
    Stratos

  • How to schedule webi report in bulk (multiple report in one request)

    hi,
    I am little bit new to BOXI. I have little bit work experience in Crystal X on scheduling which was used in one of our enterprise java application. We are exploring options in BOXI.
    Currently i am scheduling a report with following api
    infoStore.schedule (webiDocs);
    This will schedule one report instance.
    My question is
    Is there any way to schedule multiple instances of a same report in one request.
    Is there any way to schedule multiple instances of a different report in one request.
    If above things are possible please provide the apis for the same.
    thanks in advance
    Shreenidhi

    Scheduling multiple Webi reports in one command:
    infoStore.schedule takes 1 arhgument of type IInfoObjects which is a collection of InfoObject. IInfoObjects is retrieved by the query. So if you to retrieve all the Webi Docs you want to schedule , then with infoStore.schedule(WebiDocs), it will schedule them all in 1 shot. Scheduling Info properties for each Webi Docs should also be set. Please refer to the samples on scheduling at link below.
    https://boc.sdn.sap.com/node/3211
    Scheduling one Webi Doc multiple times in one command:
    I donu2019t think it can be done in one command. Do you want to schedule the object multiple times each time running it with different prompts? Or do you want it to be sent to different destination in each schedule? Otherwise you can schedule it once and then access the scheduled instance multiple times.
    I hope this helps.
    Regards
    Aasavari

  • Scheduling webi reports via Java SDK in BI 4.1

    Hi,
    Has anyone been able to schedule a Webi report containing date prompts via Java SDK in BI 4.1? I have tried doing so but it doesn't work when date prompts are involved, I get the exception raised: java.lang.NullPointerException error. Though the scheduled instance is created and the date prompt appears to be correctly populated the report fails with the above mentioned error message. The code is working for other text prompts but fails when I have a date prompt in the report. I am using the populateWebiPrompts() method to populate the prompts.
    CF

    Hi Christopher,
    Try adding the following line in your code before scheduling:
    iWebi.setUserInputLocaleName(documentInstance.getProperties().getProperty(PropertiesType.BASE_LOCALE));
    Also as an FYI, please refer below details.
    For scheduling webi reports with prompts, the only supported way is to use Restful webservices SDKs.
    The feature of scheduling a webi report with prompts were deprected from release BI 4.x and introduced in the new restfull webservices. Restful is the future which SAP is focussing and would be great to have your application on supported terms with SAP.
    You can get details about the restful webservices from the documents and blogs available at below forum
    http://scn.sap.com/community/restful-sdk
    Thanks,
    Prithvi

  • Date error when scheduling webi reports

    Hi,
    When i click the prompt option in re schedule the scheduled webi report, i got the error "while trying to invoke the method java.util.date.gettime() of a null object loaded from a local variable 'date' "
    The BI version is 4.1 SP03
    The scheduled webi reports failing and got the error as "Unparseable date: "01/01/1900" "
    How to solve this issues?
    Regards,
    Kathir

    This might fix it from the note http://service.sap.com/sap/support/notes/1981477
    Create a WebI report that uses a date object in the Query Filters
    Schedule the report
    Reschedule by manually entering date value which shows only date and no timestampExample: 12/31/2007
    Reschedule by selecting date value from the calendar which shows date timestampExample: 12/31/2007 12:00:00 AM
    Create a biar file using the Import Wizard and migrate to BI 4.1 SP2
    BI 4.1 SP2 BILaunchPad, navigate to and Right click the report and go to “History”
    Right click the instance without a timestamp for the date parameter and select “Reschedule”
    Click on “Prompts” on the left menu and note an error is produced:This error occurred: while trying to invoke the method java.util.Date.getTime() of an object loaded from local variable ‘date’
    Attempting to schedule this instance (as Run Now or Reschedule) without selecting a Prompt value fails with the error:  Unparseable date: “12/31/2007”
    Using the instance with a timestamp works as expected

  • Getting multiple error while refreshing or scheduling WebI report

    Hi BO Admin Experts ,
    Feacing  multiple errors  while refreshing or scheduling webi reports in BI4.0 CMC ,
    Please find the below errors :
    1)report schedule status failed
    2)Parameters : xxxcorp-franklinee; ATOu supply unv
    Error Message : An internal error occured while calling 'ProcessDPcmndsEx' API (Error:ERR_WIS_30270)
    3 ) Format : WebI
    Parameters : 10000000000159270
    Error Message :CORBA error while communicating with the SL service
    Could you please help me on the abive 3 issues for the WebI schedule reports
    Cheers ,
    Pradeep Gorpadu

    Hi,
    While refreshing the WEBI Reports would recommend you check the WEBI PROCESSING Server's last changed date from CMC--> Servers.
    Check when you are refreshing the reports, do you see the time stamp changed of WEBI PROCESSING servers?
    Do you keep getting this error messages for all WEBI reports? Can you re-produce this with simple e-fashion reports as well?
    After that go to the node where WEBI PROCESSING servers installed and check on the event viewer details if you see any relevant error messages.
    Regards,
    Upendra

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    Hi,
    I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
    [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=rzr63XFt5qJduddohoIRyOYAP%2f1%2ftsnhk8L%2bzBmUpdU2CQlcUB98RpY%2bbOaLFFGMqAC4IUUadC%2fNdNnJqeVCY%2f%2bpy6noVsVA%2fMJp47a3Xb1VjABfKhcdKy6vqpgEdcQg%2fQZ7QcEpZ3bEloJjUtGpDquFk53BnkeHEPVWZkDYcsQegRz%2fpG4t4w6gKCCRmhArd6osr6ZU9CMJ3lbxtGXjcQEMPvP2apNyr9P%2fc8niyfWA2aBcm1aEmOLX2KL3aRJ4rz9N7gG7uBslVZH%2b4rUjHdB7CMkbb%2fHyHwvPTqGPbPCHnicefr%2b%2fDP70hlkBEGfyOOswK67%2bl1zh7CyIv%2bcMlaDsuDX1HeFf4uORfD41H1z7):
    failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl. 

    Hi Shobha,
    I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
    PHP 5.4.14 has been installed from PHP.
    Here is our code examples:
    https://msdn.microsoft.com/en-US/library/bing-ads-overview-getting-started-php-with-web-services.aspx
    Thanks,
    Itai

  • Add user to sharepoint group using REST API

    I am trying to add a user to sharepoint group with following code
    serviceUrl= Appweb + "/_api/SP.AppContextSite(@target)/web/sitegroups("+GroupId+")/users?@target='host web'";
        $.ajax({
            url: serviceUrl,
            type: "POST",
            contentType: "application/json; charset=utf-8",
            dataType: 'json',
            body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|'+email }",
      headers: {"accept":"application/json;odata=verbose",
        "content-type": "application/json;odata=verbose",
        "X-RequestDigest":$("#__REQUESTDIGEST").val()
        async: false,
      success: function (data) {
               alert('success');
      error: function (data) {
                 alert('fail');
    The request goes to error function. Response of the request is Microsoft.SharePoint.Client.InvalidClientQueryException and message is A node of type 'EndOfInput' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was
    expected
    I tried the sample from following link but fail it
    https://msdn.microsoft.com/en-us/library/office/dn531432.aspx

    Hi,
    Per my understanding, you might want to add an user to a SharePoint group in host web from a SharePoint Hosted App using REST API.
    Here is a working demo for your reference:
    var hostweburl;
    var appweburl;
    $(document).ready(function () {
    //Get the URI decoded URLs.
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
    // Resources are in URLs in the form:
    // web_url/_layouts/15/resource
    var scriptbase = hostweburl + "/_layouts/15/";
    // SP.RequestExecutor.js to make cross-domain requests
    $.getScript(scriptbase + "SP.RequestExecutor.js", loadPage);
    // Utilities
    // Retrieve a query string value.
    // For production purposes you may want to use a library to handle the query string.
    function getQueryStringParameter(paramToRetrieve)
    var params = document.URL.split("?")[1].split("&");
    for (var i = 0; i < params.length; i = i + 1)
    var singleParam = params[i].split("=");
    if (singleParam[0] == paramToRetrieve) return singleParam[1];
    function addUsersInGroup() {
    var executor;
    // Initialize the RequestExecutor with the app web URL.
    executor = new SP.RequestExecutor(appweburl);
    executor.executeAsync({
    url: appweburl + "/_api/SP.AppContextSite(@target)/web/sitegroups(8)/users?@target='" + hostweburl + "'",
    method: "POST",
    contentType: "application/json; charset=utf-8",
    dataType: 'json',
    body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|[email protected]'}",
    headers: {
    "Accept": "application/json; odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest":$("#__REQUESTDIGEST").val()
    success: addUsersInGroupSuccessHandler,
    error: addUsersInGroupErrorHandler
    function addUsersInGroupSuccessHandler(data)
    console.log(data);
    var jsonObject = JSON.parse(data.body);
    console.log(jsonObject);
    function addUsersInGroupErrorHandler(data)
    console.log(data);
    var jsonObject = JSON.parse(data.body);
    console.log(jsonObject);
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • Scheduled Webi Reports Don't Open on iOS's MS Exchange Mail

    Hi all,
    I am not sure if this is the right place to write this post but I will try anyway.
    We are using BO 4.0 SP6 and schedule webi reports as attached xlsx of pdf in e-mails.The problem is that the attached pdf's and excel files don't open right away in iPhone's native mail application when using MS Exchange. A tiny question mark shows up on the top corner of the attachment and when you tap on it, it asks which application to use to open it. We can choose iBooks app for example to view the file. We would like the attachment to open right away as we tap on it as it does usually.
    Here are some test results:
    -We have observed this issue on iOS 8. However, there are rumors that it started with iOS 7. Same rumors suggest that it would work fine before iOS 7.
    -We use iOS' native mail application with a MS Exchange account set up.
    -We have also tested it with a gmail account set up next to the exchange account. The attachment opened with no problem.
    -If someone forwards the mail received from the BO server, to another exchange mail, the attachment opens just fine.
    -We have no problem opening other exchange mails with attachments on mobile.
    We suspect, the exchange mail can't confirm the sender address thus can't trust the attachment if it is really a pdf-excel file. So we tried scheduling the webi report with a valid mail address in the sender information box but it didn't work.
    Has anyone came across such a problem?
    I know this issue involve SAP, Apple and Microsoft and each one will point the other for the blame. But any help will be appreciated.
    Thank you

    Hi Emre,
    Though this appears on Mobile, this belongs to Webi Product team. As the schedule of Webi reports and the email output would be controlled by them. They can work with Apple to identify the cause and fix the defect. Hence, you can post your question in SAP BusinessObjects Web Intelligence
    I would also recommend that you contact Webi Product Support through the official channel http://support.sap.com/incident
    Regards,
    Ashutosh

  • Sharepoint-Hosted App giving FORBIDDEN error when i use REST Api

    Hi,
    I have created a sharepoint hosted app which will create Team site on button click.
    I used REST Api  and  NAPA Tool to develop this app.
    Napa tool gives to things ClientWebpart.aspx and Default.aspx.
    When i run my Default.aspx code is working fine but ClientWebpart.aspx is giving FORBIDDEN error when i am trying to create site.
    Below is the code which i used to create site
    code:
    var hostweburl;
    var appweburl;
    $(document).ready(function () {
    hostweburl= decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
    function createSPWeb() {
    $.ajax(
    url: appweburl +
    "/_api/SP.AppContextSite(@target)/web/webinfos/add?@target='" +
    hostweburl + "'",
    type: "POST",
    data: JSON.stringify(
    'parameters':
    '__metadata': { 'type': 'SP.WebInfoCreationInformation' },
    'Url': 'RestSubWeb',
    'Title': 'RestSubWeb',
    'Description': 'REST created web',
    'Language': 1033,
    'WebTemplate': 'sts#0',
    'UseUniquePermissions': false
    headers: {
    "accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    success: successHandler,
    error: errorHandler
    NOTE:This is on sharepoint online.
    Please help
    Regards,
    sudeep

    So in the app you are testing, are you using the FQDN or the NetBIOS name? Bad practice but could you test with both (hard code the absolute URL for testing purposes) then retest your app?
    If you are making a web part based on the new app model this will be an "app part" and probably have the same issues you are experiencing. If this is for something internal rather than a product you are developing to resell then the script editor /
    content editor web part approach could work for you.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Scheduled webi reports fail, why? If I restart BO services they work again

    Hello.
    I'm having a problem with my scheduled Webi reports and I don't know what is causing it.  I have some reports scheduled to run at 8:00 am, and are supposed to be sent to a determined e-mail. Last week it worked well and the reports were sent to their destination successfuly, then this week the same reports didn't reach their destination.  I verified in the History option and all of them showed a Failed status.  I checked the detail and this is what it shows:
    Unexpected exception caught. Reason: [java.lang.NullPointerException: i_statusInfo is null.]
    If I try to reschedule these reports or any other report or a new report I get the same error.  The only way I can make the schedule option work again  for my webi reports is restarting  BusinessObjects services.
    But I guess this is not the right solution.
    What can I do? How can I determine what is causing my scheduled webi reports fail?
    What does  this java.lang.NullPointerException: i_statusInfo is null message mean?
    Is there a way I could track the service that is failing? which BO service is the service that manage the Schedule reports?
    Any help is welcome.
    Edited by: Erika Atencio on Sep 1, 2010 6:27 PM

    >
    Efstratios Karaivazoglou wrote:
    > Which version of BOBJ (incl. SP and FP) are you using?
    >
    > Regards,
    >
    > Stratos
    BusinessObjects XI 3.1 SP2
    FixPack 2.6
    Edited by: Erika Atencio on Sep 1, 2010 8:46 PM

  • Scheduling WebI reports in BusinessObjects 4.0 date prompts

    will SAp Business Objects 4.0 include some kind of feature to allow people to schedule webi reports in an easier way if the report conatins date prompts? For example if my report has 2 dates start date and end date prompts, it's logical if I want to schedule it to be refreshed every month I don't want to keep it scheduling with the same start date and end date for ever.  I want them to change depending on the month.
    I know there are some things that can be done at universe level, but what if a user doesn't have rights to modify the universe? It would be more useful to have some option in the schedule window to make the values change depending on some basic conditions.
    Or at least if profiles settings could help to do that by selecting in the list objects instead of fixed values from the list, it could help too.

    Hi,
    This looks like to be a request for future product enhancements.
    You need to log an Enhancement Request via Idea Place for the feature/functionality you would like to see in BI4.0.  Please follow steps in the attached SAP note [1515837 - How To: Enhancement Request Process - Idea Place |https://bosap-support.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303135313538333726]. If this idea is already submitted, you will need just to add your vote to it.
    Regards,
    Jeff

Maybe you are looking for

  • Ns0 in all the element tag of the XML output file

    Hi Gurus,   I'm performing a mapping in the Integration Builder. The target structure is based on an imported xsd file via External Definitions. However, in the output file, I'm getting a ns0 prefix in all the name of the elements. Below is an exampl

  • Stream Itunes via ethernet instead of wireless?

    I have connected Airport to my network via the router and and ethernet cable. It all went well but itunes is not recognizing that I have airport. Is it possible to stream music to Airport this way? I do not have a wireless card on my system at this t

  • How to separate execution threads to different CPU core?

    I have code that needs to be executed in parallel.  The code is not in a loop.  One part of the code needs to handle GUI selections while the other part of the code does something else.  I want each thread to run in a separate core because the other

  • Why watch one Music Video and then Stop (and the next one? no fun)

    I would like to know if Aple TV let "Music Videos" play without stop. I would like to see all my Music Videos without stop,... but with "Aple Tv" i can see only one, and then if i want to see an other one, i have to do it by my self. I thought ok, ma

  • The payment card you entered is not valid in Russia

    I am Russian living in Austria. I would like to watch movies I buy in iTunes store, in Russian. However, Russian language is not available for movies sold in Austrian store, and my Austrian credit card is not valid in Russian iTunes store. Is there a