Dynamic columns with grouping.... in crystal report...using java /c# api ??

I need to create a report with dynamic columns
for e.g/
                                       Pre   Scen 1   Scen 2   Scen 3   Scen 4   Scen 5   Scen 6      .....
*Total                          4.5118   4.5118    4.5118   4.5118   4.5118        4.5118   4.5118     *
*Canada                    1.7180    1.7180    1.7180   1.7180  1.4103     8.4103      8.4103     *
   BG                           1.6224    0.9641    1.0473   1.0473  6.4635     6.4635  1.6224     
   BI                              0.044     0.0827     0.3578   0.3578 0.0560     0.0560   0.0744     
  DIN                    0.0056     -0.0655     -0.0215     -0.0215     -0.0210     -0.0210     0.0056     
*Czech Republic     1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
  CEE               0.0275     1.0000     0.7359     100.0000     0.0858     0.0858     0.0275     
*Israel               1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
  F                    0.0077     1.0000     0.7359     100.0000     -0.0035     -0.0035     0.0077     
*United States          1.7180     1.7180     1.7180     1.7180     18.4103     18.4103     18.4103     *
  A                    0.0144     0.1871     91.0473     0.0679     0.0544     0.0544     0.0144     
  AA                    0.0428     0.0626     0.3578     0.0675     0.1175     0.1175     0.0428     
  AB                    0.0431     0.1553     -0.0215     0.1685     0.1199     0.1199     0.0431     
in this report....grouping will be parameterized ....and total also required at every stage...
so how can i add the columns dynamically ?
number of columns are not fixed...they may be 20...30....etc

Requirement is...
I have a table scn ... where i can make entries any time....assume they are some rules...
I have another table called t1 ... where i need to calculate values of t1 again some specific rules are table scn.
So for each t1 there will be one row with columns as scn entries which I select on interface.
         Original Value  --  Sc1 ......  Sc2  ...... Sc3  ......  Sc4 ......  Sc5 . . . . . .. .
t1...................xx...... xx..........xx..........xx........ xx........ xx
t3...... .............xx...... xx..........xx..........xx........ xx........ xx
t4....................xx...... xx..........xx..........xx........ xx........ xx
selection of these scn columns will be dynamic....so i cant create n number of columns in the report template and hide them as per requirement....it will not work.
Wat is a feasible solution to create such kind of report ?
Can we create template in C# or .net ?
IF yes...do we have to save every time in order to render report ?
e.g.   one report may contain 4 columns and other 10 ... so do i have to create new rpt file each in order to render the report ?
Please if any1 have approach to create this kind of report then it will very helpful....
Edited by: pchawan on Jul 19, 2011 11:28 PM

Similar Messages

  • How do you reference a Formular Object on a Crystal Report using Java

    Hi all,
    I am trying to reference an object on my report which contains a Formula field.
    I have read the following 2 threads, but they refer to textObjects:
    [How do you reference a textObject on a Crystal report using Java|Re: How do you reference a textObject on a Crystal report using Java?]
    [Changing the text of ITextObject programatically|Re: Changing the text of ITextObject programatically]
    But I cannot even get those to work. I can reference a object which refers to a database field but as soon as I try
    reference a textObject or reportObject I just get a NULL variable.
    Below is the code I am useing
    IReportObject dbField = reportClientDocument.getReportDefController().findObjectByName("BOB1");
    IReportObject textBob = reportClientDocument.getReportDefController().findObjectByName("BOB2");
    "BOB1" is the name of my DB field Object, and "BOB2" can be a Text box or a Formula item and I just get nothing.
    I have just tested it with a FieldHeadingObject and that returns a valid object, so clearly I am going about this the wrong way
    for objects I place on the reports which are not driven by the database items.
    Ultimately what I want to do is reference an object in the Report Footer which will contain the RecordCount of the number of
    records contained in the report, which I am them going to use to determine if the report holds data,
    if it does I will print it, else ignore it and move on the the next report. I am doing this so that I can at an extra filter to split
    a report up into groups and produce a sinlge PDF for each group instead of one massive PDF containing all the groups.
    So if someone has a solution to any of my problems I would be very greatful, and I dont mind being told Im an idiot and should
    rather do it another way, as long as you supply that other way
    Thanks for the help
    Darren
    Edited by: Darren Jackson on Dec 16, 2009 7:29 PM
    Forgot to add am using CR4Ev2 SP3

    Right I have made some headway.
    Firstly, Im an idiot. I was making changes and setting up test fields on my report, but then when running the app, I had it looking at
    the backup report, which would explain why all the new textbox fields were not being found.
    The stupiditity did force me to delve deep and work out a fair bit of how the reports work, so cant complain too much. BUT, I am still
    not able to return values of Formula fields and formulas extra. Could someone tell me if this is even possible. I get retrieve the formula field
    name, and properties but not its value once the report has been populated. Am I wasting my time?
    Well I will continue dismantling my reports till I find the answer, or someone points me in the right direction.
    If any one is interested this is the code I used to drill down to my text boxes:
    IReportObject recCount = reportClientDocument.getReportDefController().findObjectByName("TB1");
    ITextObject obj_RecCount = (ITextObject) recCount;
    System.out.println(obj_RecCount.getName());
    Paragraphs objP = obj_RecCount.getParagraphs();
    for (int i = 0; i < objP.size(); i++){
         ParagraphElements pE = objP.getParagraph(i).getParagraphElements();
         for (int j = 0;j < pE.size(); j++){
              IParagraphTextElement pEE = (ParagraphTextElement) pE.getParagraphElement(j);
              System.out.println(pEE.getText());
    Cheers

  • Exporting a report with group in crystal report

    Hi all,
    I am new to crystal reports XI.
    I have designed a report in which I have created 2 groups.
    The structure of report is shown below.
    MAIN REPORT:
    Status           1st     2nd 3rd
    A               10      20   30
    B               40      50   60
    When I double click on groups(either A or B) another subreport gets opened.
    The structure of the sub report is
    DETAILED REPORT:
    A            10        20     30
    Name:XYZ
    Age:XY
    Place:XYZ.
    My query is when i export the report in PDF format only the main report is getting exported.
    I have to run this report through BOXI and have to send the mail to users in PDF format.
    But when i export the report in PDF format i am not able to see the detailed report.
    Please give me suggestions how can i resolve this problem.
    Thanks in advance...

    In the report design description I undestand that when you double click on the group header it opens the subreport. I think this might be on demand subreport or you might have used suppress condition for the subreport section using "drilldowngrouplevel". If you are suppressing conditionally and showing the report when you double click on it these feature will work only in crystal report but not in PDF. So it is better to remove conditional suppress and show the complete data so that when you export it to PDF it will show all the data.
    Regards,
    Raghavendra

  • Create a Crystal Report using Java

    Hi
    Im Using Java 6 to connect to a Crystal Reports server. Im trying to create a common API that we can use throughout our office for integration with Crystal Reports.
    But Im having troubles with my method to upload/create a report. If I create a new Report Object via the Business Objects Central Management Console then everything is fine, but I get some funnies when I do it via Java.
    My upload code is like this :
    IInfoObjects newObjs = infoStore.newInfoObjectCollection();
    IPluginInfo pluginInfo = infoStore.getPluginMgr().getPluginInfo(CeProgID.REPORT);
    IInfoObject newObj = newObjs.add(pluginInfo);
    IReport myReport = (IReport)newObj;
    myReport.setTitle("title");
    myReport.setParentID(parentId);
    IFiles files = myReport.getFiles();
    files.addFile(file);
    infoStore.commit(newObjs);
    Now that all works fine and I get no errors. When I look at the Central Management Console I can see the newly created Report, but when I click on it I dont get any of the standard tabs. i.e. 'Properties', 'History' etc, but I do get an error message on the screen that simply says "An internal error has occurred"
    I cant find anything in the logs to tell me what this error is, and my steps to create/upload the report seem to match every example I have found.
    Can anyone help with this problem?
    Thanks for your time

    cwhiteside, please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • How do you reference a textObject on a Crystal report using Java?

    Hi,
    Could someone please tell me the java statement to reference a textObject on a Crystal report. I am struggling to find the info in the docs and work out how the object model works.
    My textObject on the report is called "VersionNumber" and I want to locate it on the report (I know it will be in the page footer) and then retrieve its value and change it.
    I've managed to get a handle to the report using,
    ReportClientDocument localDoc;
    localDoc = getReport();
    localDoc.open("rassdk://" + reportFile.getAbsolutePath(), OpenReportOptions._openAsReadOnly);
    Any help would be much appreciated.
    Regards
    Rob.

    I've found a way of referencing the textObject using the following line of java code (used in conjunction with the preceding code).
    IReportObject iro = localDoc.getReportDefController().findObjectByName("VersionNumber");
    I can put "iro" into a Watch (within Eclipse) and I can find the contents of the textObject there under the Paragraph tree, but I am now stuck with how to reference this within Java.
    If anyone can help it would be much appreciated (and I will of course award points !)
    Regards
    Robert.

  • 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

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

  • Crystal Report using XML file

    Hi,
    I want to create dynamic crystal report using below mention xml file.
    Example:--
    <?xml version="1.0" encoding="utf-8"?>
    <root xmlns:inl="http://inline">
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://inline" xmlns="http://inline" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="Person">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="First_Name" type="xs:string"/>
    <xs:element name="Last_Name" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <inl:Person>
    <inl:First_Name>Anna</inl:First_Name>
    <inl:Last_Name>Ant</inl:Last_Name>
    </inl:Person>
    <inl:Person>
    <inl:First_Name>Betty</inl:First_Name>
    <inl:Last_Name>Boop</inl:Last_Name>
    </inl:Person>
    </root>
    Crystal report column will be generated using this xml file.
    my report look like--
    First Name Last Name
    Anna Ant
    Betty Boop
    Thanks
    Praveen

    can you please be more detailed on what you mean automatically
    like put the xml file together and have the report generated without actually attaching the dataset to the rpt file and placing the fields in the report?
    if that is the case i dont believe crystal functions that way, been working with it for many years. i know you can create webi files through business objects where an end user can talk an dataset and build there own queries and rpt files on a dashboard type screen.

  • Draw Dynamic Column with Static Columns

    Hi All
    I have to show dynamic columns with static columns including column header and I am choosing the Cross Tab style. I have done this already in SSRS but failed to do in Crystal Report version (Crystal Report Basic for Visual Studio 2008).
    Name             Hair Color      City        Age           Mobile                        Email
    Jannie            Brown          Dublin        15         +353 122 1234567     Email Address
    John               Black            Dublin       20          +353 145 1234567      Email Address
    Dynamic Columns
    Name , Hair Color , City Age
    Static Column
    Mobile, Email
    I also face empty rows in cross tab report.
    Please help and give me a chance of thanks.

    Thank you very much for your kind response. Actually i have dynamic Store Procedure  results based on parameters and yes static column will never changed
    Store Procedure Result
    Mobile                        Age            Email                       Key              Value
    +3531221234567     15             Email Address         Name           Jannie
    +3531221234567     15             Email Address         Hair Color    Brown
    +3531221234567     15             Email Address         City              Dublin
    +3531451234567     20             Email Address         Name           John
    +3531451234567     20             Email Address         Hair Color     Black
    +3531451234567     20             Email Address         City              Dublin
    And I want to draw report in following style
    Name     Hair Color     City      Age      Mobile                       Email
    Jannie   Brown          Dublin   15     +3531221234567       Email Address
    John     Black             Dublin   20     +3531451234567       Email Address

  • Problem in Display the Crystal report using Crystal report Viewer 2008

    Hi All,
    I have developed crystal web project with crystal report using Eclipse IDE. when I deploy this web application using Tomcat server 6.0 in Windows xp, Windows Vista.. It is working fine..
    But When I deploy it into Windows 2000 server ,  I am not able to see Last 2 columns of the report page in the Viewer.
    But When I tried to Export as Excel, I got all the datas in the Report and also when I preview the report in Eclispe IDE using crystal viewer plugin it is working fine in Windows 2000 server also..
    Thanks in Advance for your help..
    Regards,
    SathiyaMBPS

    Windows 2000 is not supported in current versions of CR. Check the platforms PDF file.

  • Custom grouping in crystal report

    I have a requirement of creating a report off BEx query (BI 7.0).
    I have database field which gives around 250 rows. Now with these 250 rows I need to create a custom grouping in crystal report having 2 groups and a detail.
    Some info about database field: For ex: 'A', 'B' and 'C' are 3 sample rows of the database field. I want to arrange this in such a way that.
    A will form Group 1 and B will form group 2 and it is sub group of Group 1. and C is part of Group 2.
    A (group 1)
    B (Group 2)
    C.
    But when I tried it it resulted in
    A (group 1)
    Others
    Others (group1)
    B(Group 2)
    C.
    In this method I was successful in creating report if there were only 2 levels. But when it comes to 3rd level i am facing the problem. Any solution from experts.

    Hi Raghavendra,
    You can create the superset group i.e Group A in ur illustration by choosing Insert -> Group from the pull-down menus and specifying the field name in the panel.
    Next, in order to create the subset group i.e Group B and Group C you need to create a formula in the Formula Workshop-Formula Editor like the below syntax:
    If <db_field_name> = "<value B>"
    OR <db_field_name> = "<value C>"
    then "Group B"
    This formula can be used as your second group by choosing Insert -> Group from the pull-down menus and specifying this formula name in the panel.
    Thanks,
    Amogh.

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Crystal Reports using Visual Studio

    I am becoming more comfortable with working with Crystal Reports using Visual Studio.  I ran into some issues, but I was able to figure them out.  I have ran into one which I am not able to figure out.  I would like for you to ask Business Objects if they can assist me on this one.  When the reports are displayed, a group tree is displayed to the left of the report making it possible for users to navigate through the reports.  As you continue to click down through a branch, eventually you are not able to see what to click on or to click on the next link.  What could be done to fix this issue?

    Hi,
    Have you checked the crystal report in designer mode? If not, try doing it.
    Further, you can provide following:
    1)Windows or Web Application?
    2) Version of Crystal Reports?
    3) Version of Visual Studio?
    4) OS (32 bit or 64 bit)?
    Thanks,
    Saurabh

  • Creating a crystal report using excel

    I have an excel spreadsheet that I would like to access to create a crystal reports.  But it seems that I have to first save it as an access or other database file.  But this information changes frequently so I it would be more efficient to access the excel file directly.  I tried using the crystal wizard addin in excel, but then when I run the report I get the error message "Server has not yet been opened".  Any other ideas on how to create report of excel data directly?

    Hello Guys ,
    I have something similar problem ,but not exactly.
    our requirement is We are scheduling one crystal report to generate excel and sent to FTP location.This Excel file (in FTP) should be the input of new Crystal Report using ODBC (RDO) connection.
    I am able to create the ODBC connection,but that ODBC connection is not showing me the selected excel sheet in the Crystal Report ODBC Connection.I tried with Remote as well as local drive Excel also.
    I tried on different machine (thought ,it could be Driver specific),but all machines does have same issue.
    Is there any settings or driver upgrades require for CR XI R2 /2008 in order to use ODBC (RDO) for EXCEL FILES.I didnt find any comments /resolution in Google too.
    My steps -
    1) Create a sample Excel file - only few records
    2) Created a System ODBC connection pointing this excel file say "TEST1"
    3) Opened A Blank Crystal Report
    4) Create a New connection
    5) Select ODBC RDO
    6) Create new connection and selected the newly created SYSTEM DSN "TEST1"
    7) check the selected excel is displayed in ODBC RDO connection??
    If it is a Crystal Report issue or ODBC Driver issue ,please let me know if anyone have came across similar issues.
    thanks in advance.
    Nitin

  • How to store the value of sum of group in Crystal Report at the runtime!

    Hello all,
    I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
    - Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
    - I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
    Any helps are much appreciated. Thanks.

    I doubt that this is possible since it would only calculate this value once the report has data.  This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;

Maybe you are looking for