Saving the data fetched for scheduled Crystal Reports

We have requirement to schedule report generation . An rpt will be provided as input to scheduler and whenever the schedule is triggered , the rpt should run to fetch data from database (without viewing the report ) and save rpt with fetched data on the file system in rpt format. Is there an API in SDK that provides this functionality?

"Scheduling" is available only in CR Server or BOE suite of products. You can "export" the report to disk instead. This will run the report to fetch data and save it to disk with data. Here is an example code:
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.sdk.occa.report.exportoptions.*;
import java.io.*;
public class JRCExportReport {
     static final String REPORT_NAME = "JRCExportReport.rpt";
     static final String EXPORT_FILE = "C:\\myExportedReport.pdf";
     public static void main(String[] args) {
          try {
               //Open report.               
               ReportClientDocument reportClientDoc = new ReportClientDocument();               
               reportClientDoc.open(REPORT_NAME, 0);
               //NOTE: If parameters or database login credentials are required, they need to be set before.
               //calling the export() method of the PrintOutputController.
               //Export report and obtain an input stream that can be written to disk.
               //See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations
               //possible with the JRC.
               ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
               //Release report.
               reportClientDoc.close();
               //Use the Java I/O libraries to write the exported content to the file system.
               byte byteArray[] = new byte [byteArrayInputStream.available()];
               //Create a new file that will contain the exported result.
               File file = new File(EXPORT_FILE);
               FileOutputStream fileOutputStream = new FileOutputStream(file);
               ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
               int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
               byteArrayOutputStream.write(byteArray, 0, x);
               byteArrayOutputStream.writeTo(fileOutputStream);
               //Close streams.
               byteArrayInputStream.close();
               byteArrayOutputStream.close();
               fileOutputStream.close();
               System.out.println("Successfully exported report to " + EXPORT_FILE);
          catch(ReportSDKException ex) {
               ex.printStackTrace();
          catch(Exception ex) {
               ex.printStackTrace();
Edited by: Aasavari Bhave on Oct 29, 2009 2:26 PM
Edited by: Aasavari Bhave on Oct 29, 2009 2:29 PM

Similar Messages

  • Trying to change the data source for a Crystal Report.

    <p>The method below represents my best attempt to programatically change the data source of a Crystal Report. The goal is to have a routine that will update the data source for reports after they have been distributed to production servers. So far I have not been successful in saving the report back to the CMS. No exceptions are thrown, but when I view the Database Configuration of the report in the CMC nothing has changed.
    </p>
    <p>
    Am I missing a step, or is there another way to accomplish this?
    </p>
    <p>
    Thank you.
    </p>
    <hr />
    <pre>
    private void test(String reportName)
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects;
       IInfoObject reportObj;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dc;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
       Fields connFields = null;
       String queryStr = "Select * From CI_INFOOBJECTS " +
          "Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
       newInfoObjects = getCms().executeQuery(queryStr);
       if(newInfoObjects.size() > 0)
          reportObj = (IInfoObject)newInfoObjects.get(0);
          try
             clientDoc = getCms().getReportAppFactory().openDocument(
                reportObj
                , OpenReportOptions._refreshRepositoryObjects
                , java.util.Locale.US);
             dc = clientDoc.getDatabaseController();
             conInfos = dc.getConnectionInfos(null);
             for(int i = 0; i < conInfos.size(); ++i)
                oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
                newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                pBag = newConInfo.getAttributes();
                pBag.putStringValue("QE_ServerDescription", "alio");
                logonProps = new PropertyBag();
                logonProps.putStringValue("Trusted_Connection", "false");
                logonProps.putStringValue("Server", "alio");
                pBag.put("QE_LogonProperties", logonProps);
                newConInfo.setUserName("admin");
                newConInfo.setPassword("password");
                dc.replaceConnection(
                   oldConInfo
                   , newConInfo
                   , connFields
                   , connOptions);
          catch(ReportSDKServerException Ex)
             String msg = "A server error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          catch(Exception Ex)
             String msg = "An error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          finally
             clientDoc.save();
             getCms().commitToInfoStore(newInfoObjects);
             clientDoc.close();
    </pre>
    Edited by: Mark Young on Sep 10, 2009 2:16 PM

    <style type="text/css">
    /<![CDATA[/
        body
            font-size: 1.125em;
              font-family: helvetica,arial,"sans-serif";
          .code{font-family: "courier new",courier,mono,monospace}
          .bi{font-style: italic; font-weight: bold;}
    /]]>/
    </style>
    <p>Justin,</p>
    <p>
    Thank you for the reply. Time constraints have not allowed me to post back to this tread
    till now. I will try your suggestion. My assumption is that <i>Save the report back to the
    info store</i> refers to <span class="code">IInfoStore.commit(IInfoObjects)</span>.
    </p>
    <p>
    I'm afraid that I do not understand why I don't want to change the report client document,
    or why <i>successfully exporting the report with the new login/password</i> is not what I
    want to do. Any explanation on that statement would be appreciated.
    </p>
    <p>
    I did find a way to accomplish my goal. It involved adding the SSOKEY property to the
    logon property bag. Below you'll see my revised code which modifies the report logon and
    server. I have no idea what
    this does, and SAP support has not been able to tell me why it works. However, what I
    discovered is that if I changed the report option, <b>Database Configuration -> When
    viewing report:</b>, in the CMS to <span class="bi">Use same database logon as when report
    is run</span> from <span class="bi">Prompt the user for database logon</span>, then the
    SSOKEY property had been added to the logon property bag having an empty string as its
    value. This allowed me to successfullyupdate and save the modified logon back to the CMS.
    </p>
    <p>
    So I took a chance and added code to always add the SSOKEY property with an empty string
    as its value, and I could then successfully modify and save the report's logon info
    and server. Again, I don't know what this means, but it has worked so far. If anyone has
    some insight or comments, either are welcome. Thank you in advance.
    </p>
    <br />
    <hr />
    <pre>
    private void changeDataSourceOfAWFCrystalReports()
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects = null;
       IInfoObject reportObj = null;
       IReport curReport = null;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dbController;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
       Fields connFields = null;
       String outputStr;
       int numOfReports;
       int numOfQueryPages;
       double progressIncrementPerPage = 30;
       int progressIncrementPerReport = 0;
       // Path query to reports is in a .properties file.
       String queryStr = getAppSettingsFile().getWscAwfCrystalReportPathQuery();
       try
          // Executes IInfoStore.getPageingQuery() and generates a list of queries.
          getCms().setPathQueryQueries(queryStr, 100);
          numOfQueryPages = 0;
          // Gets a List&lt;String&gt; of the IPageResult returned from IInfoStore.getPageingQuery().
          if(getCms().getPathQueryQueries() != null)
             numOfQueryPages = getCms().getPathQueryQueries().size();
          if(numOfQueryPages &gt; 0)
             // Use 30% of progress bar for the following loop.
             progressIncrementPerPage = Math.floor(30.0/(double)numOfQueryPages);
          for(int queryPageIndex = 0; queryPageIndex &lt; numOfQueryPages; ++queryPageIndex)
             // Gets the IInfoObjects returned from the current page query
             newInfoObjects = getCms().getPathQueryResultSetPage(queryPageIndex);
             numOfReports = newInfoObjects.size();
             if(newInfoObjects != null && numOfReports &gt; 0)
                progressIncrementPerReport =
                   Math.round((float)Math.floor(progressIncrementPerPage/(double)numOfReports));
                for(int reportIndex = 0; reportIndex &lt; numOfReports; ++reportIndex)
                   reportObj = (IInfoObject)newInfoObjects.get(reportIndex);
                   curReport = (IReport)reportObj;
                   clientDoc = getCms().getReportAppFactory().openDocument(
                      reportObj
                      , OpenReportOptions._refreshRepositoryObjects
                      , java.util.Locale.US);
                   dbController = clientDoc.getDatabaseController();
                   conInfos = dbController.getConnectionInfos(null);
                   for(int conInfosIndex = 0; conInfosIndex &lt; conInfos.size(); ++conInfosIndex)
                      oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                      newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                      pBag = newConInfo.getAttributes();
                      pBag.putStringValue(
                         "QE_ServerDescription"
                         ,getConfigFile().getDBDataSourceConnections());
                      logonProps = new PropertyBag();
                      logonProps.putStringValue("Trusted_Connection", "false");
                      <b>logonProps.putStringValue("SSOKEY", "");</b>
                      logonProps.putStringValue(
                         "Server"
                         ,getConfigFile().getDBDataSourceConnections());
                      pBag.put("QE_LogonProperties", logonProps);
                      newConInfo.setUserName(getConfigFile().getUNVConnectionUserName());
                      newConInfo.setPassword(getConfigFile().getUNVConnectionPasswordDecrypted());
                      dbController.replaceConnection(
                         oldConInfo
                         , newConInfo
                         , connFields
                         , connOptions);
                      newConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                   } // end for on conInfosIndex
                   clientDoc.save();
                } // end for on reportIndex
             } // end if on newInfoObjects
          } // end for on queryPageIndex
       } // end try
       catch(ReportSDKServerException Ex)
          // handle...
       catch(Exception Ex)
          // handle...
       finally
          getCms().commitToInfoStore(newInfoObjects);
          if(clientDoc != null)
             clientDoc.close();
    </pre>

  • Trying to programmatically set the data-source for a Crystal reports report.

    I've got the following existing procedure that I need to add to in order to programmatically set the data-source (server, database, username, and password) for a Crystal reports report.
     I added the connectionInfo parts, but can’t figure out how to attach this to the existing
    this._report object.
    This is currently getting the connection data from the report file, but I now need to populate this connection data from a 'config.xml' text file.
    Am I trying to do this all wrong?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using CrystalDecisions.CrystalReports.Engine;
    using WGS.Reports.Reports;
    using CrystalDecisions.Shared;
    using WGS.Reports.Forms;
    namespace WGS.Reports
    public class ReportService
    ReportClass _report;
    ParameterFields paramFields;
    ConnectionInfo connectionInfo; // <- I added this
    public ReportService()
    public void DisplayReport(string reportName, int allocationNo)
    if (reportName.ToLower() == "allocationexceptions")
    this._report = new AllocationExceptions();
    PrepareConnection(); // <- I added this
    PrepareAllocationExceptionReport(allocationNo);
    this.DisplayReport();
    private void PrepareConnection() // <- I added this
    //test - these will come from the config.xml file
    this.connectionInfo = new ConnectionInfo();
    this.connectionInfo.ServerName = "testserv\\test";
    this.connectionInfo.DatabaseName = "testdb";
    this.connectionInfo.UserID = "testuser";
    this.connectionInfo.Password = "test";
    this.connectionInfo.Type = ConnectionInfoType.SQL;
    private void PrepareAllocationExceptionReport(int allocationNo)
    this.paramFields = new ParameterFields();
    this.paramFields.Clear();
    ParameterField paramField = new ParameterField { ParameterFieldName = "@AllocationNo" };
    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue { Value = allocationNo };
    paramField.CurrentValues.Add(discreteVal);
    paramFields.Add(paramField);
    private void DisplayReport()
    frmReportViewer showReport = new frmReportViewer();
    showReport.ReportViewer.ReportSource = this._report;
    showReport.ReportViewer.ParameterFieldInfo = paramFields;
    showReport.ShowDialog();
    showReport.Dispose();
    Any help would be much appreciated.

    Hi Garry,
    Please post SAP Crystal Reports questions in their own forums here:
    SAP Crystal Reports, version for Visual Studio
    We don't provide support for this control now. Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using a Web Service as a data provider for a Crystal Report

    <p>I&#39;m trying to write a Crystal Reports XI report that uses a Web Service as the data provider.  I have a Web Service written in ColdFusion that looks like this.<br /><br /><cfcomponent displayName="FindEmployee" ><br />   <cffunction name="FindEmployeeSort" access="remote"          <br />               returnType="xml" output="false"><br />      <cfdump var=form><br />      <cfset myXML = ""><br />       <!--- FindEmployeeSort body ---><br />       <cfquery name="EmployeeQuery" datasource="Production"><br />           Select * from employee<br />          <cfif isdefined(&#39;form.lastname&#39;)><br />             WHERE lastname LIKE &#39;%#form.lastname#%&#39; <br />          </cfif><br />           Order by lastname asc <br />        </cfquery><br />     <cfreturn EmployeeQuery>  <br />   </cffunction><br /></cfcomponent><br /><br />I can get the web service to work from a ColdFusion page (either locally or on a remote server).</p><p>When I try to create the CR data source, I get the following error:</p><p>Crystal Reports<br />! Logon Failed.<br />Details: Cannot find correspondign table information in the XML file</p><p>The steps I took were:<br />* Choose XML from the "Avalable Data Sources"<br />* Choose "Use Web Service Data Source"<br />* Choose "Use HTTP(S) WSDL" with a url of <a href="http://host/directory/FindEmployee.cfc?wsdl">http://host/directory/FindEmployee.cfc?wsdl</a><br />* Leave the "HTTP(S) Web Service User ID:" and "HTTP(S) Web Service Password:" parameters blank<br />* Accept the defaults for Services, Ports, and Methods.  They are respectively FindEmployee, FindEmployee.cfc and FindEmployeeSort.<br />* Then get the error</p><p>The most likely candidate to me is the user id and password, but I have no idea what to use.  I didn&#39;t have to set any login information up in the ColdFusion pages that I used to test the Web Service.</p><p>Any ideas where to go from here?</p><p>Thanks,</p><p>Brian</p>

    Please re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Changing the data source of a Crystal Report

    Post Author: starmizzle
    CA Forum: Crystal Reports
    We're running a trial of BusinessObjects XI Release 2 to see if it fits our needs.
    We were told that we could import and publish our existing Crystal Reports and then later on go back and change their data sources to point to new universes as they're built.
    So I've published a simple Crystal Report that I can run and modify through Infoview. And I've created a universe with the appropriate fields and calculations that it needs. So how do I force my published report to use the new universe as its data source instead of the system DSN it had when it was made?

    Post Author: starmizzle
    CA Forum: Crystal Reports
    We're running a trial of BusinessObjects XI Release 2 to see if it fits our needs.
    We were told that we could import and publish our existing Crystal Reports and then later on go back and change their data sources to point to new universes as they're built.
    So I've published a simple Crystal Report that I can run and modify through Infoview. And I've created a universe with the appropriate fields and calculations that it needs. So how do I force my published report to use the new universe as its data source instead of the system DSN it had when it was made?

  • Problem when saving the Data basis for the Consolidation

    Hi Gurus,
    I am having 2 problems.
    1) When i try to execute the UCWB transaction . It gives an information message
    " Data basis DB needs to be generated (after upgrade) . I am following the procedure given in that "<b>Run maintenance of data basis DB in display mode. Go to the "Data Streams" tab page. Choose the "Generate" button.
    If changes to Customizing settings are permitted in the current system or client, as an alternative you can maintain the data basis in change mode and save. In the case of systems supplied with Customizing transports, as an alternative you can generate the data basis in the source system and then transport it again.</b>
    Even after doing that procedure when i again execute the UCWB. it give me the same message.
    2) when is try to save data basis for the consolidation . it give me this error message.
    "Field 0HC_ATCCODE: This compound differs from that of basic field 0HC_MEDCTG"
    I have checked the referenced Info objects . Checked the compound info objects. Activated them again. They dont differ in any way. but still i get this problem.
    Please help me out. If someone has come across this error and solved. Please help me.
    Regards
    satish

    Hi satish,
    I constantly receive the message like your #2 saying that it was a critical change in X infoobject. It's just a warning and I found several OSS notes saying that this message is not correct. Just ignore it.
    In case of your Q #1. The data basis might be generated in two ways: by pressing Save icon and by clicking the Generate icon (the system refers just to this very option) and then - Save. The last way is used in Productive environment. Try it.
    Hope this helps.

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Stored Procedure used as a data source for an Apex report

    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ?
    Thank you.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "920338".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ? When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Standard reports can be based on tables, views, SQL queries, or PL/SQL function blocks that return the text of a SQL query. Interactive reports can only be based on a SQL query.
    "Stored Procedures" are therefore not an option (unless you are using the term loosely to describe any PL/SQL program unit located in the database, thus including functions). What would a procedure used as the source of a report actually do? Hypothetically, by what mechanisms would the procedure (a) capture/select/generate data; and (b) make this data available for use in an APEX report? Why do you want to base a report on a procedure?

  • Optional Prompt for Date type parameter in Crystal Report.

    Hi Every One,
    I have a date type parameter in crystal report.When I am convert it to optional prompt it is showing following message.
    But the Type field is gray out when I was selecting list of values Dynamic.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    Please check SAP note:
    1710595 - CR_Defining "Optional Prompt" as True for SAP Crystal
    Reports Does Not Work
    Thanks & Regards,
    Nagarajan

  • Firefox Version 27 Reporting Services Action Menu Error. An error has occurred with the data fetch.

    Hello, since I've updated to Firefox 27.0.1 on Windows 7, I'm encountering a problem with Reporting Services on a Sharepoint site. It is a Sharepoint 2010 site with SQL Server Reporting Services 2012 Sharepoint Integrated mode. I was previously on Firefox version 26 and didn't encounter this problem.
    When a report is open and you use the Actions link on the Reporting Services toolbar, I receive the following error messages.
    An error has occurred with the data fetch. Please refresh the page and retry.
    I've tried updating to Firefox 28 beta but the same error occurs. I see another user is having the same problem here. http://sharepoint-community.net/forum/topics/reporting-service-and-firefox-27
    Any help would be appreciated. Thanks!
    Ryan

    Rachel, I did perform the Sharepoint file alteration discussed in the other article and it did stop Firefox from producing the error. I've done some testing on some other browsers and have yet to encounter any problems with the fix however I'm hesitant to perform that workaround in a production environment.
    Thanks for looking.
    Ryan

  • 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.

  • Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date?

    Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date? We are facing a scenario where trx date is lower than the actual ship to which logically sounds incorrect.
    Appreciate any quick response around this.

    Hi,
    Transaction date  will be your autoinvoice master program submission level date (If you haven't setup any logic.
    Please check the program level default date, if user enter old date ststem will pick the same.
    Customer is trying to set the value of the profile OM:Set receivables transaction date as current date for non-shippable lines at the responsiblity level. System does not set the transaction date to current date in ra_interface_lines_all.
    CAUSE
    Customer has used the functionality in R11i. But after the upgrade to R12, the system functions differently than R11i.
    SOLUTION
    1.Ensure that there are no scheduled workflow background process run.
    2.Set the profile "OM: Set Receivables Transaction Date as Current Date for Non-Shippable Lines"  at Responsibility level only as Yes.
    3.Now switch the responsibility to which the profile is set.
    4.Create order for Non-Shippable Lines and progress it to invoicing.
    5.Ensure that the 'workflow background process' concurrent program is run in the same responsibility and this line is considered in it.
    6.Now check if the 'SHIP_DATE_ACTUAL' is populated to ra_interface_lines_all

  • Scheduled Crystal Report with Enterprise Portal

    Hi all,
    I want to Schedule that Crystal Report which is retrieving data from EXCEL. For that I have followed the following Steps.
    Login into CMCApp.
    Select the required rpt file and clicked the Schedule.
    It opens the Schedule Screen.
    In that I have specified the Recurrence Parameter as Hourly. Every 5 min the data is updated and Scheduled For as administrator.
    Initially the portal display the saved data in the crystal report. If I click the refresh button manually, then only it displays the updated Data.
    The status of object is Success, while seeing the History of the Object. If I click the View Latest Instance in CMCApp, It shows the updated data(Refreshed Data).
    Whether I am following the Correct Steps? Other than this What I have to do for scheduling?
    How can I retrieve the data from View Latest Instance? Is it possible? or by default Portal displays the saved data ?
    Help me in this regard
    Thanks & regards,
    Hemalatha J

    Hi all,
    I have referred the following link.
    [Creating Crystal Report iViews |http://help.sap.com/saphelp_nw04/helpdata/en/36/d4a94076b63713e10000000a155106/content.htm]
    I have given view type as Last Instance.
    But still it display the old data. But in view latest instance of InfoView displays the latest data.
    What may be the problem?
    Thanks & Regards,
    Hemalatha J

  • Can not view/schedule Crystal Reports in new BOE XI 3.0 Installation

    Hello,
    I'm having an issue on a brand new installation of BusinessObjects XI 3.0 on AIX 5.2 (using WebSphere 6.0). Installation went smoothly and migration went fine. Can log in, pull up CMC, InfoView (all other apps). But scheduled Crystal Reports (as well as viewing Crystal Report thru InfoView) are failing with the following errors (which to me seem interrelated):
    *(1) Error in File ~cec0c55d91e0e015.rpt: The request could not be submitted for background processing*
    *(2) Error in Report XXX: Failed to load database information*
    *(3) An error occurred while creating a subprocess in the processing server. [RCIRAS0604]*
    These three errors indicate to me that the report engines are having issues opening the files, pulling the data and generating the reports. We've checked to make sure that the account that BOE is running under has all the permissions it needs - and it has.
    I just turned on tracing (-trace) on the report job processing servers and I'm watching the logs as I retrace my steps...
    Any ideas? Would appreciate any feedback...
    Thanks,
    Will

    Turns out this is a pretty nasty issue on Unix environments. Being that the BOE application is developed on Windows then ported to Unix environments, the services (daemons) still end up depending on an emulated registry (MainWin) sort of like in a Windows environment.
    For some reason (we're still trying to figure this out), the BOE registry entries got corrupted and then started preventing the processing servers (which in the case of CR ultimately depend on  CRPE - Crystal Reports Print Engine) from opening up and processing CR files.
    We engaged BusinessObjects/SAP support and have been able to resolve this issue on our test AIX system. The resolution included deleting all the mainwin (mw) tmp directories and files in the root temp directory and also in the
    /bobje/enterprise120/aix_rs6000/crpe>
    directory. Then we stopped all BOE services and reran the MW script to regenerate registry entries. This repair was a pretty intricate multi-step process. The SAP Technical Rep who worked on this case is writing a knowledge base article (an SAP note). Once I get details, I'll update this post.
    The good news about this issue is that the upcoming SP1 of XI 3.0 removes the dependency on the mw registries...
    Will

  • How to do Scheduling Crystal Reports?

    Hi All,
            I request any one of you, to let me know how to schedule Crystal Reports. I am unable to find any option in Crystal Report Designer.
    Please list if any step by step procedure on scheduling crystal reports(lets say hourly, or weekly and save the crystal report with data).
    And also any idea on how to maintain crystal reports instances?
    Thanks in advance !

    There are actually a dozen or so tools out there that can schedule Crystal Reports.  The two mentioned here are SAP products. For a complete list of third-party scheduling products (ranging from free to several thousand dollars) you can go here:
    http://www.kenhamady.com/bookmarks.html
    There are even a few more at the high end that will be added to that page in the next month or so.  I am currently working on a feature comparison for scheduling engines for my March newsletter.

Maybe you are looking for

  • Touch is not working properly

    I have hp omni 10 .one day I change option of re calibrated now touch is not working properly how I can fix this

  • Bdocs not generated

    Hi, I have created a sales order on a stand- alone CRM box and intend to capture the order data in a Bdoc, but no Bdocs are getting generated. Can some of you help me with this. I have attached a particular action profile with the transaction type at

  • IPod Mini already on PC, trying to get Shuffle to work

    I have had my iPod Mini on my PC for 3 months and do not have a problem operating it. I bought my 2 sons a Shuffle each this Christmas but cannot get them to work (PC won't recognise Shuffle, let me load software etc). Is there anybody out there who

  • Need new sticker for iPhone 5 box after a swap at Apple Store.

    iPhone 5 swapped at Apple Store, and I would like a sticker with the correct numbers to put on my box. How do I get one?

  • Apple - Please add Xbox 360 support!

    Hey, a new update is being released for the xbox this month that adds support for the latest ipods, but iPhone and iPod Touch support apparently isn't supported. They said this was due to the software on the iPhone, not the 360... that I'ld have to c