Crystal report 2011 percentage calculation(Urgent)

All,
I am working on a report which looks like the below.
product>>>>>>> revenue>>>>>>>>> growth percentage
a  >>>>>>>>>>>     12 >>>>>> >>>>               48%
b >>>>>>> >>>>>>>13 >>>>>>>>                  52%
c  >>>>>>>>>>>>>   14 >>>>>>>>>                       
d>>>>>>>>>>>>>>  16>>>>>>>>>>>>                                     
total         >>>>>>>   25  >>>>>                          100%
my requirement is to calculate the individual growth percentage of a and b with the total revenue of a and b only.
to be more specific 12 divided by 25  and then 13 divided by 25.
i want these growth percentages in growth percentage column in my report.
I achieved the selective summation of revenue for a and b in the report footer but i am not able to use the total revenue 25 (that i get in the report footer)  in the body of the report(detail section) for growth percentage calculation.
I tried using shared variables and global variables but of no use.i am not able to assign the grand total in the footer to a variable in the detail section in order to calculate the growth percentage.
Is there any easy work around to achieve this? need urgent help.
I also tried running totals and stuff but of no use.
Any help would be appreciated.
Reji.
Edited by: reji2011 on Jan 22, 2012 7:32 PM

Hi Reji,
I'm not sure how you've added 'a' and 'b', however, whatever way it would be, I'm sure it would be a print time formula.
Meaning it is calculated a later stage after all the records are printed. So, you would never be able to use a value in the Report Footer or any Footer to calculate against a detail section value and show the calculation on the detail section itself.
The way I see it, you would need to insert this report as a sub-report, just to calculate a + b, store this value in 'shared variable' and use it for calculations in the Main Report.
So, in the sub-report, where you have your formula that calculates the addition of a and b, just create a shared variable and assign this value to it.
Place the sub-report on the Report Header and in the Main report create a formula that calls the shared variable. You can then use this formula/variable in Main-report's calculations.
Hope this helps!
-Abhilash

Similar Messages

  • Error while running Java application using Crystal Reports 2011

    Hello,
    I would like to ask for your help.
    Environment details:
    Java based standalone application in Development environment.
    Crystal Reports 2011 (no SP applied)
    Oracle 11g ( 32 bit client installed)
    Win7 64 bit OS.
    Workflow:
    While running the java application, which will display the reports I am getting the below mentioned error. I guess that is because I am missing the Crystal runtimes (Correct me if I am wrong).
    I know that CR2011 do not have any sdks/ jar available for deployment. In this case, which runtimes should I be using? Does installing CR2011 be enough in the development box?
    Please provide me the link from which I can download the same.
    Let me know if I need to provide more details on this. Any suggestions are most welcome.
    Thank You.
    Code used:
    reportClientDoc = new ReportClientDocument();
    System.err.println("Opening the Report ");
    reportClientDoc.open(REPORT_PATH, 0);
    // this is where the error or exception is thrown
    _Error: _
    log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
    log4j:WARN Please initialize the log4j system properly.
    com.crystaldecisions.sdkreport.lib.ReportSDKException: com/businessobjects/reports/jdbinterface/common/DBException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
                    at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
                    at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.<init>(SourceFile:703)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.if(SourceFile:504)
                    at com.crystaldecisions.sdk.report.application.ClientDocument.open(SourceFile:669)
                    at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
                    at rp.batch.bo.RpJRCExportReport.runReportExport(RpJRCExportReport.java:517)
                    at rp.batch.bo.RpSchedReportRun.process(RpSchedReportRun.java:163)
                    at rp.batch.bo.RpSchedReportRun.drive(RpSchedReportRun.java:240)
                    at rp.batch.bo.RpSchedReportRun.main(RpSchedReportRun.java:265)
    Caused by: java.lang.NoClassDefFoundError: com/businessobjects/reports/jdbinterface/common/DBException
                    at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
                    at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
                    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
                    at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
                    at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
                    at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
                    at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
                    at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
                    at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
                    at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
                    at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
                    at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
                    at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
                    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.businessobjects.reports.jdbinterface.common.DBException
                    at java.net.URLClassLoader1.run(URLClassLoader.java:200)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
                    at sun.misc.LauncherAppClassLoader.loadClass(Launcher.java:301)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
                    ... 28 more

    Help me ...
    Ambient:
    Crystal Reports Viewer 14.0.0.0
    java.vendor = Sun Microsystems Inc.
    java.version = 1.6.0_37
    os.name = Windows NT (unknown)
    os.version = 6.2
    os.arch = amd64
    Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
              at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
              at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
              at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
    Source:
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import com.crystaldecisions.ReportViewer.ReportViewerBean;
    import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
    import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public class HelloWorldSwing {
               * @param args
              public static void main(String[] args) {
                        HelloWorldSwing pgm = new HelloWorldSwing();
                        try {
                                  pgm.createAndShowGUI();
                        } catch (Exception e) {
                                  e.printStackTrace();
                                  //JOptionPane.showMessageDialog(null, e.toString());
               * @throws Exception
              public void createAndShowGUI() throws Exception {
                        // Make sure we have nice window decorations.
                        JFrame.setDefaultLookAndFeelDecorated(false);
                        // Create and set up the window.
                        JFrame frame = new JFrame("HelloWorldSwing");
                        frame.setTitle("Titolo del Report");
                        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        ReportViewerBean viewer = new ReportViewerBean();
                        viewer.init(new String[0], null, null, null);
                        ReportClientDocument rpt = new ReportClientDocument();
                        rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
                        rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
                        IReportSource rptSource = rpt.getReportSource();
                        viewer.setReportSource(rptSource);
                        frame.getContentPane().add(viewer, BorderLayout.CENTER);
                        frame.setSize(1930, 1030);
                        frame.setVisible(true);
                        viewer.start();

  • Crystal Report 2011- SAP Data Sources: CL - no items found

    Background:
    SAP ECC 6.0 was purchased three years ago with DSD package. Only FI and SD modules are in use. Accounts download data filesfrom SAP to produce spreadsheet reports. Few user trust these numbers. We are setup as "SAP in the Cloud" model- Listening to constant user complaints, it seems SAP is broken. Interim solution: Crystal Report for everyone.
    Encouraged by Ingo Hilgefort papers and Crystal Report Forum:
    We decided to deploy Crystal Report 2011 and Business Object XI 3.1 with SP4 for our small user community. These software are installed on local XP laptop and Business Object XI 3.1 installed in the SAP server as well.
    Problem Description:
    The desktop user cannot see SAP infosets or tables contents. When connect to the data sources. After user login, she can navigate to expand the data source CL.- displays "no items found ". I can reproduce this error. Using the Crystal Report wizard and selecting various data sources such as: SAP Table, Cluster and Functions: CL, DD and FN category only DD and FN display items.
    Current Environment: SAP in the Cloud.
    SAP Server::ECC 6.0 EhP3 dual stack. Database MSSQL, OS 2008 Server, Business Object Intergration Kit 3.1, Remote Acces VPN.
    Desktop Environment: Crystal Report 2011: SP1, Business Object Xi 3.1, XP SP3
    Surprise: Clicking on either DD and FN tab inside the connector window in Crystal- it expands and displays tables and content reference but not CL.
    Questions: Do we have to move to EhP5 for the CRX 2011 to work ? What is wrong: ? Any help will be appreciated?
    This question is for Ingo H. How to convince SAP hosting company otherwise to solve our problem ? Is is desktop problem or Host side configuration ?

    Ahmad
    K900687 is Open SQL Connectivity transport and required for direct SAP tables connectivity, so you need it, but I am not sure if the warning message relevant to your problem. Sometimes warning is just a warning.
    You can see other objects in DD, but not in CL, it means the connection works. You probably do not have required authorisations to see objects.
    I would suggest to review the Authorisation section of SAP Integration Kit Installation Guide here:
    [http://service.sap.com/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf ]
    You may also check what is the differences between DD and CL in terma of authorizations.
    If you think CR 2011 is broken, then test CR 2008. Is still available for free 30-days trial download here:
    [http://www12.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx]
    , but you would need to add SAP Integration Kit to it.
    Vitaly

  • Hiding a data field in SAP Crystal Reports 2011

    Hello,
    I am new to SAP Crystal Reports 2011 (Crystal Reports).
    Does any one know how to hide a Special Field in a Crystal Report?
    Specifically, I am trying to hide the Special Field, 'Record Number'  from displaying on my report.
    I need the Special Field, 'Record Number' to know how many records was printed on my report
    in order to limit the amount of records printed while I am testing this new report.
    Thanks for the help!
    Tony

    Hi Tony,
    Yes to hide specific field, follow abhilash suggestion..
    1. Limit the number of records displayed on your report like that:
    section expert -> particular your report section -> click on suppress -> write below formula
    RecordNumber > Limited number of records count..
    2. limit the number of records  per page on your report follow below link:
    How to limit the no of records per page in crystal reports 2008
    Thanks,
    DJ

  • Crystal Reports 2011 not working in windows 2008 server CITRIX

    Hi All,
    We are using  Crystal reports 2011 in windows 2008 server which is CITRIX farm., having crystal reports 2011 runtime in it..
    We are using .net applicationton to run the reports.
    The crystal reports parameter popup is getting opened. But the calendar icon is not fuctioning ..clicking on the calendar control no pop up appears. no error too..
    OK button is not responding. Cancel button too.
    Can you please help us why we are facing this issue in CITRIX only. When we are using the same version in desktop, Crystal report is working fine.
    Please feel free to ask if required any more details about my problem.
    Regards,
    Venkat.K

    Ido's idea is excellent, only addition I'd like to make is the following:
    You are trying to run a .NET app. However, CR 2011 does not install any SDKs. So, the directory specified by Ido is not correct. Assuming that by CR 2011 you actually mean "SAP Crystal Reports, Developer Version for Visual Studio .NET", then the directory would be:
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers\prompting
    If that does not help, use Process Monitor and see what the logs tell you (look for Access Denied messages).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Error  When Refreshing a Crystal Report 2011 from BI launchpad

    Hi,
    I am getting this error message [CRWWEB00000119] VIEWER COULDN'T PROCESSS AN EVENT when trying to view a crystal report from BI Launchpad. I have created the report using Crystal 2011 and Published it to SAP BO BI 4.0, Verified the Database Username/password for the report and it has the correct information. Report works without issues from Crystal 2011 Designer.
    When I schedule this report it fails alsowith "Error in File ~tmp1ccc6d9c2d14c50.rpt: Failed to load database information" message.Checked the Oracle ODBC on the server and it is pointing to the DWH, I have created the report using Crystal 2011using oracle server connection and Oracle 11gR2 32 bit client is installed on my machine, SAP BO BI 4.0 Server has Oracle 11gR2 64 bit middleware and has the Oracle ODBC for the conenction i am using in the report.
    Please let me know if anyone has faced similar issue with SAP BO BI 4.0 and can help me resolve this, below is my environment details.
    Environment:
    Windpows Server 2008
    SAP BO BI 4.0
    Crystal Reports 2011
    Oracle 11gR2
    Thanks
    Sachin

    Hi Sachin,
    Did you verified the database details for the report in the CMC?
    Can you try also to publish the report by using the tool Report Upload Wizard?
    Thanks
    Philippe

  • How to run a crystal report in SAP Crystal Reports 2011

    I've installed SAP Crystal Reports 2011. I can't figure out how to run a crystal. What replaces the lightning bolt used in previous versions of crystal? I'm I missing something?

    Hi Tim,
    You may:
    1) Press F5
    2) Go to Report > Refresh Report (Notice the icon beside the label)
    3) Go to View > Print Preview
    4) Or, click the refresh button on the toolbar
    5) The icon on Point#2 is also available on the toolbar
    -Abhilash

  • SAP Crystal Reports 2011: Error INS00140 and other install errors

    Hi all,
    There have been many customers who have downloaded the Crystal Reports 2011 installation package and have run into an error when the installer attempts to recognize the keycode being used.  The error received is "The Product Keycode is not valid INS00140."
    This thread is meant to track all current resolutions that have been determined based on troubleshooting with customers thus far. In addition, the thread will provide you with the list of things that we need to know in order to properly troubleshoot the issue.
    Before attempting any of the steps below, please be sure that you are using the latest version of Crystal Reports 2011 which is SP02. You can download this version from the SAP [website|http://www.sap.com/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalreports/index.epx].
    Coy
    ====================
    Resolution Options
    Windows XP & Microsoft Visual C++ Redistributable
    If you are installing Crystal Reports 2011 on Windows XP, then you need to ensure that the following Microsoft patches are not installed on the machine. You can check this by using the Add / Remove Programs dialogue.
    KB2467175
    KB2467174
    KB2467173
    If any of these are installed, then please remove them before attempting to install Crystal Reports 2011.
    Installing with Dashboard Design 2011 or Presentation Design 2011
    If you are installing Crystal Reports 2011 on the same machine as Dashboard Design 2011 or Presentation Design 2011, then there may be a problem with the registry key that points to the location of the keydecoder DLL. To check this, launch run regedit and navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Shared Tools\keydecoder.dll
    You want to make sure that the "path" key is pointing to the valid path for the keydecoder.dll. The correct path to the DLL should be: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x8keydecoder.dll.
    Uppercase License Key
    In addition to the above, you need to make sure that you are entering the license key in all uppercase characters. There is a current issue with the installer where it does not accept lower case characters.
    Fix - Coming in SP02, but can implement manually for now
    Locate the BCM-4-0.dll.2.Config file in the <install package directory>\dunit\product.crystalreports-4.0-core-32\actions
    (replace crystalreports with crystalreportsjava for CR for Ent and xcelsius for dashboards)
    Open BCM-4-0.dll.2.Config
    Locate this line:
    <bindingRedirect oldVersion="8.0.50727.0-8.0.50727.1434" newVersion="8.0.50727.4053" />
    Modify the oldVersion number to make the line like this one:
    <bindingRedirect oldVersion="8.0.50727.0-8.0.50727.4053" newVersion="8.0.50727.4053" />
    This should allow you to install without issue.
    Further Troubleshooting
    If none of the above helps to resolve the issue, then we need the following:
    The installation logs from the following folder: C:\Documents and Settings\<YOUR USER NAME>\Local Settings\Temp\<DATE OF YOUR LAST ATTEMPTED INSTALLATION>
    The results from attempting to run the keycode validator directly. You can find it under the folders that contain the installation package. For example, C:\Documents and Settings\<YOUR USER NAME>\My Documents\CrystalReports2011\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core 32\actions\isKeyCodeValid.exe -keycode <YOUR KEYCODE> -version 140 -property CR.EnableCR
    You should submit a new forum post with relevant details about the error and provide links to download the logs generated by following the above steps.
    Edited by: Don Williams on Dec 22, 2011 7:53 AM

    Then try these:
    1. Download the latest version of the installation package for Crystal Reports 2011. To verify the version of extracted package, open productid.txt file located at: {installation package}\DATA_UNITS\CrystalReports\.
    Make sure it is not less than 14.0.2...
    2. Where to download Crystal Reports 2011 installation from: - free trial from SAP Online shop http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx - from SDN Community page http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm - from Service Market Place http://service.sap.com/sbop-downloads Note: downloads from all above listed locations are fully functional product installations. Trial version defined by expiring key code, not by functionality limitations.
    3. Copy the installation package to a hard drive if possible to avoid any networking issues.
    4. Login to the machine as Local ADMINISTRATOR.
    5. Temporary disable any kind of firewall, antivirus, network security etc., if possible.
    6. On the latest versions of Windows, even if logged in as local Administrator, right-click the setup.exe and select "Run as Administrator". If do not have Administrator account, right click "Run as" Select current user and uncheck the "Protect my computer and data from unauthorized program activity".
    7. Make sure there is enough space on the computer. If not sure about the space, run "Custom" installation with minimum components. Non-mandatory components could be added at any time.
    8. Finally, if there is an existing "InstallData" folder under C:\Program Files (x86)\SAP BusinessObjects rename it to "InstallDataOLD"
    Edited by: Don Williams on Dec 22, 2011 7:51 AM

  • Where are release notes for Crystal Reports 2011 SP10?

    We've recently moved from Windows XP with an older release of Crystal to Windows 7 (64 bit) with Crystal Reports 2011.  Where can you find what issues have been fixed?  Despite finding a link with the text "Support and Feature Pack Release Notes" on the web page SAP Crystal Reports 2011 – SAP Help Portal Page, the document is for SP5.  Where can you find issues known and fixed in each of the service packs (and known and not fixed)?  I also looked at Analytics Knowledge Center and picked Crystal Reports and 2011 and the only release notes other than the initial release is for a FP3, which as near as I can tell is nowhere to be downloaded so I assume the SP1 replaced that...

    Hi Eddie,
    Release notes for SP10 are only available on the Service Market Place.
    If you have an S-user ID, you may have a look at the document here.
    -Abhilash

  • Crystal Report 2011 doesn't find SAP B1 DB in Expert DB

    Good morning,
    I've found a problem when I've installed SAP Crystall Report 2011 on the computer where is my SAP B1 (version 9.0).
    When I try to create a connection to a DB, the Expert DB doesn't find the SAP B1 DB on the PC.
    Here's a screenshot
    Thanks for your help
    (and apologize for my bad english).

    Hi
    Check the below link it may helps you
    data source sap business one
    With Regards
    Balaji Sampath

  • Starting Crystal Reports 2011

    I don't know if this is the right forum, but my question is very basic, hopefully with a simple answer.  I've updated from CR v11 to CR 2011, and the installation seemed to be without problem.  But HOW DO YOU START THE THING?!!  No new icon left on desktop, nothing in the system tray, no instructions and no ".exe" file in the "Crystal Reports 2011" program files that seems applicable to the overall application.  The old icon still points to the old files.  WHAT AM I MISSING?!!

    There should be a link in the Start menu:
    Start, All Programs, Crystal Reports 2011, Crystal Reports 2011
    The file you're looking for is crw32.exe. Depending on your operating system and if it was part of an Enterprise installation, it may be in a directory like
    "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe"
    If there's no crw32, something probably went wrong with the installation and this isn't the right forum for the answer.
    Regards,
    Bryan

  • Crystal report 2011 - Suppress formula?

    I'm not new to Crystal reports 2011, but I am new to this forum. Excuse me if my question is already answered in another discussion thread, but I've searched the forum, but could not find an answer easily.
    In my report I need to total the amount per day per security. If one of the totals per day have a negative amount, my report should show all dates for that security.
    To make it more clear to you I've put in two examples
    Example 1:
    From date      PfGrp        Por         Security      ISIN          Custody     Amount
    15-1-2015      aaa           por_a      Sec01        123456      Cust01      5000
    15-1-2015      aaa           por_b      Sec01        123456      Cust02      -6000
    16-1-2015      aaa           por_a      Sec01        123456      Cust01       5000
    16-1-2015      aaa           por_b      Sec01        123456      Cust02       1000
    17-1-2015      aaa           por_a      Sec01        123456      Cust01       2000
    17-1-2015      aaa           por_b      Sec01        123456      Cust02       1000
    Expected output:
    From date      PfGrp        Por         Security      ISIN          Custody     Amount
    15-1-2015      aaa                          Sec01        123456                         -1000
    16-1-2015      aaa                          Sec01        123456                          6000
    17-1-2015      aaa                          Sec01        123456                          3000
    Output expected because the total amount on 15-1-2015 is negative. Because of this negative total amount the other dates have to be shown as well.(although they are positive)
    Example 2:
    From date      PfGrp        Por         Security      ISIN          Custody     Amount
    15-1-2015      aaa           por_a      Sec01        123456      Cust01       5000
    15-1-2015      aaa           por_b      Sec01        123456      Cust02       6000
    16-1-2015      aaa           por_a      Sec01        123456      Cust01       5000
    16-1-2015      aaa           por_b      Sec01        123456      Cust02       1000
    17-1-2015      aaa           por_a      Sec01        123456      Cust01       2000
    17-1-2015      aaa           por_b      Sec01        123456      Cust02      -1000
    No output expected because all the totals per day are positive.
    Regards, Peter.

    Hi Peter,
    Try this please:
    1) Save the existing report with a new name. You should now have two copies of the same report - let's call them A and B.
    2) Open Report A.
    3) Insert a Group on the Security Field first and then on the Date field. Set the Date Field to 'Print for Each Day'.
    4) Create a formula (@Groups) with this code and place this on Group Header #2:
    WhilePrintingRecords;
    stringvar groups;
    If Sum ({Amount}, {Date}) < 0 then
        If Instr(groups,{Security}) = 0 then   
            groups := groups + {Security} + ",";   
    groups;
    5) Suppress all sections of this report except the Report Footer.
    6) Go ahead and Insert a Subreport. In the Insert Subreport dialog box, browse to the Report B and place it on the Report Footer.
    7) Edit the Subreport so that it has the same groups as the Main Report (or Report A)
    8) Right-click the Subreport > Change Subreport Links > Move the @Groups formula to the Pane on the right > Uncheck the option 'Select data in Subreport based on Field' > Click OK.
    9) Get inside the Subreport > Click the Report Option > Selection Formulas > Record and use this code:
    Not({Security} IN Split({?Pm-@Groups},","))
    IF you have some existing selection formula in there, then you would need to add this condition with an AND clause.
    Hope this helps.
    The reason we have to add a Subreport is because you're trying to suppress a higher group based on a summary that appears on a lower group.
    If you're reporting off of tables, you should be able to use a SQL Expression Field to display the summary for Group #2 and use this summary to suppress the higher section based on another logic!
    -Abhilash

  • HELP !  Crystal Report 2011 TRIAL -  Can't Open Program WITHOUT AN ERROR

    Server: windows 2008 R2
    1) Crystal Reports 2011 was installed using the Trial version.
    2) Added the trial key in the form - OK.
    3) Clicked to start Crystal Reports 2011 and a dialog box pops up:
    CRYSTAL REPORTS STOPPED WORKING
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: crw32.exe
      Application Version: 14.0.0.760
      Application Timestamp: 4d688f61
      Fault Module Name: crw32.exe
      Fault Module Version: 14.0.0.760
      Fault Module Timestamp: 4d688f61
      Exception Code: c0000005
      Exception Offset: 00028ada
      OS Version: 6.1.7600.2.0.0.16.7
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    FROM EVENT LOG - MORE INFORMATION
    ~~~~~~~~~~~~~~~~
    EVENT LOG
    ~~~~~~~~~~~~~~~~
    CRYSTAL REPORTS 011 - 32 Bit
    Windows 2008 R2 Statndard
    64 bit, 16 GB ram
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Fault bucket 2445902896, type 1
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: crw32.exe
    P2: 14.0.0.760
    P3: 4d688f61
    P4: crw32.exe
    P5: 14.0.0.760
    P6: 4d688f61
    P7: c0000005
    P8: 00028ada
    P9:
    P10:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Faulting application name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Faulting module name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Exception code: 0xc0000005
    Fault offset: 0x00028ada
    Faulting process id: 0x1be0
    Faulting application start time: 0x01cc367d04e5e87c
    Faulting application path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Faulting module path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Report Id: 486fd25a-a270-11e0-b215-842b2b4c199e
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attached files:
    C:\Users\jyanagi\AppData\Local\Temp\WERF967.tmp.WERInternalMetadata.xml
    These files may be available here:
    C:\Users\jyanagi\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_crw32.exe_149624126266436fca64902e9d839546696c19_00630da2
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 486fd25a-a270-11e0-b215-842b2b4c199e
    Report Status: 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The description for Event ID 1904 from source HHCTRL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    about:blank
    http://go.microsoft.com/fwlink?LinkID=45840
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    APPLICATION ERROR - EventID 1000
    Faulting application name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Faulting module name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Exception code: 0xc0000005
    Fault offset: 0x00028ada
    Faulting process id: 0x3644
    Faulting application start time: 0x01cc367c5f8cd8b8
    Faulting application path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Faulting module path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Report Id: a1c2265e-a26f-11e0-b215-842b2b4c199eGet Windows Live Mail to create your own photo e-mails

    Hi,
    Thanks for your reply.  I followed the other link and it didn't help my current situation.
    Is there a link for paid support .. all I need to do is the following for a client:
    1) Install Crystal report 2011 on a Microsoft 2008 Server R2.. my error message is above.
    Resolve the error on start up of Crystal reports..
    It's already been over 1 week .. and I can't seem to get a live person on SAP that can help me... once this is resolved I think I will be ok.
    I have CR XI on running on another server with no issues.. I don't know if the above is due to a service pack issue, security issue on installation, ...  its a production server so I just want to resolve this quick.
    Any help you can give me on getting alive person that I can talk to will be greatly appreciated.
    Thank you.
    Edited by: Mitsuokbs on Jul 1, 2011 10:38 AM

  • Crystal Reports 2011 Installation Issue, key code not valid

    Folks,
    We have just purchased two licenses for the Crystal 2011 upgrade from DigitalRiver.  The installation completes successfully, using one of the two "digital rights" keys that were provided in the confirmation email from DigitalRiver.
    Upon launching Crystal Reports 2011 for the first time, though, we are being prompted with a License Manager window asking to add a key code for Crystal Reports.  We enter the "digital rights" key provided by DigitalRiver, the same one used during the installation [copy and pasted from the email for accuracy] and receive the error message "The key code you just typed is not valid, please try again."
    Canceling this window or clicking Ok simply closes the Crystal Reports application.
    Any assistance in how to get the application running would be helpful.
    Tested Environments:
    Windows 7 Professional SP1, 32bit
    Visual Studio 2010 w/ CR for Visual Studio 2010 installed
    Windows Server 2008 R2, 64bit
    Thanks,
    Jeff

    Follow-up:
    We went through several iterations of installation and finally decided to mix things up to see if we could get a different response from the software.  The items that we performed differently were as follows:
    1.  Ran the setup.exe as administrator [even though we have full admin access as the logged in user]
    2.  Hand typed the digital rights key rather than cut/paste from the email
    3.  Performed a custom installation rather than the default and de-selected all of the SAP and other software integration options.
    The software ran fine without prompting with the License Manager.
    My guess is that it was the removal of the integration pieces that allowed the application to run.  We'll perform our next install with just that change and see if it is the culprit.
    Jeff

  • How to automatically/programmatically "publish" reports for local users of Crystal Reports 2011?

    Hi,
      I'm not sure if I'm using the correct Crystal Reports terminology here, so apologies in advance.
      We've got Crystal Reports 2011 and are developing an application which comes with a number of report files (.rpt) as part of its installation. These reports are used to provide a view onto the database that our application writes to.
      Is it possible to automatically manage the collection of reports that are available to users of the Crystal Reports application? Ideally this would be done as part of our application's installation/upgrade procedure. In the case of upgrades, it is possible that some report files may be modified, some removed and others added. (i.e. as the application database's underlying schema is modified or new features added/deprecated).
      I believe this could be achieved manually by starting up Crystal Reports and adding and removing reports to/from the Workbench, but we'd like this list of reports to be available to all users on the PC (Crystal Reports is installed on the same PC as our application), and for the update procedure to be something that was automatically scriptable or programmable in something like .NET.
      I've read about the Repository (which sounds like a solution to making reports available for all users), but suspect that this is only usable after some other product(s) has been installed? I'm not entirely sure what products they would be.
      Could you please let us know whether this can be achieved with the version of Crystal Reports we've got, and if so, how?
      The version of Crystal we have is: SAP BusinessObjects, CR Developer, Version 14.0.4.738 RTM, Product Type: Full
      Many thanks in advance,
        -Nige

    CR 2011 does not install any SDK... You can however download SAP Crystal Reports, developer version for Microsoft Visual Studio, which is an SDK that will let you work with VS 2010 and 2012.
    You will then have to decide if you want to use the Crystal Reports SDK or the InProc RAS SDK.
    Samples are here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Dev Help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Discussing your requirements with sales may not be a bad idea either: 866-681-3435
    http://www.sap.com/contactsap/directory/index.epx
    Or, create a phone support incident here:
    Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Time machine restore returns only empty folders

    I need to restore several folders with lots of files within. When entering TM, I see the files and folders. Selecting on one or several folders and clicking restore, copies only the first and empty folder over. I can repeat this by going back to TM,

  • Can't move launchers in XFCE panels

    In XFCE, if I right-click on a launcher and click move, everything on both my panels (dual-head) goes ghosted.  If I click a location where I want the launcher, it shows the animation where it "moves back" and leaves the move mode, much like if I did

  • Please help - left hand menu/toolbar is missing??

    I need help.  My left hand menu is missing?? How do I get it back?  Ive tried pressing tab and F  but still nothing. 

  • Is the lightening adaptor the same as a micro USB?

    Is the lightening adaptor the same as a micro USB?

  • Premiere Pro not able to import QT files?

    We are editing a film with RED material and that is going great, but we cannot inport QT files. We have installed all relavent codecs (ProRes, DNX) and installed QT7. All other QT related aplications on the computer can open QT files just fine, but P