Crystal Reports localization issue

Hi,
I am using Crystal Reports for .NET version 2005. Also, I am utilizing SQL Server 2005 as my database server. The problem is when I deploy applications in Spanish countries (maybe others, but did not try yet). The problem happens when dates are passed to SQL Server 2005, but only through Crystal Report engine.
I guess the question is if there is special need to localize crystal report setup?
Thanks in advance
Amer Gerzic
Infinity Software Solutions

David,
Thanks a lot for reply!
Here is the code that I use:
                    MachineProductionReport report = new MachineProductionReport();
                    SetReportLogOnInfo(report);
                    ParameterDiscreteValue discreteValue1 = new ParameterDiscreteValue();
                    discreteValue1.Value = dlg.MachineID; <- this has type String
                    report.ParameterFields["@machine_id"].CurrentValues.Add(discreteValue1);
                    report.DataDefinition.ParameterFields["@machine_id"].ApplyCurrentValues(report.ParameterFields["@machine_id"].CurrentValues);
                    ParameterDiscreteValue discreteValue2 = new ParameterDiscreteValue();
                    discreteValue2.Value = dlg.StartDate; <- this has type DateTime
                    report.ParameterFields["@start_date"].CurrentValues.Add(discreteValue2);
                    report.DataDefinition.ParameterFields["@start_date"].ApplyCurrentValues(report.ParameterFields["@start_date"].CurrentValues);
                    ParameterDiscreteValue discreteValue3 = new ParameterDiscreteValue();
                    discreteValue3.Value = dlg.EndDate; // <- this has type DateTime
                    report.ParameterFields["@end_date"].CurrentValues.Add(discreteValue3);
                    report.DataDefinition.ParameterFields["@end_date"].ApplyCurrentValues(report.ParameterFields["@end_date"].CurrentValues);
                    MainReportViewer.ReportSource = report;
The issue is that it works fine in US, but not in Chile ... Everything else works though (passing string, int, etc.)
Thanks in advance!
Amer

Similar Messages

  • SAP tab in Crystal Reports 2013 issue

    We are using SAP Crystal Reports 2013 SP3 to build reports on BEX queries (BW 7.2). Creating a report via 'File' --> New connection --> BW MDX driver works fine, I can select bex queries & cubes and see the data. However SAP provided tab 'SAP' does not work as expected. When adding a new bex query using SAP--> Create new report from a query, I can see the list of queries and select one but it does not open and throws the following error -
    "An error occurred while generating a new report templete.
    No error"
    Using the "File" option any change to the .rpt file forces BO admin to update "DB logon" information in CMC (currently i cannot save .rpt file directly on enterprise from Crystal client due to some issue)  and we want to avoid this kind of maintainence using SAP authentication provided by using SAP tab, also the Crysal report prompts when run from BI launch pad request for prompt values twice (once for the report and once to pull list of values for each prompt) which can be avoided using SAP tab. I thought access to dev BW server is fine since the "File" tab works fine. Our BASIS team confirmed BOBJ dev servers have access to BW gateway. Am I missing something here, please help me with your experience and ideas to troubleshoot this as the only solution i could google was from a 2012 SAP recommended article to fix reginfo configuration files on SAP server
    I reinstalled Crystal Reports client twice to make sure intallation was not the issue.
    Thanks
    GORO.

    Hi Abhilash,
    Thanks for your response.
    Yes reports are working in CR 2013 designer.
    Getting Alignment and long spaces between the paragraphs issues even though report has properly designed on designer.
    After exporting to pdf getting above errors...
    -Srinivas

  • Crystal report font issue when rendered as PDF

    Hi we are experiencing an issue with custom fonts within Crystal reports.  The font is an open type font that does appear to work if the report is viewed as a crystal report, but when it is rendered or scheduled into a PDF instance it fails and gives a Crystal Reports: Print Engine Error when using openDocument and scheduling gives exporter error. Any help or feedback is appreciated

    Aaron,
    OpenType is not supported for PDF at least in:
    Crystal 10
    https://service.sap.com/sap/support/notes/1218086
    XIR2
    https://service.sap.com/sap/support/notes/1219411
    The ADAPT indicated has been postponed.
    I canu2019t find an official statement for XI 3.1, however, there is a test you can run and itu2019s to delete the Opentype font from the server and use the same font name but TTF instead.  At least, this behaviour has been reported here:
    https://service.sap.com/sap/support/notes/1303394
    Regards,
    Julian

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • B1 8.8 crystal report publishing issue

    upgraded to 8.8 last night from b1 2007
    have crystal reports that were working with the old CR reports addon for B1 version 2007.
    I imported the same crystal reports into 8.8 using the report and layout manager.
    When I go to run the report, the input parameters that are displayed are incorrect.
    There report has 4 parameters in the report designer, 8.8 displays 11 input parameters. 4 of them have not title.
    these reports are complex- mutliple sub reports populated by stored procedures, with all the parameter linked together, through crystal linking wizard.
    let me reiterate: these reports worked fine in the old CR reports addon for b1 version 2007.
    I even looked through the online training- I couldn't find a section pertaining to linking a crystal report into B1.

    There is a large document relating to writing Crystal reports for 8.8. Check the documentation section under the 8.8 landing page.
    Not all reports are easily imported between versions. There is a different method of creating parameters called SAP tokens, not always required. The use of views and commands does not easily translate between versions.
    I have come across an issue with using optional parameters but it only seems to apply to some reports & not others, but it is with SAP Development.

  • Crystal reports 2013 issue

    Hi Experts,
    We have directly migrated from Crystal Reports 2008 to CR 2013. Source is ECC and we have around 80 reports (Agreement reports include formulas)
    after migration, some reports are unable to open and some reports are not displaying proper alignment also formatting is missing in report output.
    Unable to print the reports.
    To resolve this i have tried with multiple browsers (Mozilla Firefox ESR 31.x and Microsoft IE 11), Using Java 7, Enabled compatibility viw mode as mentioned in this kba 1902055...
    Kindly suggest me any solution for this..
    Is it suggestible that two step migration to resolve this , Again migration from CR 2008 to 2011 and then 2013?
    Thank you
    Srinivas

    Hi Abhilash,
    Thanks for your response.
    Yes reports are working in CR 2013 designer.
    Getting Alignment and long spaces between the paragraphs issues even though report has properly designed on designer.
    After exporting to pdf getting above errors...
    -Srinivas

  • IE11 and Crystal Reports Viewer issue

    We have a Delphi application which launches Crystal Reports through a Java Web Module.  The Delphi application gives users the option to view a single report or multiple reports (Crystal Reports).  In previous versions of IE, everything worked fine.   However, when we launch multiple reports in IE11, the first report loads properly but the other reports do not open the report in the new window.  It opens our home page.  So, first pop-up window shows the report1 without issues.  Other pop-up windows for report2 – reportN, shows our home page instead of the requested report.   Is there a fix for this issue?

    Hi, 
    This is SAP Business one reporting and printing forum.
    Please find correct forum and repost above query to get quick assistance. 
    Please close this thread here with helpful answer. 
    Thanks
    Nithi

  • Possible Crystal Reports Underline Issue?

    As posted here by Ryan Durkin
    http://forums.msdn.microsoft.com/en-US/vscrystalreports/thread/f2b7317f-a83b-43fa-99e9-21e7434830db
    This problem has been bugging me for ages and I just can't figure out why it is happening. I have created a Crystal report in Visual Studio 2005 using Crystal Reports for Visual Studio 2005. I have underlined the Group Header Name and set it to "Can Grow = true" but spaces appear beteween the words:
    e.g. Part 1 - Work undertakend from 5 November 2003 up to 31 December 2003
    If i change Can Grow = false then the spaces disappear but obviously the text is cut off:
    e.g. Part 1 - Work undertakend from 5 November 2003 up to 31 Dece
    Just to confuse things even more, If you export the report to PDF or Word with Can Grow = true then the spaces disappear?? This seems to only be an issue when previewing the report with Cystal Report Viewer on a form. This means that the end user cannot directly print from the preview and they have to export it to file and then print the report.
    Edited by: neon primetime on Jul 21, 2008 8:18 PM ... to show the underlining

    Hi Neon,
    After getting  Ludek's suggestion I tried a report created with SQL2000's Pubs database and increased the Author's filed to 35 characters.
    In the designer I right-clicked on the field in details section -> Format object  and checked the can grow option.
    I can see the report with extended (35 characters) in aspx window.
    No sp applied in this environment!
    So, can you please try the above steps and let us know if it helps!
    AG.

  • Crystal Reports logon issue across firewall - Transport error:communication

    Hi,
    We are facing an error when we try to logon to the BO server using the crystal reports tool (Crystal Reports Enterprise XI Release 2 ) outside the firewall. The login is working fine when inside the firewall. The BO server is on a unix box within the customer network and we are trying to login from a PC (using Crystal Reports Enterprise XI Release 2) which is outside that network. The following are the errors we get when trying to logon using authentication as "Enterprise" and system name as "fully qualified server name:6400"
    1. Without including any IP addresses in the PC host file we get "Transport error:communication failure" on login.
    2. When I included the IP and name of the BO server in the PC host file (xx.xx.xx.xx host name) we get an error - "CMS host 'xxxx' address was resolved properly,but cannot be reached to establish a CMS connection.Verify your router/firewall allows communication on port 6400."
    (The IP address I include in the PC host file is the actual IP address of the BO server)
    3. I know we have natted IP addresses.. and the IP address of the BO server appears to be different when I do a ping to the BO server from outside the customer network i.e from the external PC. When I include the IP address in the host file (which I get from the ping <servername> outside the customer network from my PC) I get "Transport error:communication failure".
    The port 6400 has been opened in the firewall. We are able to login to the CMC link and the Info view without any issues.
    It will be great to get some advise on this as it has become a high priority issue in our workspace now.
    Thanks,
    Reeti

    Hi All,
    I had a breakthrough in logging to BOX1R2 Crystal Reports client outside the firewall. The following was done in our case:
    1. Open the port 6400 on the server to allow traffic from outside the firewall.
    2. Add the following command at the end in the cmsLAUNCH command line in ccm.config (ours is a BO server on Sun OS)
    -port FQDN:6400 -requestport XXXX
    The -port parameter was explicitly specified to make CMS explicitly listen on port 6400.
    The -requestport parameter was added to configure the server to register a fixed port (which has external access) with the CMS rather than letting it choose a dynamically selected one...so XXXX can be any port which is not allocated to any app and is also open in the firewall)
    Thanks,
    Reeti

  • Crystal Reports Installation Issue (Error 1904/ HRESULT -2147024769)

    Hi,
    While installing Crystal Reports 2008 -trial version on Windows-xp I am getting the following error:
    "Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportSourceBridge.dll failed to register. HRESULT -2147024769. Contact your support personnel."
    Integration Kit for SAP has not yet been installed. But Business Objects XI3.1 Client Tools are installed.
    Crystal Reports version is 12.0.0.86.
    Is it an compatibility issue or other problem? What is the resolution? Are there any Fix Pack available? Any alternative approach that works?
    Any suggestions on this are welcome.
    Regards,
    Amogh

    Hello,
    Download Crystal Reports 3.1. It should be version 12.1.0.xxx. It may be the order you are installing also, Install CR first and then the other parts.
    1904 is a MSIExec error code. Typically it's due to outdated Microsoft installer or permissions and/or network speed or.... Be sure you are logged in as the local PC administrator or have the same rights as. Copy the installer to your local hard drive and run the setup.exe by right clicking on it and selecting Run as Administrator...
    Here's a link for the full build of SP1: https://smpdl.sap-ag.de/~sapidp/012002523100006556612009E/cr2008v1win_rf.exe
    Thank you
    Don

  • Crystal reports prompt issue

    Hi  All,
    I had created the simple crystal report by connecting to  bex query (with prompts).
    For example in my  crystal  report ,circle prompt  as below list of values
    Values                                  Description
    [YPES_AREA].[ANPR]     Andhra Pradesh Circle
    [YPES_AREA].[ASSM]     Assam
    [YPES_AREA].[BIAR]     Bihar
    [YPES_AREA].[CHAI]     Chennai
    [YPES_AREA].[CHRH]     Chattisgarh
    [YPES_AREA].[CORP]     Corporate
    [YPES_AREA].[DLHI]     Delhi & NCRs Circle
    [YPES_AREA].[EAST]     East Region
    At the time of preview,user can select the above list of  value ,so that the corresponding  prompt value need to display in the report.
    Here i want to known,when user select the "Assam" circle in the above list of values,prompt value is showing as "[YPES_AREA].[ASSM]" but i want to show it as a description instead of technical name.
    please suggest me is it possible or not?
    Regards,
    Vinay

    Unfortunately the "description" is only available in the LoV and cannot be accessed for use on the report (I believe there is an Idea Place suggestion concerning this very issue...) but there are work arounds.
    If the LoV is a static list it's fairly easy. Just use the following formula:
    IF {?ParameterName} = "YPES_AREA.ANPR" THEN "Andhra Pradesh Circle" ELSE
    IF {?ParameterName} = "YPES_AREA.ASSM"THEN "Assam" ELSE
    IF {?ParameterName} = "YPES_AREA.BIAR" THEN "Bihar" ELSE
    IF {?ParameterName} = "YPES_AREA.CHAI" THEN "Chennai" ELSE
    IF {?ParameterName} = "YPES_AREA.CHRH" THEN "Chattisgarh" ELSE
    IF {?ParameterName} = "YPES_AREA.CORP" THEN "Corporate" ELSE
    IF {?ParameterName} = "YPES_AREA.DLHI" THEN "Delhi & NCRs Circle" ELSE
    IF {?ParameterName} = "YPES_AREA.EAST" THEN "East Region"
    If your LoVs are dynamic it's a little trickier... and I've never tried it using a data warehouse...
    but I've always done it using a separate SQL Command. Something along these lines
    SELECT
    FieldUsedInTheDescription
    FROM TableName
    WHERE FieldUsedAsTheValue  = {?Parameter}
    Still pretty simple as long as the parameter only accepts a single value.
    If the parameter accepts multiple values you need to use a sub-report.
    HTH,
    Jason

  • Crystal Reports Loading Issue

    Hello all - any thoughts on this would be appreciated.
    I have loaded Crystal reports designer onto 3 users machines and am unable to export any reports to pdf.  There is a Salesforce.com fix pack that I have loaded for my version of crystal designer, but I am unable to load it on these useru2019s machines.  They get an error message saying that they are running an older version of Crystal Designer and it cancels the download.  Is there a new fixpack out there for Salesforce or any known issues with connections?
    Thank you.

    It would be handy to know what version of Crystal Reports you are using? Click on Help About... for the info
    Thank you
    Don

  • Crystal reports hierarchy issue

    Hello Experts,
    I am working on crystal reports 2008 on top of BW queries, I have product hierearchy untill 5levels.
    But in crystal i cannot see all the detail attributes of hierarchy, meaning,  i cannot see product key and medium name for level3,level4 and level5.I have built universe using same bw query, i can see L02,L03,L04,L05 levels material key and material medium name.
    Please let me know if i am missing any patches from BW side.
    Thanks.

    Hello Ingo,
    Thanks for reply, my issue is in the crystal reports field explorer , i am unable to see all the attributes of the hierarchies, example for level 3,level 4,level5 i am unable to see all attributes like key and medium name.
    Thanks.

  • Seeting Custom Page in Crystal Report 2008 Issue

    We were using crystal report from a long time, our application uses crystal report (version 11 & 12)  & Visual Studio (VS 2008) I am using a separate crystal report 12 not the version coming with VS 2008. and recently we upgrade our application from VS 2005 to VS 2008 and upgrade crystal report from 11 to 12, The problem is we print a report in a custom page (height 20.40 cm  , width 38.10 cm) we use a dot matrix printer Epson LQ 2090 and the page orientation is portrait  and the report prints fine In crystal report 11 without any issues, but after we upgrade to crystal report 12 we are unable to get the printout in portrait even we save the crystal report page with the custom page still it?s prints in landscape. 
    The issue is in crystal report page setup when we select landscape  the horizontal  = 38.10 cm & vertical = 20.40 cm but since I print the report portrait when I change it portrait the values change into Horizontal = 20.40 & vertical = 38.10 but that?s not needed because our printer & the page is capable of printing 38.10 cm wide and 20.40 height , I don?t understand why the values get change when we change the page orientation it didn?t happen in crystal report 11.

    Hi, Rodney;
    I believe there was a known issue in the released version of CR 2008. Install the Service Pack 0 for CR 2008, that should take care of the issue.
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    Regards,
    Jonathan

  • Crystal Report - Parameter issue (advanced dialog box)

    In our wpf .net application we view the crystal report, the report prompts for entering 2 parameter values i.e 2 dates and inturn these parameters will be used to generate the crystal report.
    The parameter panel on the left has a button (show advanced dialog box). This button should again invoke the same parameter prompt dialog box, so that the user can modify these parameters and the report can be regenerated.
    Issue is that when I click on the the button, this generates a null reference exception in the code. The call stack is -
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowAdvancedDialog(ParameterUnit pu)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.pu_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.OnShowAvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.editControl_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.OnShowAdvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.btnShowAdvancedDialog_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Please note, I used the .net reflector to debug the crystal report dll , the isDCP method looks like -
    public bool isDCP
          get
            return (this.Attributes.Contains("IsDCP") && ((bool) this.Attributes["IsDCP"]));
    Looks like the attributes value is null.
    Please let me know your comments. Am I missing something while getting the report in the frontend.
    I use crystal reports 2008 sp 2 (also note that my gac contains different version of crystal reports (cannot remove them - tried it) , with windows server 2003. I use web service with proxy to get the report from the local server.
    Note I also tried to create sample application in which I specify the local path to reports source , this works. However when I tried to use webservice, i was getting soap exception.
    Please let me know how solve above issue

    So you found the Report Design forum, if you looked down one more you would have found the SDK forum, SDK stands for Software Development Kit if you did not know.
    Or did you not mention you get the same error when you run this report in CR Designer, if so then you were in the right forum.
    Try Service Pack 3 also
    Move to the SDK forums.

Maybe you are looking for