Invoking scheduled/bursted reports via HTTP... documentation?

Hi all - I am looking for documentation regarding the HTTP "API" for BI Publisher Scheduler. There is an HTTP interface for which I can find no documentation. For instance by POSTing a URL such as http://<site>:<port>/xmlpserver/servlet/scheduler?ujobname=DirectDeliveryReport.xdo&d_printerd_p_gname0=direct&show_conf_page=true&d_method0=d_printer0&job_locale=en_US&save_output=off
...you can "schedule" a job for immediate execution and output to a printer.
This is the method of execution for Oracle SIM 13 and is vaguely described in the SIM 13 Implementation Guide but not apparently in the BIP docs. I am wondering:
a) what is the API for this web interface? What are the parameters?
b) can this interface be used for bursting reports? If so it would seem to be a much easier way to schedule burst reports when an external scheduling system is required. More straightforward, like a shell script for Oracle Reports, rather than having to write a Java app to call BIP twice, first to get the XML data, second to burst/deliver that data.

Hi Tim -
By 'run now' mode via HTTP, are you referring to a direct call to the XDO or a one-time run via the scheduler servlet? I am not looking to set up a repeating schedule via HTTP, simply to kick off a one-time job with an output destination of email or printer. I cannot find any documentation for the one-time scheduled execution through the scheduler via HTTP. I have searched all the 10.1.3.3.3 docs, the blog, and the message boards for some of those parameters being defined in the SIM URL and there's no mention of them.
SIM may use some internal logic to construct the URL, but by looking at the SIM, Apache, and BIP log I can see what it's doing. It's a series of GETs and POSTs via HTTP. Using this same logic, I have constructed some PL/SQL (http_utl package) to call BIP in the same fashion from a trigger and it works fine. The HTTP interface that SIM is using certainly seems to be fully-fledged; it seems to have parameters that would allow you to define the output format and destination. I just want to know what they are =)
All I'm trying to do is automate some of the SIM printing by making it trigger-based rather than GUI-based. If the client wants to, say, autoemail instead of autoprint, I would have no idea how to change the URL params to do this. Secondly, if such a URL could specify that bursting, per the XDO, take place, we can use this HTTP method to invoke BIP from an external scheduler which will be easier for us than using web services.
Thanks in advance,
-eric

Similar Messages

  • Error in Scheduling a report via FTP option in WEBI

    Hi,
    I am not able to schedule my report via FTP. Im putting in the details correctly.
    Would like to confirm what value should be mentioned in port, the servers port? and account refers to the user Id on the server ?
    It is giving the following error :
    connection error. [WSA10038]: [CrystalEnterprise.Ftp]

    Hi Neha,
    This error message may occur due to following causes:
    1. The ftp destination parameters of the relevant Job Server are not set correctly.
    or
    2. The ftp port is blocked.
    Kindly refer SAP Note 1427440 to verify the solution.
    Regards,
    Nakul Mehta

  • 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

  • Scheduling 100 Reports via the Precalculation server.

    Hi All
    We are on BI7 and have a precalculation server.
    I need to schedule 100 reports once a month to suppliers, my question is is it best to attach it onto a Process Chain or is it best to schedule them independently.
    Thanks in advance.
    Regards...BK

    You could also use the DataChange event Process type in a process chain.  You add the DataChange process, set a variant value, then schedule your reports to be triggered by the DataChange event.
    If you are scheduling 100 reports, you should also know how many precalc servers you have setup in your environment, and know how large the precalc queue is.
    SAP doc on precacl server has some sizing info to suggest how many precalc server you might need.  Also review the RSADMIN parameter that can be used to adjust the precalc servers queue size.

  • Bursting Reports via email with seperate email address for each page

    I have been reading "Oracle® Application Server Reports Services Publishing Reports to the Web" (most specifically chapter 15 Creating Advanced Distributions) trying to figure this out but still having difficulty getting my head around it.
    I am trying to email invoices when applicable. Here is the "perfect world scenario".
    Report is scheduled to run once a day.
    Any qualifying invoices are picked up in the run.
    If there is an email address associated with the record the invoice is sent via email. (email address would be included on report and variable)
    If no email address is associated, the invoice is printed.
    There could/would be several different invoices on a single run.
    Does this mean I have to write dynamically write a distribution.xml file for each run or can I pass the email address as a variable to the distribution.xml?
    (builder version 10.1.2.0.2)
    bump
    Edited by: sdortch on May 21, 2009 9:09 AM

    Hi !
    You're able to use Report-Variables (e.g. from a Group in the Data Model) in the distribution.xml-File to send email to different adresses.
    Just bear in mind that you also need to set the "repeat-on" Property of the relevant layout section and use a "foreach"-Loop in the distribution.xml.
    So, no, no "dynamic" building of xml-Files necessary (though we do it at times...).
    See also "Publishing Reports to the web" for a complete reference on "burst distribution" and the components of the distribution.xml
    I would, however, run the report twice, once for "all email-invoices" with email-distribution file, once for "all invoices w/o email-adress" with (probably) printer-distribution file, as "exception" handling inside a distribution.xml could be a bit awkward...
    Cheers,
    Jens Rettig

  • Issue when Bursting reports via new Precalculation Server

    Hello,
    We are trying to migrate away from our unsupported 720 installation of the SAP Precalculation software to a new Precalculation Server running the latest versions. We’ve overcome a number of issues and we can successfully Broadcast using the new server but we are encountering problems
    with bursting.
    The Bursts have been running successfully on the old 720 server, so we know that the BW side must be fine which suggests the problem is with the Precalculation server. We have been through the Precalculation checklist and the servers appears to have been built successfully. The Precalculation and Business Explorer software has been patched to the latest version and it’s running Excel 2013.
    The main error message we are seeing is “The RPC server is unavailable” HRESULT: 0x800706BA.
    A Screen shot showing the error in RSRD_LOG  is shown in the attached document.
    Below is an extract from the Log of the Precalc server showing this error, just before the RPC Server is unavailable message it states
    Error occured on closing opened workbooks.
    |ZPREC730_1:9/3/2014 2:10:20 PM.777 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 1 time(s | 
    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 1 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:25 PM.785 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       
    |
    |ZPREC730_1:9/3/2014 2:10:25 PM.785 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 2 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 2 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:30 PM.792 (0) -> Calling refresh BExAnalyzer.xla!MenuRefreshPrecalc        |

    |ZPREC730_1:9/3/2014 2:10:30 PM.792 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 3 time(s

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 3 time(s                                                |

    |ZPREC730_1:9/3/2014 2:10:35 PM.800 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       

    |ZPREC730_1:9/3/2014 2:10:35 PM.800 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 4 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 4 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:40 PM.808 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       

    |ZPREC730_1:9/3/2014 2:10:40 PM.808 (0) -> Refresh BExAnalyzer.xla!MenuRefreshPrecalc
    failed 5 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 5 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc returned with 0 |

    |. BExAnalyzer.xla!MenuRefreshPrecalc returned with 0                                               

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 (0) -> Error occured on closing
    opened workbooks.                |

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 -> An Exception  occured in thread '0':                          |

    |ZPREC730_1:The RPC server is unavailable. (Excepti on from HRESULT:
    0x800706BA)                      |

    |ZPREC730_1:System.Runtime.InteropServices.COMExcep tion (0x800706BA):
    The RPC server is unavailable. |

    |(Exception from HRESULT: 0x800706BA) tion (0x800706BA): The RPC server
    is unavailable.              |
    When this error occurs an error is reported in the Event Viewer on the server
    Faulting application name: EXCEL.EXE, version: 15.0.4535.1507, time stamp: 0x52282875
    Faulting module name: EXCEL.EXE, version: 15.0.4535.1507, time stamp: 0x52282875
    Exception code: 0xc0000005
    Fault offset: 0x005b447e
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13
    We have the latest 730 patches installed on the Precalculation and Business Explorer software. We are running Excel 2013 (32bit) on a Virtual Machine running Windows 2008 R2.
    If you have any suggestions on how to resolve this problem I'd be delighted to hear from you!
    Many thanks,
    Mark

    Hi,
    There is no easy fix for this. Please go through the precalc check list which should solve the issue:
    Checklist for Precalculation Server - SAP NetWeaver Business Warehouse - SCN Wiki
    Regards,
    Michael

  • Access report via HTTP?

    When using com.crystaldecisions.reports.sdk.ReportClientDocument.open(Object, int) (i.e. when using thick client setup), is it possible to refer to a remote file (located either on a HTTP server or directly on a remote machine) or must the *.rpt be located on the local machine where the report is constructed?
    When I try anything other than a local file path, I get a file not found error.

    Must be file path, not an URI.
    Sincerely,
    Ted Ueda

  • Using the Bursting engine for scheduling the Reports

    Hi,
    Can we use the Bursting Engine for scheduling the reports? For example I want to run a report in a scheduled time and send the mail to destination. We can do these things in the XML Publisher console. But we need to find any other way to schedule a report.
    Thx,
    Vijay.

    I am looking for the same thing.
    I believe the APIs are entirely separate from the functionality in the BIP web application. So that there is no way to programmatically initiate the scheduling of a report/template already defined in the UI via a command line or API call. Is this accurate?
    I sort of expected the APIs to have functionality that exposed the features of the web application, as opposed to just exposing the base functionality/engine of BIP.

  • Publication, Scheduling and Report Bursting

    Hi,
    what is the main differences  between Publication and Scheduling and Report Bursting.
    Regards,
    G

    Hi,
    When scheduling a WebI report, you instruct the system to let it run for a certain parameter set at a given time. The result is stored in your system and it called instance.
    In a publication you can include more than one reports (several kinds too) and define how and to whom you want to delivered them to. Then you can run/schedule your publication and the content will be delivered as defined at a given point in time.
    How to use publication link.
    http://davidlai101.com/blog/2011/10/27/step-by-step-guide-on-bursting-reports-in-business-objects/

  • HTTP 302 Error When Scheduling OEM Report

    I'm trying to schedule a custom report to run out of OEM 11.1 and am receiving the below error. The report displays properly from the OEM console, but seems to get an HTTP 302 error when trying to schedule the report to run, have changed the schedule options from daily, weekly, one-time immediately, one-time later and all generate the same error. Not sure what is causing the HTTP 302 redirect during the report execution, any help is appreciated.
    This is a scheduled report.
    The most recently generated report completed with the following error.
    Error: Unexpected error getting the HTTP response stream while generating report: oracle.sysman.eml.ip.publishJob.HttpConnectionException:Response code:302
    Error Message :302 Moved Temporarily
    This document you requested has moved temporarily.
    It's now at https://<<hostname>>:7799/em/console/logon/logon&#59;jsessionid=6NJRQGKd2NVwNdbpWpVfHlG7vRxnvmn3VW71JdJbtnLyCJt5hyYt!544936836
    Connection: https://<<hostname>>:7799/em/console/home URI:/em/onetime/reports/render?printablePage=true&reportID=C47BD93ACFE176D4E040007F01004FA6&action=save&scheduled=true
    Thanks,
    Shawn

    Issue was related to the Console URL setting in the Grid Control Overview tab, it was set to http://<host>:<port>/em/console and should have been set to http://<host>:<port> instead.

  • How to invoke BPEL process via HTTP POST (or GET)

    Hi,
    I'd like to know how to invoke BPEL process via HTTP POST (or GET), is there anyway simple to do it?
    Thank you

    Look at my blog http://orasoa.blogspot.com search for plsql
    or use SoapUI.org
    or look in the Examples directory in the BPEL directory of the installation

  • If the reporting is scheduled, can the schedule be managed via Autosys

    If the reporting is scheduled, can the schedule be managed via Autosys?  Please describe.

    Yes,
    For ex: You have Information Broadcasting scheduled via process chain. Now you can have process chain trigger set by AutoSys. Using Autosys you can schedule SAP jobs across applications and platforms.

  • Unable to Schedule the Report with a user with Author Role.

    Hi,
    I tried to Schedule the Report using weblogic user(which has admin role) it worked perfectly. But when i try to login using User(which has author role) and when i try to schedule a report i am getting the following error. It is clustered Environment.
    [nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/richard/Test Mail Report
    ...Trying Agent Get Response Content loop again.... Sleeping for 8 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID:/users/richard/Test Mail Report
    ...Trying Agent Get Response Content loop again.... Sleeping for 6 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/richard/Test Mail Report
    Exceeded number of request retries for method GetResponseContent.
    Can any one help me with this.
    Thanks
    Rondo.
    Edited by: RONDO on Dec 12, 2012 4:07 PM

    Check the Doc ID 1446877.1
    As per this doc Fix to apply patch 13553428:
    The fix to this issue is to apply patch for the following unpublished bug.
    Bug 13553428 - QA:BLK:DELIVER TO CORP. OID LDAP USERS FAILED WITH IMPERSONATOR DOES'NT EXIST.
    Patch 13553428: QA:BLK:DELIVER TO CORP. OID LDAP USERS FAILED WITH IMPERSONATOR DOES'NT EXIST.
    The patch is available on MOS and can be applied to all platforms.
    Or access via this link:
    https://updates.oracle.com/Orion/Services/download/p13553428_111160_Generic.zip?aru=14732325&patch_file=p13553428_111160_Generic.zip
    Please refer to the Readme. It is important to Stop the System before applying the patch. Then restart.
    During restart Weblogic should automatically detect that bimiddleware.ear has changed in the OH and automatically redeploy the application
    If helps pls mark as correct
    Edited by: Srini VEERAVALLI on Dec 12, 2012 7:39 PM

  • Error to send a report via mail with BI Publisher

    Hello,
    I am working with BIP 10.1.3.4 over Windows Server 2003 Standard Edition, and I would like to send a report via mail.
    I added one Email server navigation via Admin>Delivery Configuration > Email with the server name and host.
    Then Send report via Email, got error.
    oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: smtp
         at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:228)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1190)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.delivery.DeliveryException: smtp
         at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(Unknown Source)
         at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
         at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:222)
         ... 4 more
    Caused by: javax.mail.NoSuchProviderException: smtp
         at javax.mail.Session.getService(Session.java:764)
         at javax.mail.Session.getTransport(Session.java:689)
         at javax.mail.Session.getTransport(Session.java:632)
         at javax.mail.Session.getTransport(Session.java:612)
         ... 7 more
    I have followed this SR, and I applied the solution, but it isn't solved the issue (ID: 1072742.1)
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&id=%28%29%29,%28page=KBNavigator&id=%28from=BOOKMARK&viewingMode=1143&bmDocTitle=BI%20Publisher%20With%20JDE%20Fails%20To%20Send%20Email,%20Error:%20javax.mail.NoSuchProviderException:&bmDocID=1072742.1&bmDocType=PROBLEM&bmDocDsrc=KB%29%29
    Regards,
    Mónica.

    Hi Christian.
    You could put the lines of your list in a table of type SOLISTI1 and then use the function module SO_NEW_DOCUMENT_SEND_API1 to send the content of this table. You have to fill the table RECEIVERS with the address you want to send the report to.
    Hope that helps,
    Timo.

  • 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

Maybe you are looking for

  • Table does not Exist in Unix OS after it has been created In HTML_DB

    I created a table in HTML_DB and can see the table fine in my HTML_DB application. However, when I go to the Unix OS and try to look up the database using SQL*Plus, I am getting an error saying the table does not exist. Any help as to why this is hap

  • How to access error messages from gateway response in browser?

    hi, i get 400 bad request as response with error messages and transaction id . i need those messages in my alert box. how to do it? thanks and regards, kartik

  • Job Not Found Exception

    AdminUI shows that the task was assigned to the user, as it says RUNNING, but, the task never showed up.  This was in the log.  Any explanation? Ran the exact same workflow again, and all worked fine. <Dec 8, 2009 3:11:14 PM EST> <Error> <com.adobe.i

  • IDOC format for ORDERS05

    Hi all, I have search through the web and in sap.com and I haven´t found the specification (details of fields and their meanings) for the standart idoc ORDERS05. Does anyone on the forum knows where i can find this information? (I have no access to a

  • Is it possible to change the owner of a Window?

    If I created a Window instance with another window as its owner, is it possible I change the owner? Thanks