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

Similar Messages

  • Drill in Webi reports via Java SDK

    Hi!
    Is it possible to programatically drill up\down in Webi reports? I'm looking throught RE documentation - there are interfeces providing drill functionality (DrillInfo etc). But I can't understand how I can drill in InfoObject instance or may be I can schedule a report with a drill on?
    I need to create a code that will create the instance of docement with drill by some dimensions..
    Thanks a lot
    Oleg Bakhirev

    I try to use this part of code and get an exception.. (list all dimensions and then try to get hierarhies for drill for al least one of them)
                            // drill
                            // get a report
                            Report objReport = doc.getReports().getItem("Main");
                            // DrillInfo - information about drill of a report
                            DrillInfo objDrillInfo = (DrillInfo) objReport.getNamedInterface("DrillInfo");
                            // add a new drill element from
                            // Path where to drill
                            DrillPath objDrillPath = objDrillInfo.getDrillPath();
                            objDrillPath.setAction(DrillActionType.UP);
                            DrillFromElement objFromDrillElement = (DrillFromElement)objDrillPath.getFrom().add();
                            DrillToElement objToDrillElement = (DrillToElement)objDrillPath.getTo().add();
                            // get dimensions - here is a wrapper around report query
                            Metric metrics[] = query.getMetrics();
                            for (int i = 0; i < metrics.length; i++) {
                                Metric metric = metrics<i>;
                                if (metric.getQualification().name().equalsIgnoreCase("DIMENSION") ) {
                                    DrillHierarchies drillHierarh = objDrillInfo.getContainingHierarchies(metric.getUnderlying().getID());
                                    if (drillHierarh != null) {
                                        objFromDrillElement.setObjectID(drillHierarh.getItem(0).getID());
                                        objToDrillElement.setObjectID(drillHierarh.getItem(drillHierarh.getCount() - 1).getID());
    Line
    DrillHierarchies drillHierarh = objDrillInfo.getContainingHierarchies(metric.getUnderlying().getID());
    causes
    java.lang.RuntimeException: com.businessobjects.rebean.wi.ServerException: An internal error occured while calling 'getDrillBar' API. (Error: ERR_WIS_30270)
    I can't understand why. I get this error even if i send ""  as a parameter.. In documentation it is written that it is and ID of dimension. Could you please help me, or may be It is impossible to to set drill elements and drill in this way?
    Big Thanks!
    Oleg

  • Retrieve underlying SQL query for deski report via java SDK in BOXIR2

    Hi all,
    I am trying to retrieve underlying SQL queries of a deski report in BOXIR2. However I find the error as
    oDataProvider = oDocumentInstance.getDataProviders().getItem(i1);               
    System.out.print(oDataProvider.getName());
    oSQLDataProvider = (SQLDataProvider) oDataProvider;
    oSQLContainer_root = oSQLDataProvider.getSQLContainer();
    But "This feature is not supported for desktop Intelligence " exception has occured.
    I am running the same query for Webi, and I did not find any issue . After several time spending in google, it appears to me that this code is supported by webi only. But "This feature is not supported for desktop Intelligence " exception has occured.
    Please help me to find out the solution in java SDK. If its not supported by Java SDK, then could you please provide me any workaround , e.g. any macro . Any help !!
    Regards,
    Nita
    Edited by: Nita Prasad on Aug 11, 2009 11:20 AM
    Edited by: Nita Prasad on Aug 11, 2009 11:25 AM

    Hi Fritz,
    I am not getting the way.. how to open the deski report programmatically. I am writing the code in this way:
    Dim oInfoObjects1 As CrystalInfoStoreLib.InfoObjects
            Set oInfoObjects1 = oInfoStore.Query("SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='" & oInfoObject.Title & "' AND SI_ID='" & oInfoObject.Id & "' order by SI_NAME")
        Dim oInfoObject1 As CrystalInfoStoreLib.InfoObject
        Dim UserCount1 As Integer
            UserCount1 = oInfoObjects1.ResultCount
            MsgBox "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME=' " & oInfoObject.Title & " ' AND SI_ID=' " & oInfoObject.Id & " ' order by SI_NAME"
            MsgBox " Total number of Deski reports are : [" & UserCount1 & "]", vbOKOnly
        Dim j As Integer
         For j = 1 To UserCount1
          Set oInfoObject1 = oInfoObjects1.Item(i)
                sFile_ReportList = StrConv(oInfoObject1.Title, vbLowerCase) & ".rep"
                sFile_Output = "D:\TraceWrite1\ " & StrConv(oInfoObject1.Id & "_" & oInfoObject1.Title, vbLowerCase) & ".txt"
                sFile_ReportListTemp = StrConv(oInfoObject1.Files.Item(j), vbLowerCase)
                MsgBox "[" & sFile_ReportList & "]", vbOKOnly
                        If Dir(sFile_ReportList) = "" Then
                MsgBox "The text file [" & sFile_ReportList & "] for the DeskI documents does not exist!" & vbCrLf & "Aborting process."
                Exit Sub
                End If
    I am getting the error on line ...  If Dir(sFile_ReportList) = "" Then...  The code is not able to locate the deski report path.
    Is this the correct way to get a deski report information? Please let me know, If I am going in the right direction.
    Edited by: Nita Prasad on Aug 18, 2009 3:47 PM

  • How to set DbConnections when scheduling a crystal report using Crystal Reports Server Java SDK?

    Post Author: Manjula
    CA Forum: JAVA
    Hi,
    Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:&#91;Database Vendor Code:6550&#93;.
    Would be thankful if someone could answer my point as applicable.
    Here is the code attached.
    ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
    for(int i=0; i<dbLogonSize; ++i) {
    IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
    dbLogon.setDatabaseName("DBname");
    dbLogon.setUserName("usrname");
    dbLogon.setPassword("pwd");
    Thanks in advance.

    Post Author: Manjula
    CA Forum: JAVA
    Ted,
    Thank you for your valuable information.
    First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
    On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
    And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
    So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
    Would be greatful if you answer my question and provide me some guidance.
    Thanks in advance.

  • How to call Oracle Reports via Java Web Application ?

    Dear All,
    I have developed a web reports using Oracle Reports 11g and would like to display these reports via Java Web App that will call them.
    Kindly help me in this matter.
    Regards,
    Irfan

    i will go as John suggested.........Construct a URL with required parameters and call it using goLink component
    make a configuration in Report server and
    http://myServer:myport/reports/rwservlet?config=myconfig&destype=cache&desformat=PDF&report=myreport.jsp&myparameter=myvalue

  • 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

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • 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

  • Creating a sample report using JAVA SDK

    Hi,
    I am trying to create a sample report using JAVA SDK.
    I slelect 4 "free cells" and pass 4 different strings to it.
    I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
    My issue is, Why am I not able to see the data when I run the java code.
    Please find teh code below.
    package com;
    import java.awt.Color;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import com.businessobjects.rebean.wi.BinaryView;
    import com.businessobjects.rebean.wi.DataProvider;
    import com.businessobjects.rebean.wi.DataProviders;
    import com.businessobjects.rebean.wi.DataSource;
    import com.businessobjects.rebean.wi.DataSourceObject;
    import com.businessobjects.rebean.wi.DocumentInstance;
    import com.businessobjects.rebean.wi.DocumentLocaleType;
    import com.businessobjects.rebean.wi.FontImpl;
    import com.businessobjects.rebean.wi.FreeCell;
    import com.businessobjects.rebean.wi.HTMLView;
    import com.businessobjects.rebean.wi.OutputFormatType;
    import com.businessobjects.rebean.wi.PageHeaderFooter;
    import com.businessobjects.rebean.wi.Query;
    import com.businessobjects.rebean.wi.Recordset;
    import com.businessobjects.rebean.wi.Report;
    import com.businessobjects.rebean.wi.ReportBody;
    import com.businessobjects.rebean.wi.ReportCell;
    import com.businessobjects.rebean.wi.ReportContainer;
    import com.businessobjects.rebean.wi.ReportElement;
    import com.businessobjects.rebean.wi.ReportEngine;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.CeKind;
    public class Aug7th {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String CMS = "pundl8136:6400";
              String userID = "srivas";
              String password = "morcom123";
              String auth = "secEnterprise";
              List<String> entire =new ArrayList<String>();
              List<String> country =new ArrayList<String>();
              List<String> resort =new ArrayList<String>();
              IEnterpriseSession enterpriseSession;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   if (enterpriseSession != null)
                   {//Create and store useful objects for the session.
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        IInfoObject infoView = null;
                        String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
                        DataProviders dps = doc.getDataProviders();
    //                     Retrieve the 1st data provider
                        DataProvider dp = dps.getItem(0);
    //                     Retrieve the universe objects
                        DataSource ds = dp.getDataSource ();
                        Query q = dp.getQuery();
                        Recordset rs = dp.getResult(0);
    //                     0: assume query has one flow
                        rs.first();
    //                     Print the column types. They can be Integer, String,
    //                     or Date.
                        for (int i = 0; i < rs.getColumnCount(); i++) {
                        Class c = rs.getColumnType(i);
                        StringBuffer sbt = new StringBuffer();
                        if ( c.equals(Integer.class) )
                        sbt.append("Integer");
                        if ( c.equals(String.class) )
                        sbt.append("String");
                        if ( c.equals(Date.class) )
                        sbt.append("Date");
                        sbt.append(";");
                        System.out.println(sbt.toString());
                        System.out.println(rs.getColumnCount());
                        while (!rs.isLast()) {
    //                          column names
                             StringBuffer sbn = new StringBuffer();
                             StringBuffer sbd = new StringBuffer();
                             for (int j = 0; j < rs.getColumnCount(); j++) {
                             sbn.append( rs.getColumnName(j).toString() );
                             sbn.append(";");
                             System.out.println("sbn "+sbn.toString());
    //                          data
                             for (int k= 0; k< rs.getColumnCount(); k++) {
                             sbd.append( rs.getCellObject(k).toString() );
                             sbd.append(";");
                             entire.add(rs.getCellObject(k).toString());
                             System.out.println("sbd "+sbd.toString());
                             rs.next();
                        System.out.println(entire.size());
                        for(int i=0;i<entire.size();i++){
                             country.add(entire.get(i));
                             i++;
                             System.out.println("entireList "+entire.get(i));
                             resort.add(entire.get(i));
                        DataSourceObject city = ds.getClasses().getChildByName("Country");
                        DataSourceObject resorts = ds.getClasses().getChildAt(1);
                        dp.runQuery();
                        ReportContainer report = doc.createReport("Resort");
                        PageHeaderFooter header = report.getPageHeader();
                        FreeCell headerCell = header.createFreeCell("Resort Report");
                        PageHeaderFooter footer = report.getPageFooter();
                        FreeCell footerCell = footer.createFreeCell("Report Ends");
                        ReportBody body =  report.createReportBody();
                        for(int k=0;k<resort.size();k++){
                        FreeCell res=body.createFreeCell(resort.get(k));
                        res.getAttachTo();
                        res.setHeight(15d);
                        res.setWidth(30d);
                        Color c = new Color(255,255,255);
                        Color c1 = new Color(255,0,0);
                        FontImpl fnt = (FontImpl)res.getFont();
                        fnt.getDecoration().setTextColor(c1);
                        res.setFont(fnt);
                        //res.deleteAttachment();
                        //res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
                        doc.applyFormat();
                        doc.refresh();
                        final String l_docToken = doc.getStorageToken();
                        final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
                        doc.saveAs("mor31",835,null,null);
                        doc.closeDocument();
                        str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
                        String token = doc1.getStorageToken();
                        DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
                        doc2.saveAs("123123", 835, null, null);
                   //     doc.refresh();
                        //doc.save();
                   enterpriseSession.logoff();
              catch(Exception e)
                   e.printStackTrace();

    duplicate post:
    Sample report using JAVA SDK

  • 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

  • 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

  • Changing order of month day year on scheduled webi Report

    Hi gurus,
    As I schedule webi report as pdf and use DateTime placeholder I receive it as "2014-03-02-22-32-44" which is in the format yyyy-mm-dd hh-mm-ss.
    My question is if I would be able to see the date format as dd-mm-yyyy-hh-mm-ss
    Thanks.
    Eddy.

    Hi Nikhil,
    I am asking about the date output format when you add on schedule via placeholder.
    I have yyyy-mm-dd hh:mm:ss
    however I need
    dd-mm-yyyy hh:mm:ss
    I have already checked with server's settings it shows d m y
    R
    Eddy

  • Schedule webi reports to Sharepoint

    Hi,
    I am working upon BO XI R3.1 and we need to schedule webi reports to Sharepoint. I have scheduled reports via Email before but have never tried scheduling it to Sharepoint. I have two questions here:
    1. Can we schedule webi reports to Sharepoint successfully? (I heard something about unmanaged disk option in CMC but have no clue about it)
    2. Do we need SAP BO Sharepoint integration kit to achieve this?
    Also, I am not sure what advantages does Integration Kit provides, is it required for scheduling purpose or not.
    Request you to help me. Thanks in advance !!

    Thanks for your reply Ingo.
    So, should I consider anything to choose between regular scheduling and Integration kit? I just have the requirement to schedule reports to Sharepoint. Is there any specific reason for using integration kit? I have to propose one solution.
    Thanks for your time !!

  • Schedule webi report u2013 report should go under Public Folders in Info View

    Hi Experts,
    Schedule webi report
    Destination -> File System u2013 what directory path I should give to move reports under Public Folders?
    Is that possible to give the path of Public Folders as Destination directory?
    Regards,
    Sasi

    To see the latest instance of a report automatically you can change the default from view to view latest instance.
    CMC > Applications > Infoview  and select View the latest successful instance of the object
    Then when you double click on the report, it will open the latest instance.
    BUT if the report doesn't have an instance, eg only be run manually not via the schedule, the report won't open. You have to right click and select view.
    I've seen either here or in another forum that in XI 2 it will automatically open the report if it doesn't have an instance but in XI 3.1 it doesn't.

Maybe you are looking for

  • Verizon Galaxy Nexus LTE and the iPad

    I had Unlimited Data on my VZW account and I have a Verizon Galaxy Nexus (which uses a microSIM) Would I be able to pop my Nexus sim into the iPad and start using the data from my VZW account on my iPad? I've swapped SIM's with other 4G phones (Thund

  • Photoshop CS6 64 bit not working on 64 bit Window 8 computer

    I am running on Window 8 (64 bit) but Photoshop CS6 extended 64 bit does not work.  Simply cannot open or create files and goes dead and I have to use task manager to stop it from running.  No problem with Illustrator 64 bit nor with Photoshop 32 bit

  • "Program was terminated by signal 6" in R12

    Hi All, Purchasing report is completed with error of signal 6. Please find the attached below log file details. Please advise how to resolve this issue in R12. XXPRPOP module: Printed Purchase Order Report +-------------------------------------------

  • Networking software for mac similar to Novelle?

    The IT guy at my work said that he would be willing to explore using macs at my work if there was some networking software availalble for mac. I know nothing about this, though he mentioned an application named "Novelle." Does anyone know if there ar

  • Fujitsu-Siemens Myrica V32-1 DVI-D

    Hi all, I tried to connect this LCD-TV to a Mac mini using the DVI-D connection without success. VGA works fine. I suspect a problem with HDCP, which the Myrica V32 supports/needs on its DVI-D port. Any suggestions or do we have to wait for another v