Crystal report XI R2 chart problem

Hi !
I have created a report which contains a subreport.
I need a subreport to evaluate a number which I gives back to my main report to calculate a ratio (Formula) in my main report.
Data are correct in my report but I cannot insert a chart (report footer) which shows the trend of my ratio values : the chart is empty (no value) even if the values are correct in my report.
Could you help me ?
Many thanks.
Z.

The reason why chart values are empty because Crystal Reports can create charts based on whilereadingrecords data only.
Subreport runs in WhilePrintingRecords time, it means shared values from subreport are available in WhilePrintinRecords only and it is too late for the chart.
As a workaround I would suggest create another subreport (report footer) for chart only and pass data from main report to chart subreport as a parameter. In this case values will be available in subreport WhileReadingRecords evaluation time.  
Please review the following document for details:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40e7130d-aa1e-2b10-ce9f-eee2a54ff4cd]

Similar Messages

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Crystal Report 2008 Area Chart Data Label Problem

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

  • Crystal Report For Eclipse: POJO problem

    Hi all,
    I am using crystal report for eclipse basic version and used POJO-method to implement for users to viewing my report.
    I did the following:
    I created a sql page (create a target table) and import into crystal report (through  crystal report designer under eclipse environment) E.g. let's say I created a table with 10 fields and imported into the crystal report.
    Then I drag and drop through crystal report for my report design.
    Later if I need to add one more field .....
    I need to modified my SQL page and re-import the sql page into my crystal report. HOWEVER, through this re-import process, I lost all the detail/information on the existing report (that mean I need to re-design my report through the designer under eclipse environmet).
    My question is: Is there any better way for me to implement my report ???
    THANKS .. THANKS a lot as this problem make me use a lot of my time ... THANKS

    In the sceario you have described (using a SQLPage as the datasource for the report), unfortunately, this is a limitation of the workflow. If you need to change the SQL, then you essentially need to remove and re-add it to the report which means replacing all the fields on the report.
    Instead, I would recommend using a class as the report's datasource.  The class would represent the fields that would be used in your POJO object.  This way if you need to modify the fields in the POJO, you can simply update the class and use the Verify Database to update the report.
    -MJ

  • Crystal Report JRC and JNDI problem

    I need to convert one of our internal web application from using Crystal Report Server 10 RAS to using Crystal Report XI Java Component (JRC). I found several examples from SAP/BusinessObjects but am stuck with a database connectivity problem.
    The basic enviornment info:
    JBoss 4.0.3 SP1
    Crystal Report JRC XI
    Windows XP/Server 2003
    JDK 1.5.x
    MS SQL Server 2005
    The error I am getting is "Error finding JNDI name (xxx)", although the application is already using the same JNDI and was able to display data on the web.
    I added debug code:
                    Context initialContext = null;
                    try {
                        initialContext = new InitialContext();
                        DataSource ds = (DataSource) initialContext.lookup("java:MYAPP");
                        String t = ds.toString();
                        log.debug(t);
                    } catch (NamingException e) {
                        log.error(e);
    I was able to get the data source successfully. The actual report file uses JDBC with JNDI named as "MYAPP". When I call the viewer, it gives
    Error finding JNDI name (MYAPP)
    message.
    Any comment or help would be appreciated.
    Thanks.

    How are you setting your connection info?
    This is what we do:
    IConnectionInfo connectionInfo = new ConnectionInfo();
    PropertyBag propertyBag = new PropertyBag();                    
    propertyBag.put("JNDI Datasource Name", reportJndiName);
    propertyBag.put("Database DLL", DATABASE_DLL); // required!!! (but we don't actually provide a DLL, or even run in windows)
    connectionInfo.setAttributes(propertyBag);
    connectionInfo.setKind(ConnectionInfoKind.SQL);
    ConnectionInfos connectionInfos = databaseController.getConnectionInfos(null);
    IConnectionInfo oldConnectionInfo = connectionInfos.getConnectionInfo(0);
    databaseController.replaceConnection(oldConnectionInfo, connectionInfo, null, DBOptions._useDefault );

  • Crystal reports has encountered a problem and needs to close

    Hi all.
    We have a dev machine XP sp3 with all critical updates applied.  It has Crystal reports 11 and visual studio 2008 on it (both have all updates applied).  We seem to have this problem consistently in crystal reports.  If we open a new blank report, and try to drag & drop a field to anywhere on the report, we get this message.  This happens whether we connect to an access database or an sql database.  In the event log, it has this additional information:
    Event Type:     Error
    Event Source:     .NET Runtime 2.0 Error Reporting
    Event Category:     None
    Event ID:     1000
    Date:          6/15/2009
    Time:          2:46:09 PM
    User:          N/A
    Computer:     SNORDLUNDXP
    Description:
    Faulting application crw32.exe, version 11.0.0.2495, stamp 465ef18a, faulting module crw32.exe, version 11.0.0.2495, stamp 465ef18a, debug? 0, fault address 0x0049af99.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
    0008: 69 00 63 00 61 00 74 00   i.c.a.t.
    0010: 69 00 6f 00 6e 00 20 00   i.o.n. .
    0018: 46 00 61 00 69 00 6c 00   F.a.i.l.
    0020: 75 00 72 00 65 00 20 00   u.r.e. .
    0028: 20 00 63 00 72 00 77 00    .c.r.w.
    0030: 33 00 32 00 2e 00 65 00   3.2...e.
    0038: 78 00 65 00 20 00 31 00   x.e. .1.
    0040: 31 00 2e 00 30 00 2e 00   1...0...
    0048: 30 00 2e 00 32 00 34 00   0...2.4.
    0050: 39 00 35 00 20 00 34 00   9.5. .4.
    0058: 36 00 35 00 65 00 66 00   6.5.e.f.
    0060: 31 00 38 00 61 00 20 00   1.8.a. .
    0068: 69 00 6e 00 20 00 63 00   i.n. .c.
    0070: 72 00 77 00 33 00 32 00   r.w.3.2.
    0078: 2e 00 65 00 78 00 65 00   ..e.x.e.
    0080: 20 00 31 00 31 00 2e 00    .1.1...
    0088: 30 00 2e 00 30 00 2e 00   0...0...
    0090: 32 00 34 00 39 00 35 00   2.4.9.5.
    0098: 20 00 34 00 36 00 35 00    .4.6.5.
    00a0: 65 00 66 00 31 00 38 00   e.f.1.8.
    00a8: 61 00 20 00 66 00 44 00   a. .f.D.
    00b0: 65 00 62 00 75 00 67 00   e.b.u.g.
    00b8: 20 00 30 00 20 00 61 00    .0. .a.
    00c0: 74 00 20 00 6f 00 66 00   t. .o.f.
    00c8: 66 00 73 00 65 00 74 00   f.s.e.t.
    00d0: 20 00 30 00 30 00 34 00    .0.0.4.
    00d8: 39 00 61 00 66 00 39 00   9.a.f.9.
    00e0: 39 00 0d 00 0a 00         9..... 
    Does anyone have a suggestion as to how to try and fix this?  Right now we can't build reports.  Thanks!!

    This latest service pack fixed my issue!!  Thanks a million Stratos!  Here is the direct link to the service pack for others that may experience this problem:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    On this page, choose Crystal Reports, then choose Crystal Reports XI R2, then choose service pack and it shows up at the top of the list.
    If you are going from CR XI R1 to R2 (like I had to), you can download R2 full install from the trials, uninstall R1, reboot, install R2, use the same license number for R1.  Then apply the latest service pack (R2 SP5).
    With great appreciation,
    Tinyang

  • Crystal reports V8.5 Chart legend adding up incorrectly - when using negative values

    Post Author: dawnyanne
    CA Forum: Crystal Reports
    Hi
    if anyone can help me I would be extremely grateful!
    I have a pie chart with a legend. There are just two values that are showing but one of the values is a negative value and the total of the legend is adding up incorrectly. Here is how it is showing at the moment
    Cash                 -0.71
    Uk Equities     100.71
    Total              101.42
    here is how it should be
    Cash               -0.71
    UK Equities   100.71
    Total             100.00
    I can set the chart amounts to be percentage - but then it comes out as only one decimal place and I need two.
    Any help would be very much appreciated!
    kind regards
    Dawnyanne

    Hi Ryan
    The search string 'crystal net 40' (search box in top right corner, returns this KBA:
    2105208 - ER - CR .NET SDK has a Section limit set to 104 and subreport limit of 40
    SP 13 for "SAP Crystal Reports, Developer Version for Visual Studio .NET" can be downloaded here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Crystal Reports - Change Line Chart Color Dynamically

    Hello,
    I have Crystal report 14.
    I'm trying to create a line chart and need to be able to set the colors of the lines at the time the report is run.   The colors the lines need to be are specified in a database and a different color could be specified each time the report is run. 
    Can anybody suggest how I would do this?
    Thanks
    Edited by: Robert4543 on Nov 16, 2011 5:23 PM

    I've tried to use 'Color Highlight'  to change the color of the lines, but it only changed the colors of the markers on the line, not the actual line itself.  Is there a way to get it to change the color of the line? 
    I may have one line I need to display as 1 color, and a 2nd that I need to display as another.  Using color highlight changed the markers for both lines to the same color.  Is there a way to specify which line I want to change the color of in "Color Highlight"?
    Thanks.
    Edited by: Robert4543 on Nov 16, 2011 8:41 PM

  • Crystal Report Viewer and border problems

    Post Author: catalinandrei00
    CA Forum: Deployment
    Hello there,    I've created an report and I've added borders for the fields in the report (Right click on the field > Format Object -> Border -> Choose for the 4 margins the line-style single). The report is correctly exported to different formats (.doc, .pdf, .xls). My problem is that when I display the report in an ASP.NET 2.0 page using an Crystal Report Viewer the report is correctly shown but the borders don't appear.My question is why the borders don't appear in the Crystal Report Viewer? Thanks for helping for solving this issue. It's very important.Catalin  

    Hello catalinandrei00
    I have the exact opposite problem as yours.
    I am using integrated crystal reports with Visual Studio 2005 and I have put a Crystal Viewer on a web page.
    First I also had the same problem like yours and then in one of the post i found a solution for this. Hope it will work for you too. here it is :-
    Just remove the following line from your aspx page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    Now regarding my problem. My problems is that now i can view the borders and everything correctly in the viewer but when i try to print the report it automatically exports to Adobe first and BAM!!! the format disappears. Though if i export to word Doc format it export perfectly fine with all the borders and everything
    I hope some other reader will come to my rescue...pls HELP.

  • JSP vs Crystal Report Export to PDF problem

    I have problem using JSP and Crystal Report 10.
    When I exporting report to PDF my font become ??????
    (Only thai font but En font is work fine)
    This mean when deploy report on J2EE (I used tomcat 5.0.27)
    It not support other language or I must use other thing such as
    convert all data to Unicode before export it?
    Please advice me
    thank you
    Note: If I export it with Crystal Report IDE it can read.
    Message was edited by:
    mistwalker

    Hi All,
    Can any one help me to use JSP for export report via Crystal Report 11, as i m using CR 8.5 with Java and for exporting reports i m using Jacob.dll, and reports hosted in IIS. but due to Jacob.dll facing lots of issue and finally not able to export reports.
    Now i installed CR 11 and hosted reports and able to view via my JSP pages, can any one help me how to export report to server.
    Appreciate urgent assistance.
    Regards,
    Imran

  • Crystal Reports Server XI License problem

    Post Author: Seb
    CA Forum: Upgrading and Licensing
    Hi all,
    I've been trying to install and run the crytal reports server and have had a number of problems. I got around the dreaded cms server can't start issue by deleting and reinstating the databases.
    now I have this when trying to login to Infoview
    Unable to retrieve system information. Please ensure that the system has a valid license key.
    I've been on and registered and try and enter the new license key into  the CMC but then get this error
    "There was an error while writing data back to the server: Unable to load keycode.dll"
    I'm guessing it's probably some sort of permissions/registry issue but don't know where to look next.
    Cheers
    Seb

    Thanks for the information.
    Actually we do not find "Central Management Console" in Start/Programme/Crystal Reports Server 2008/Crystal Reports Server 2008/.
    We also tried using the http://webserver:8080/CmcApp/ by providing the correct hostname and also with the IP address; but we get a webpage not found error.
    Could you please help us. We are not able to find Central Management Console.
    Thanks is advance!!!!

  • Crystal Reports 2008 Pie Chart Data Labels

    Hi,
    I've been trying to figure out why I cannot get the option to put pie chart data labels in the center of each slice.  There's an option to place them there, but everytime I select it, the graph reverts to putting the data labels on the outside with leader lines.  I was able to do it once, for one pie chart, but have not been able to get it to work for any others.  I've even tried creating a pie with only two slices in case there's a slice size limit below which the data is placed outside.  There doesn't seem to be any rhyme or reason why it worked once and now won't work again.
    Thanks,
    -Jim
    Edited by: jwmckay on Apr 23, 2010 7:19 PM

    Hi Jim,
    The issue could be faced because of the 'Auto-arrange' layout option enabled from Chart Expert within the report.                                                                               
    This option allows Crystal Reports to reset the chart layout to its original size and position  
    To uncheck the 'Auto-arrange option':                                                                               
    - First Go to Chart Expert-                                                                               
    - Click on the Options Tab                                                                               
    - Uncheck Auto - Arrange                                                                               
    - Click OK                                                                               
    I hope this helps,
    Selenia

  • Crystal Reports and Organizational Charts

    Has anyone used Crystal Reports for creating Organizational Charts? The gap we have is that some manual user overrides are needed to the final output, and the output cannot be modified in Crystal unless exporting the data. The export format is clunky.

    Hi,
    Did you do any aggregation for your org chart in crystal report?
    Or you have to draw it in CR?
    If not, pls use excel or other powerful UI oriented tools, as far as i know, crystal handles data well but not the final format.
    Thx,
    Hao

  • Crystal Reports and Business One Problems

    Hello all
    Some questions about Crystal Reports and Business One, I try run some Crystal reports developed in special but for some reason when I ussing Terminal Services this unplug, so, more strange its when the user are not administrators because when are adminstrators this problem is not present.
    Some tip its welcome.
    Thanks a lot

    Hi Ricardo,
    I checked the privileges point to point, even as he opened like to administration, but no response as to assign regular users, that is strange.
    >I didn't  undertstand these statement .What do you mean  by point to point .There is only one place you have to specify was user has access to the group you have defined .As described , it is done in number 4 .(Please refer to that )
    When we are talking about user -there is two user --One is superuser and regular user
    If you are super user , you have to give permission to other users to only crystal report and regular user  doesn't need access to Administration module <referring he opened like to administration> .
    BTW , Are you familiar with crystal report administration in SAP b1 ? You can find several thread poiting towards training material in the forum
    Hope this helps
    Bishal
    Edited by: Bishal Adhikari on Mar 2, 2009 2:43 PM

  • Crystal report: client-side printing problem

    Hello everyone,
    I developed an asp.net web application / c # - VS2012 - crystal Repport (CRforVS_13_0_5) on windows 7 pro 32 bits, everything is ok even print reports.
    The problem is that when hosting the web application in IIS on the same machine (Windows 7 pro 32 bit) printing the report (crystal report) does not work;
    my code behind:
    ReportDocument cryRpt = new ReportDocument;
      string path = "../rpt/demande.rpt";
      cryRpt.Load(Server.MapPath(@path));
      ParameterFieldDefinitions crParameterFieldDefinitions;
      ParameterFieldDefinition crParameterFieldDefinition;
      ParameterValues crParameterValues = new ParameterValues();
      ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue();
      crParameterDiscreteValue.Value = "value";
      crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields;
      crParameterFieldDefinition = crParameterFieldDefinitions["val"];
      crParameterValues = crParameterFieldDefinition.CurrentValues;
      crParameterValues.Clear();
      crParameterValues.Add(crParameterDiscreteValue);
      crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
      cryRpt.SetDatabaseLogon(user, pw);
      CrystalReportViewer1.Visible = true;
      CrystalReportViewer1.ReportSource = cryRpt;
      cryRpt.PrintToPrinter(1, false, 0, 0);
    how to print the report on the client side?

    The search term 'crystal net client side print' brings up the following (amongst many other):
    KBA: 1214466 - How to print a report from a .NET Web application
    KBA: 1216932 - How to print directly to a printer instead of PDF in a CR 10 ASP.NET application
    KBA: 1983821 - How to achieve client side printing without using the Crystal Reports viewer
    The above should help you out. BTW.; the search box is in the top right corner.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • HP photosmart C4700 cannot be connected over the network.

    my printer was recently unplugged and refuses to print. i have reinstalled all drivers and software but still cannot connect over the network. please help soon as i desperatley need to print off college work. this has happened before but reinstalling

  • UK reporting

    Hello Friends, Can anybody help me out by throwing some light on Intrastat reporting as required in context of UK implementation of SAP? Rgds NS

  • Selection of jdbc driver for oracle 8i

    Which jdbc driver should be used for connecting with oracle 8i?

  • UTL_FILE Oracle training sessions

    I'm working on writing a pl/sql package to read the flat file, parse the data and load it into the table using UTL_FILE.fopen, DBMS_LOB.OPEN. I'd like to take some sessions related to this topic if Oracle training center conduct. Can someone suggest

  • Asserting OpenDNS on Verizon Quantum Gateway G1100 ?

    Just received and setup the latest Verzion wireless router, walking through all the options, turning off uPNP, etc. However, I see no way to assert alternatIve DNS service, e.g. OpenDNS with this router and the manual only privides Prrimary/Secondary