Gs1 ean128 barcode from crystal report 2011

Hello
I am trying to produce a gs1 ean128 barcode from crystal report 2011 using 'Change to barcode' and choosing 'Code128 UCC/EAN-128'
If the barcode is made up of 2 different pieces of information, and the first one has a variable length ( for instance (20)25620(400)125411258 ) I have to put a separator character ( FNC1 ) before the second application identfiers, but I don't find any documentation about what character is to be used.
Moreover, it seems that the only available choice for GS1
('Code128 UCC/EAN-128') supply a CodeSet C barcode, and this can be used with even length strings only. If my string may have a odd length I have to use A or B Code , but I don't find other available function
Marco Terribilini

hi Marco, if you're using azalea barcode fonts,  azalea has custom functions which can be used in conjunction with the fonts. you would put your data into a formula which uses the custom function and base the "change to barcode" on that formula. the link above will take you to their custom functions and downloads for various fonts. if you're using another provide, please consult their faq.
-jamie

Similar Messages

  • 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

  • Upgrade from crystal report 8.5 to crystal report 2011

    Hi All,
    Currently we are using crystal report 8.5 (PEAPI and dictionary files) (with VB6) to generate historical data for our product. Reports can have millions of records. We are using 2-tier architecture ( our client resides on windows machine and database
    - Oracle10g dedicated server- resides on linux server).
    We are planning to upgrade it to CR2011(with .NET)
    My understanding is :
    Crystal report designed in SAP Crystal Report 2011/SAP Crystal Reports(version for Visual Studio 2010)/.NET SDK for CR2011 and developed in VS2010 will use Crystal Reports(version for Visual Studio 2010) runtime.  Please comment.
    Is there  any way to use PE APIs in Crystal report 2011 ? If not which is the best way to upgrade  ?
    Please comment.
    Thanks,
    Gaurav

    Hello,
    Not sure which viewer you are using, should be CR.Windows.Form and in code using RAS ( Report Application Server ) you'll get these options which are now controllable by you to allow all or just some:
    private void ViewReport_Click(object sender, EventArgs e)
        rptClientDoc = rpt.ReportClientDocument;
        //crystalReportViewer1.ShowProgressAnimation(false);
        crystalReportViewer1.ShowGroupTreeButton = false;
        crystalReportViewer1.EnableDrillDown = false;
        //rpt.Refresh();
        crystalReportViewer1.ReportSource = rpt;
        // next line causes a delay due to the engine having to go to the last page.
        //rpt.FormatEngine.GetLastPageNumber(new ReportPageRequestContext());
    // set up the format export types:
    int myFOpts = (int)(
        CrystalDecisions.Shared.ViewerExportFormats.RptFormat |
        CrystalDecisions.Shared.ViewerExportFormats.PdfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RptrFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat |
        CrystalDecisions.Shared.ViewerExportFormats.CsvFormat |
        CrystalDecisions.Shared.ViewerExportFormats.EditableRtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.WordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XmlFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat);
        //CrystalDecisions.Shared.ViewerExportFormats.NoFormat); // show no export types
        //int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
    crystalReportViewer1.AllowedExportFormats = myFOpts;
    Only change is the Excel Export formats have changed, and no option to use the old Excel types available in CR 8.5. Search Kbase for Exporting to Excel, there is a great article on how to optimize your reports for best output.
    Don

  • 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();

  • 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

  • Date data from Crystal Report one day less than Date from Source

    Hi,
    I am creating a Crystal Report 4.0 for Enterprise Users (Client Version only) based on a BEx query. I have a field called 'Date' that I am bringing over from the BEx query. It has a format of MM/DD/YYYY. When I view the 'Date' in Crystal Reports, it is displaying as 1 day less from the actual data. For example, in the BEx Query, 'Date' = 11/01/2011.  In Crystal Reports, it is showing up as 10/31/2011, which is one day behind.  I'm not sure what's going on.
    Please help!

    Well, this is as weird as it gets!
    Here are the observations on SP02:
    1) The Date Characteristic is a day off in the report while the 'Key' shows correct date
    2) It displays in the '30.01.2011' (DD.MM.YYYY)format
    3) When you right-click this field to change the date format, the date option is missing
    4) You create a formula to see if this is a date and it returns True. The formula you can try is :
    isdate(). It returns False for any other function like isnumeric() etc
    5) So, this is a date filed, or CR4E thinks this is a date field, however doesn't let us change the format
    6) You cannot use this field with date functions like cdate(); weird!
    7) The only way you can show it the way you want is to write this formula:
    *mid(,4,2)&"/"&left(,2)&"/"&Right(,4)*
    This is still a string field, however displays as MM/DD/YYYY.
    In Crystal Reports 2011, however, the following formula on the same date field returns a date value, meaning you can further right-click this formula field to change the date format like a normal date field:
    cdate(tonumber(Right(,4)),tonumber(mid(,4,2)),tonumber(left(,2)))*
    The same formula, however, throws a 'String is non-numeric error in CR4E and I found that it doesn't like this:
    *tonumber(Right(,4)) ; same error
    I've tried a lot of combinations to make this a date field in CR4E, however none works!
    So, the only option is to use the formula that I mentioned above.
    P.S: If you install Patch 2.10, you'll notice that the Characteristic value shows the correct date. For some reason though, it is in the same format as the 'Key' and if we wish to change the date format, the only possible workaround is to extract the numbers and join like I suggested above.
    Hope this helps!
    -Abhilash

  • Consuming a Web service from Crystal reports 2008 - Error

    Hi,
    I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
    "Invalid Argument Provided"
    Details: Cannot support ArrayType input parameters.
    Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
    Thanks,
    Jaya
    Edited by: jayakvr on Feb 17, 2011 10:47 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM

    This issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
    Thanks,
    Jaya

  • 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

  • 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

  • Bapi Function call from Crystal reports 2008. import parameters syntax.

    Dear,
    I have an issue with calling a function directly from Crystal reports (2008) in the R3 system.
    (if this belongs in another thread , please add the link if moved !)
    I try to get data through function "BAPI_CLASS_GET_CLASSIFICATIONS".
    Till now all possible input parameters have no data-result.
    I already read other threads stating that 'for example' the Language key needs to be provided in a single character. 'E' in stead of 'EN'.
    I also already created a Z-wrap-function that fills out all input parameters 'hardcoded'. This works.
    clearly there are som syntax changes in passing the values to R3 when called from Crystal Reports.
    Can someone state which syntax has to be followed for numeric fields, for datefields etc. (so when i make these dynamical, I know which syntax should be the outcome of the formula)
    in my function that doesn't work I use these selections:
    (this function is called in a standard report only calling this function)
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_ISO} = "E" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_INT} = "E" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSNUM} = "DSWTEST" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSTYPE} = "001" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_KEY_DATE} = Date (2011, 08, 05)
    I already tried other languages or the 'EN' as input.
    (I would like to know how the date is passed exaclty to R3.)
    The function is of course RFC enabled.
    when I call the my Z-function with predefined inputparameters in R3 it does give the wanted result.
    FUNCTION ZBAPI_CLASS_GET_CLASSIFICATION.
    ""Local Interface:
    *"  TABLES
    *"      OBJECT_CLASSIFICATION STRUCTURE  BAPI_OBJECT_VALUES
    *"      CLASS_OBJECTS STRUCTURE  BAPI_CLASS_OBJECTS
    data ZOBJECT_CLASSIFICATION type TABLE OF BAPI_OBJECT_VALUES.
    data ZCLASS_OBJECTS  type TABLE OF BAPI_CLASS_OBJECTS WITH HEADER LINE.
    ZCLASS_OBJECTS-OBJECT_KEY = '000000000000000085'.
    ZCLASS_OBJECTS-OBJECT_TYPE = 'MARA'.
    Append ZCLASS_OBJECTS.
    CALL FUNCTION 'BAPI_CLASS_GET_CLASSIFICATIONS'
      EXPORTING
        CLASSTYPE                    = '001'
        CLASSNUM                     = 'DSWTEST'
    *   KEY_DATE                     = SY-DATUM
    *   LANGU_ISO                    =
    *   LANGU_INT                    =
    *   CHARACTS_OF_CLASS_ONLY       =
    * IMPORTING
    *   RETURN                       =
      TABLES
        OBJECT_CLASSIFICATION        = ZOBJECT_CLASSIFICATION
        CLASS_OBJECTS                = ZCLASS_OBJECTS
    OBJECT_CLASSIFICATION[] = ZOBJECT_CLASSIFICATION[].
    ENDFUNCTION.
    please advise.
    once again if this should be moved to another forum , add the link please!

    Dear,
    I just debugged my Z-function, after adding all input parameters as in the standard BAPI function.
    All parameters seems to be passed correctly except from the table parameters from
    CLASS_OBJECTS
    So all I_parameters are passed :
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_INT} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_ISO} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_KEY_DATE} = Date (2011, 08, 05) and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSNUM} = "DSWTEST" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSTYPE} = "001" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CHARACTS_OF_CLASS_ONLY.BAPIFLAG} = ""
    but the table parameters aren't coming through:
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    these are 'blanco' in the function.
    also after the function is executed and all data is retrieved, when passing the data back to Crystal reports, once again, the table result isn't passed to Crystal Reports.
    please advise

Maybe you are looking for