RAS SDK exporting issue

Hi everyone,
We are using RAS SDK to export report from crystal reports server 2008 (version 12).
The report is designed in development environment, and tested based on data from development database (Oracle). The report is saved without storing saved data.
In the development environment, we are able to export reports without any problem. We can also run the report via CMC console.
In the production environment, on the other hand, things went wrong.
We modified database login configuration of the report to point to production database in CMC console (use custom db login option). The report can be viewed smoothly on CMC.
However, when we try to retrieve data from RAS SDK using printoutcontroller.export, the following exception is thrown.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException: Database logon failed.---- Error code:-2147217393 Error code name:dbLogonFailed
We tried to verify the database connection info from ReportClientDocument's database controller, but found out the following method always return null:
oReportClientDocument.getDatabaseController().getConnectionInfos(null).getConnectionInfo(0).getPassword()
The other mothods:
oReportClientDocument.getDatabaseController().getConnectionInfos(null).getConnectionInfo(0).getUserName()
do return the correct custom values (database server name, and username).
After series of testing, we suspect that the custom database password retrieved by SDK does not get updated, hence dblogin error occurs when RAS SDK tries to make connection.
We are aware that we can set db login information by using databasecontroller methods (login, replaceconnection..etc), but we really don't like the idea of hard coding the database username and password in our code. If CMC allows us to set custom database info, we shouldn't need to set them again in the code we suppose.
Any suggestion, hint is very much appreciated. we notice that this issue has been raised several times in this forum, with no real solution provided. Hopefully it can get solved this time.
Regards,
mlie

Can you try changing the order of these two lines of code:
printOutputController.modifyUserPaperSize(10500,15000);
printOutputController.modifyPrintOptions(newPrintOptions);
You should modify the PrintOptions before changing the paper size as I expect that your report was originally designed to be portrait, and you are setting the paper size to something that would no longer be a valid portrait size.  Your modifications to the PrintOptions changes the report to be Landscape, so we would want to make that change first.

Similar Messages

  • Invalid Export Options RAS SDKs

    Hi All,
    As given in post Re: XML Export - Cannot select format CR2008 SP2 We are using RAS sdks and given sample code but still we are gettting same error i.e. Invalid Export Options.
    Is this also scheduled to be fixed in SP3.
    Thanks,
    Stanly

    Hi, Stanly;
    The RAS code given in that post should work. Which service pack level and version of Crystal Reports are you using?
    Can you show the code you are using?
    Regards,
    Jonathan

  • Migrate from Crystal Report Server XI R2 to new Eclipse RAS SDK Question

    Hi,
    I am migrating Crystal Report Server XI R2 RAS SDK to Eclipse RAS SDK which seems to be quite easy.
    I have the following old code which basicly programmaticly creates a Report from scratch adds a Table and then
    populates the Report with a Pojo Collection.
    <br> <br>
    Now before I would have : <br>
    <br>
    Table oTable = new Table(); <br>
    oTable.setName("reportTable"); <br>
    pbConnAttributes.putStringValue("QE_DatabaseType", "Java Beans Connectivity"); <br>
    pbConnAttributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_javabeans.dll"); <br>
    PropertyBag pbLogonProperties = new PropertyBag(); <br>
    pbLogonProperties.putStringValue("Java Bean Classes", className); <br>
    pbLogonProperties.putStringValue("SSOKEY", ""); <br>
    pbConnAttributes.put("QE_LogonProperties", pbLogonProperties); <br>
      pbConnAttributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false); <br>
    oTable.getConnectionInfo().setKind(ConnectionInfoKind.CRQE); <br>
    oTable.getConnectionInfo().setUserName(""); <br>
      oTable.getConnectionInfo().setPassword(null); <br>
      oTable.getConnectionInfo().setAttributes(pbConnAttributes); <br>
    //following statement throws Exception <br>
    doc.getDatabaseController().addTable(oTable, null); <br>
    <br>
    getDatabaseController().setDataSource(pojoCollection, pojoClass.class,"reportTable", "reportTable");
    <br>
    <br>
    Now wenn using the c <br>lient eclipse RAS SDK which pbConnAttributes should I use? <br>
    No matter which ones I choose I get a Bad Driver Exception or Named Exception. <br>
    Can anybody help?
    Edited by: snake-john99 on Aug 11, 2010 10:35 AM
    Edited by: snake-john99 on Aug 11, 2010 10:39 AM

    Hi Mikael,
    Since you're already on CR Server XI R2, you can use the Upgrade Management Tool to migrate all the content to CR Server 2013.
    Anwers to your questions:
    1) Yes, the Upgrade Management Tool does support this kind of migration
    2) It does seem that the UMT allows you to move all report instances as well as the scheduled jobs over to the new server
    3) I've always had issues with Business Views when using Import Wizard however I'm not sure whether they work well with the new UMT. In any case, I always prefer to export the LOVs and BVs from within the Business View Manager to a .xml file and then import them in the higher version of the Server, again, from within the Business View Manager.
    -Abhilash

  • Unable to use RAS SDK for server-side printing for XI 3.1

    Hi all,
    I am using RAS SDK for server-side printing.  Here are my codes:
    ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
    IEnterpriseSession enterpriseSession = sessionMgr.logon("Administrator", "", "cdi5boe", "secEnterprise");
    IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
    //out.println("Current User is = " + enterpriseSession.getUserInfo().getUserName());
    //out.println ("<br>");
    IInfoObjects infoObjects = iStore.query("SELECT * FROM CI_INFOOBJECTS WHERE SI_Kind='CrystalReport' AND SI_NAME = 'Sales Print'");
    IInfoObject infoObject = (IInfoObject)infoObjects.get(0);    
    IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
    ReportClientDocument rcd = new ReportClientDocument();
    rcd = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    //Create print options to use when printing.
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName("
    cdi5boe
    HPLaserJ");
    printOptions.setJobTitle("Test Printer Job");
    printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
    printOptions.setPaperSource(PaperSource.auto);
    printOptions.setPaperSize(PaperSize.paperLetter);
    printOptions.setNumberOfCopies(1);
    printOptions.setCollated(false);
    PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
    printOptions.addPrinterPageRange(printPageRange);
    //Print report.
    rcd.getPrintOutputController().printReport(printOptions);
    When I run the report, I got the following errors:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: com.businessobjects.crystalreports.printer.bean.ReportPrinter---- Error code:-2147215357 Error code name:internal
    I consult the Diamond Technical Community and I found the issue related to printer name:
    https://boc.sdn.sap.com/node/498
    However, I did check the printer name, it is accessible via Windows Explorer.
    Anyone knows how to resolve this?
    Regards,
    Derek

    It doesn't appear to be listed as a dependency in the developer docs, but would you try putting the ReportPrinter.jar in your RAS app?
    Sincerely,
    Ted Ueda

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • Connection error -2147217387 with Java RAS SDK and Crystal Server 2011

    Due to a change in operating system, we are required to upgrade our Crystal Reports server from BusinessObjects Crystal Reports Server 11.5 to SAP Crystal Server 2011. We use the Java RAS SDK (RASCore 9.2.2.446 / RASApp 9.0) more or less as described in Java RAS2008-unmanaged exportreport. We use the Crystal Server to export reports stored on disk as PDF files.
    In SAP Crystal Server 2011, the CrystalReports2011ReportApplicationServer is configured with Request Port 1566 and Host Identifier 172.16.4.154 (the local machine). The Crystal Server, report-definition files, and Java VM are all on the same machine.
    The error is
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: XML serialization failed.---- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.ab.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at ourpackage.OurClass.openReport(OurClass.java:95)
         ... 6 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:189)
         at java.net.SocketInputStream.read(SocketInputStream.java:121)
         at java.net.SocketInputStream.read(SocketInputStream.java:203)
         at java.io.DataInputStream.readInt(DataInputStream.java:388)
    The code is as follows.
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs on ReportClientDocument.open method
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.refreshRepositoryObjects.value());
    DatabaseController dbController = clientDocument.getDatabaseController();
    dbController.logon("dbuser", "dbpassword");
    ParameterFieldController pfController = clientDocument.getDataDefController().getParameterFieldController();
    Fields fields = clientDocument.getDataDefinition().getParameterFields();
    ParameterField oldParameter = (ParameterField) field.get(0);
    ParameterField newParameter = new ParameterField();
    oldParameter.copyTo(newParameter, false);
    newParameter.getCurrentValues().clear();
    ParameterFieldDiscreteValue newDiscreteValue = new ParameterFieldDiscreteValue();
    newDiscreteValue.setValue("paramValue");
    newParameter.getCurrentValues().add(0, newDiscreteValue);
    pfController.modify(oldParameter, newParameter);
    clientDocument.refreshReportDocument();
    PrintOutputController po = clientDocument.getPrintOutputController();
    InputStream is = po.export(reportFormat);
    Could anyone advise me how to proceed with resolving this error?

    Thanks for the link. I copied the CrystalReportsSDK.jar and logging.jar from the Crystal Server java\lib directory into my project and revised the code accordingly. Now, a slightly different error occurs at the same place:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: {0}. --- Connection reset by peer: socket write error---- Error code:-2147217387 [CRSDK00000039] Error code name:connectServer
      at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(ReportSDKServerException.java:115)
      at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(TCPIPCommunicationAdapter.java:659)
      at com.crystaldecisions.proxy.remoteagent.AdapterCommunicationChannel.send(AdapterCommunicationChannel.java:88)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.request(ReportAppSession.java:382)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.logon(ReportAppSession.java:342)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(ReportAppSession.java:330)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnectionAdapter(ClientDocument.java:627)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnection(ClientDocument.java:658)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.initializeServerConnection(ReportClientDocument.java:1420)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:982)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
      at ourPackage.OurClass.openReport(OurClass.java:97)
    The revised code is
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs here
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.openAsReadOnly.value());

  • Odd values in SDK Export for Zynq with LPDDR2

    Hi all!
    We are adapting our Zynq design for LPDDR2 and one of our more observant SW engineers found a number of peculiarities in the ps7_init.c generated from XPS.
    The memory part we intend to use is the Micron MT42L16M32D1-25, a 64 Mbyte 800Mb/s device with 4 banks of 4Mwords by 32 bits. As this is not pre-programmed in XPS, I used the MT42L64M32D1KL-25 as a base for a Custom Memory Part  and altered the following parameters:
    DRAM Device Capacity 2048 MBits -> 512 MBits
    Bank Address Count 3 -> 2
    Row Address Count 14 -> 13
    …leaving everything else untouched. Effective DRAM Bus Width is 32 bits, Burst Length is set to 8 and Operating Freq (MHz) is 400.
    The following registers initializations seem odd:
    0XF8006004[11:0] = 0x00000061U
    Average time between refreshes. This value computes to 6.2 us, 7.8 us should be OK according to the SDRAM data sheet. The value is on the safe side, so no big deal.
    20140313: 2.5 [ns] * 32 * 0x61 = 7.76 [us]. The value is correct, my bad!
    0XF8006018[4:0] = 0x0000000DU
    Should be set to WL + BL/2 + tWR + 1 for LPDDR2, it looks like it is set to WL + BL/2 + tWR which is consistent for DDR2 or DDR3.
    20140313: WL + BL/2 + tWR + 1 = 3 + 8/2 + RU(15/2.5) + 1 = 3 + 4 + 6 + 1 = 14  (0xE), am I wrong here? (RU = Round Up)
    0XF8006018[31:28] = 0x00000007U
    Should be set to the larger of tCKE or tCKESR or LPDDR2, or 15 ns. The value gives 17.5 ns, one clock cycle extra. The value is on the safe side, so no big deal.
    0XF800601C[14:10] = 0x0000000AU
    Should be set to WL + tWTR + BL/2 + 1 for LPDDR2, it looks like it is set to WL + tWTR + BL/2 which is consistent for DDR2 or DDR3.
     20140313: WL + tWTR + BL/2 + 1 = 3 + 7.5/2.5 + 8/2 + 1 = 11 (0xB), am I wrong here?
    0XF800601C[31:28] = 0x00000007U
    tRCD - AL. AL = Additive Latency doesn’t seem to be defined for LPDDR2, but the default value (0x8) maybe still should be there?
    0XF8006030[31:16] = 0x00000003U
    Value loaded into MR2 register, defining RL and WL. Should be RL6/WL3 -> 0100b, this value would give RL5/WL2.
    20140313: Waiting for feedback on the WebCase.
    0XF80060A4[31:22] = 0x00000040U
    Number of cycles of NOP required after a ZQCS. tZQCS is 90 ns, so 0x24 should do, 0x40 is in excess.
    Some of these may not have any adverse effects, but some seem like honest bugs. Question is, how well proven is the generated code from XPS? Should we go through every line with a fine-tooth comb or is there a fair chance that the device will operate once we get our new hardware? I haven't found any info on the forum and have filed a WebCase, but I thought I'd pop the question here as well. What is your experience?
    The Zynq is a XC7Z020-1-CLG400. We are using ISE 14.7 running on a PC with 64-bit Windows-7.
    Thanks!
    /Lars
    20140313: I have added some comments from the outcome of the WebCase, marked in maroon.

    Hi again!
    Does anyone beside us even use LPDDR2? It makes me wonder when the SW guys reported sporadic write errors and after spending a lot of time and numerous phone conferences with Xilinx tracking down signal integrity issues, we finally got to speak to a Xilinx expert in the US and he identified that the SDK export from XPS had omitted setting some of the essential control registers in the SDRAM controller, causing the drive strengths and slew rates on the data bus to be way off.
    So users beware: If you still used ISE/XPS for Zynq development, you can't expect LPDDR2 to work.
    Cheers!
    /Lars

  • BO RAS SDK create DataFields dynamically

    Environment u2013 unix, BO Enterprise server, DB2, RAS SDK
    We are trying to create a Crystal report from scratch using  RAS SDK. The issue that we are facing is related to data binding i.e. creating connection, table and DB field objects dynamically.  The workaround that we have been using is to explicitly fire a query to the table and then extract the DB field information from the resultset. Below is the sample code:
    public Fields<IField> createReportDatabaseFields(
                                                    ReportClientDocument reportClientDocument,
                                                    List<IReportObjectRM> fieldControlList , String query) throws Exception{                            
                                    Fields<IField> fields = null;                          
                                    try {
                                                    ResultSet dataSource = ConnectionFactory.readQuery("SELECT * FROM table1");
                                                    reportClientDocument.getDatabaseController().addDataSource(dataSource);
                                                    fields =  reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getDataFields();
                                    } catch (Exception e) {                                                                               
    throw e;
                                    return fields;
    Is there a way to avoid execution of the query.

    Hi Adam,
    We looked at the samples but they are not of much help. Most of the examples start with an existing .rpt file and try to modify it. In our case we are trying to create the report from scratch which involves setting up the table and fields.
    The code in my first post works but with some issues. When we try to see the SQL query of the report in Crystal Designer, it shows incorrect table name. No matter what the name of the table in the select query in our code, the generated rpt always has the table name as 'Reports'.
    Please advice.
    Regards,
    Ajit

  • Caching report with RAS SDK

    I have an application that runs reports using the RAS SDK in BO Enterprise XIr2.  The application uses RAS to retrieve the report from BO XI and manipulates the report be changing the database connection information (ODBC DSN name, user name, and password).  It also changes the parameters of the report dynamically and then displayes it within a web page using the .NET Report Viewer control.
    My problem is that the Cache Server never seems to cache any of the reports.  The settings for the cache server are set high so it should still be in cache.  Clicking on the next and previous page buttons will always rerun the entire report.  Are there configuration settings I am missing?  Should the code be doing something in order to handle the next and previous buttons?  Just looking for pointers on where to continue my exploration of this problem.
    Thanks

    The Report Application Server does its own caching internally.
    The Crystal Report Cache Server caches for the Crystal Report Page Server.
    Specific to your issue, are you caching the ReportObject in HTTP Session, and retrieving it on postback?  Or are you opening a new ReportClientDocument each time?  That sounds like not a server-side caching issue, but application side caching issue.
    Sincerely,
    Ted Ueda

  • How to create a subreport link programmaticly using java RAS sdk

    Hi,
    I want to create subreport link for couple of main report parameters programmaticly using RAS sdk.
    Main report has Param1 and Param2. I need to link these parameters to sub-report which doesn't have any parameters, so I can pass the parameters value just once when running the report and consume it's value in the sub-report.
    Below is the code I tried but I get "Invalid field name"error when I try to save the main report.
    ISubreportClientDocument subReportDoc = subReportCntrl
                      .getSubreport(subReports.getString(i));
    SubreportLinks srLinks = subReportCntrl.getSubreportLinks(subReports.getString(i));
    SubreportLink subRptLink1 = new SubreportLink();
    Fields paramFields = reportClientDoc.getDataDefinition().getParameterFields();
    subRptLink1.setMainReportFieldName(paramFields.get(0).toString());
    subRptLink1.setSubreportFieldName(paramFields.get(0).toString());
    SubreportLink subRptLink2 = new SubreportLink();
    subRptLink2.setMainReportFieldName(paramFields.get(1).toString());
    subRptLink2.setSubreportFieldName(paramFields.get(1).toString());
    srLinks.add(subRptLink1);
    srLinks.add(subRptLink2);
    subReportCntrl.setSubreportLinks(subReports.getString(i), srLinks);
    Thanks,

    Hi,
    I want to create subreport link for couple of main report parameters programmaticly using RAS sdk.
    Main report has Param1 and Param2. I need to link these parameters to sub-report which doesn't have any parameters, so I can pass the parameters value just once when running the report and consume it's value in the sub-report.
    Below is the code I tried but I get "Invalid field name"error when I try to save the main report.
    ISubreportClientDocument subReportDoc = subReportCntrl
                      .getSubreport(subReports.getString(i));
    SubreportLinks srLinks = subReportCntrl.getSubreportLinks(subReports.getString(i));
    SubreportLink subRptLink1 = new SubreportLink();
    Fields paramFields = reportClientDoc.getDataDefinition().getParameterFields();
    subRptLink1.setMainReportFieldName(paramFields.get(0).toString());
    subRptLink1.setSubreportFieldName(paramFields.get(0).toString());
    SubreportLink subRptLink2 = new SubreportLink();
    subRptLink2.setMainReportFieldName(paramFields.get(1).toString());
    subRptLink2.setSubreportFieldName(paramFields.get(1).toString());
    srLinks.add(subRptLink1);
    srLinks.add(subRptLink2);
    subReportCntrl.setSubreportLinks(subReports.getString(i), srLinks);
    Thanks,

  • How good is the java Ras Sdk in Business objects XI?

    I have programmed some  reports from scratch by using the java ras sdk.
    Somehow I have the feeling that new features of XI like dynamic image location, or
    running totals aren't so well supported as for example through the Crystal report Designer.
    Do others also think that  Business objects is being a bit negligent on this Api?
    Maybe they do not consider the Api as important anymore because most people will be using there web based out of the box jsp components?

    Normally you should run your CR reports in the INfoView. You can start a report either by double clicking on it or by selecting View in the context menu. Still in order to fetch data you have to press the Refresh button in the CR viewer window (in the InfoView).
    In the CMC I assume that you are using the Run now option in the context menu. Please note that this will just schedule your report immediatelly. hen the report is scheduled a new instance is created hich is available in the History of the report. In order to see a report in the CMC select again View in the context menu and you can again fetch data by pressing the Refresh button.
    Regards,
    Stratos

  • Is it OK to open a CR Report with JRC/Gemini which is modified by RAS SDK?

    Dear all
    Is it OK to open a CR Report with JRC/Gemini which is modified by RAS SDK? Especially after I use RAS SDK to change report database location.
    I test it OK, but my Customer need to confirm this.
    Thanks a lot.
    David

    RAS SDK - meaning RAS server?
    There's intrinsic limitations for Crystal Reports Java (JRC for CR4E Version 2), such as database connectivity (only Java-based ones) when compared to RAS server.
    But CRJ does support Crystal Reports 2008 reports within those limitations.
    By the way, the new CR4E Version 2 Crystal Reports Java SDK is essentially the in-process RAS SDK - so you can make modifications using that.  Note that JRC SDK (version 11.8 and below) are deprecated with CR4E Version 2), then new way si the the Crystal Reports Java SDK.
    Sincerely,
    Ted Ueda

  • Crystal Report based on Universe and RAS SDK missing functionality

    Hi,
    In Crystal Report Designer Application i can select Universe as a data source for the Crystal Report and on the query panel construct the actual query using Universe objects and conditions.
    Now, my question is how can i do the same PROGRAMMATICALLY. I.e. i want to make a new or take an existing crystal report, check if it's based on universe, then access the actual universe query structure and construct/modify the query by operating with the actual Universe objects and conditions.
    I tried to use RAS SDK for this, but i could only access Tables that dont even show on which universe they are based on. 
    Should i use some other SDK to do this?
    Thanks,
    Roman.

    Thanks for your response. Ok, if it's so complicated, then i'm not concerned about universe query creation. I have more specific questions now:
    1) You've said that CrystalReport stores Universe SI_CUID values that it connects to. Let's say i have 3 tables based on universes in the report. What is the best way to determing which universe correspond to which table using RAS SDK?
    I looked at ConnectionInfo for each table, it sais that it's based on universe, but it DOES NOT have universe CUID property.
    Using Enterprise SDK i can access SI_UNIVERSE_INFO of ProcessingInfo for report InfoObject and see the list of universes used, but they are not matched to the actual tables, so i cannot really find out which universe belongs to which table.
    2) If EXISTING CrystalReport is based on Universe, is it possible to retrieve the actual universe objects and conditions used in this report? I can see that field names correspond to object names, BUT i also need a parent class name, becuase object is NOT identified by it's name only withing the universe.

  • How to retrieve total number of pages in a report of Instance - RAS SDK ?

    Hello All,
    Hope all is well. I am using BOXI R2 Enterprise and was wondering how to get total # of pages of an Crystal Report Instance using RAS SDK.
    Thanks in advance,
    Sam

    How do i retrieve the total number of pages in a report-- via RAS SDK
    Sincerely,
    Ted Ueda

  • How to set Report Location by RAS SDK without configurating CCM in CR Serve

    Dear all
    When I use the RAS SDK with CR Server Embedded 2008, I found that when I use the Java code to open a report like below:
    String localRptPath = "rassdk://C:
    oem.rpt";
    reportClientDoc.open(localRptPath,OpenReportOptions._openAsReadOnly);
    But I must set the Report Directory from the default value(a specified location after CRSE installation)to " * " in CCM of the RAS Server like below:
    Right click the RAS Server -> Choose "Propertites" -> Choose "Parameter" -> Change "Option Type" to "Server" -> set the Report Directory from the default value to " * "
    Then I can open the report, otherwise I must put the report under the Default Location of the Report Directory.
    So customer need a way which can set the report location directly in RAS SDK and without configurating the Report Direcroty in CCM?
    Thanks in advance.
    David

    Dear all
    I encounter some strange situation when editing the "Report Directory":
    In my Vmware, there are 2 "ReportDirectoryPath" under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\Server\LocalConnectionMgr
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Server\LocalConnectionMgr
    I can only edit the "ReportDirectoryPath" in the former location and then take effectively in the CCM. And if I modify the "ReportDirectoryPath" in the latter location, it can not take effect.
    But in customer machine, customer install CR2008 and CRASE2008, and customer can edit the value in the registry, but after customer uninstall the CR2008 and CRSE2008 then reinstall CRSE2008 only, the registry structure is different, there is not HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\, so customer can only edit the "ReportDirectoryPath" under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Server\LocalConnectionMgr
    And it can work effectively.
    And I can not rebuild this.
    So I found that when there are 2 location of the "ReportDirectoryPath", I can only modify it under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\Server\LocalConnectionMgr
    So my question is:
    Why the registry structure is different after reinstall the CRSE2008?
    Because customer need the firm registry location to modify it.

Maybe you are looking for

  • Can't stream videos from Iphone 4 or Ipad 3 to apptv 3

    Folks need some help- I love Mac and all the products but I am having a bit of an unpleasant experience with my apple tv 3.  I have Iphone-4, Ipad 3rd gen, and Apple Tv 3rd gen.  I want to use airplay to stream videos from safari or netflix- but! I g

  • Can I connect X-Fi to my DDTS-100 through coaxi

    I currently have an Audigy 2 ZS but looking to upgrade, do these latest X-Fi card have coaxial so i can have true Dolby/DTS through my DDTS-00 (or through an amp/decoder)?Thanks

  • Change of Purchasing Info Records

    Hi Team, I have a requirement to change some values in existing purchasing info records. I was looking for a BAPI or a Function Module to do this and performed a search in SE37, but could not find any. Does anyone know about a BAPI or Function Module

  • Including JSP fragment file in a JSP

    Hi, there, I'm trying to include a fragment JSP file (with an extension .jspf as suggested by JSP1.2 spec) in a JSP file as follows: <jsp:include page="/header.jspf"/> But it looks like OC4J thinks it is a static file and thus all JSP tags are ignore

  • Online number subscription help

    My online number expired yesterday. I intended to subscribe for a year, yet I cannot change the skype setting, and Skype took away my money from my card for a three month subscription yesterday. I would like to have refund of the three month subscrip