Regarding LOV's in Crystal Reports- Business View

Post Author: crystalappu
CA Forum: General
Hi All, I have developed a Business View for our crystal reports, We have like two levels of cascading prompting. In which the user can select ALL option in drop down LOV's in second level. I have added an 'all' object using command object in Business View. But when my Crystal report Developer is accesing my LOV prompt Group he is unable to see ALL in drop down LOV. But when i browse field in my command object i can see my 'ALL' object in it. Any idea upon this?

Post Author: synapsevampire
CA Forum: General
Perhaps you should post an example or explain using technical information how you added this command object?
Did you use a UNION ALL?
-k

Similar Messages

  • Error Crystal report When viewed through SAP B1

    Dear Experts
    SAP B1 8.8 PL 16,SQL 2008
    I am facing error (Unable to retrive data from database)(Vendor code-156) while accessing Crystal report from client machine throgh SAP B1.I have imported Crystal report through manage layout.The crystal reported is in shared in SAP server B1 SHR folder.I am able to access data from crystal report when viewed otherwise.When accessed crsytal report through SAP b1 on SAP Server crystal report is working fine.
    Thanks & Regrds
    Saurabh Lamba

    Hi Saurabh Lamba,
    Go To Administration / System Initialisation / Authorisation / General Authorisation & Set Authorisation for user.
    If you have to Set Authorisation for user allready then follow this steps.
    1.Restore Database as Test Company.
    2.Export Report From Live Company.
    3.Import this Report in Test Company as different name.
    4.Export Report from Test Company have you Imported as deifferent name.
    5.Again Import this Report in Live company as different name
    I don't know what's the logic behind it.
    Thanks,
    Srujal Patel

  • Barcode not displaying/printing in Crystal Report java viewer

    We have written a Crystal report (in Developer XI release 2 with service pack 4 installed) which produces barcode labels.  The barcodes are Code 39 barcodes and are generated by printing the string \*data_field\* in a Code 39 barcode font.  The asterisk is the character used for the Code 39 start/stop sequence in the barcode font.
    In Developer everything works fine and prints out and scans correctly. When we make the report available to our end users in the Crystal Reports java viewer all we get where the barcode should appear is white space on screen or when we print.  (The rest of the report behaves correctly). 
    We have tried a few things and have found that if both asterisks or the starting or ending asterisk is left in a different font (i.e. not the barcode font) then the rest of the string displays and prints in the barcode font.  (unfortunately without bot asterisks you don't get a scanable barcode).
    Has anyone got any suggestions on how to fix this?
    (In case it might be relevant the barcode font we are using is this one: http://www.barcodesinc.com/free-barcode-font/)
    Thanks
    Trevor

    Hello Ludek,
                    I have found that the issue is caused by the bold attributes of my field.
                    You can try the following and you should encounter the same issue:
                                    - Create a Report
                                    - Create a formula with many characters
                                    - Put you field in Times New Roman bold 8.
                    The following Font Size in  Times New Roman are in issue: 5 u2013 8 u2013 11- 14
                    The following Font Size in  Arial are in issue: 8 u2013 11 u2013 12 u2013 14
    Thank you.
    Charles
    Edited by: Charles Gagnon on May 2, 2011 5:38 PM

  • Crystal Report Activex Viewer Control

    <p>&#160;</p><p>Our users are prompted to download: Crystal Report Activex Viewer Control -- when trying to view reports. Since they do not have Admin rights on their PC, they are unable to install this Activex Control. Is there a setup file available someplace that can deployed to the user&#39;s pc that would intsall the activex control?</p><p>Any help would be appreciated.</p><p> Thanks,</p><p>Anupam</p>

    http://support.businessobjects.com/communitycs/technicalpapers/cr_troubleshooting_activex_viewer.pdf
    says
    bq.
    Manual installation
    To manually install the ActiveX Viewer on the client computer:
    1. Copy the ActiveXViewer.cab file from the server to the client computer, and extract its contents to a temporary folder.
    2. Move the files Crviewer.dll, Crviewer9.dll, Sviewhlp.dll, and Swebrs.dll to the System32 folder. Keep this folder visible.
    3. On the Start menu, click Run. The Run dialog box appears.
    4. In the Open box, type âu20ACu0153regsvr32âu20AC and then drag and drop the Crviewer.dll file icon from the System32 folder onto the Run dialog box.
    5. Click OK.
    6. Repeat steps 3 and 4 for the files Crviewer9.dll, Sviewhlp.dll, and Swebrs.dll.
    But I haven't tried it myself yet. I have so much crystal stuff on my PC. I'm going to set up a virtual PC that has never had crystal and see if it works.

  • Crystal Reports 2008 viewer, print function, Comunication error

    I installed cr2008 on a web server and isntalled sp0
    if I bring up a reprot in smartviewer from a client it works and I can print
    once I installed sp1, sp2 and or sp3 for crystal reports 2008 the print button in crystal reports viewer gives an error when I click the print button.
    If I remove and re-isntall cr2008 and just installed sp0 the print button works again
    Is there a fix to make the print button work in crystal reports smart viewer once sp1 or above have been installed
    thank you
    ted

    Translating the error message on bablefish I get:
    Mistake with the store of the data bank information. Mistake in the file Report {C6512421-348A-4621-B1ED-895D28646A0A} .rpt
    Which I'm sure is not 100% accurate, but it gives a good hint. As well, because of this:
    "Do I need to install an additional / diffrent runtime than 2008 Runtime"
    I wonder how you installed the CR 12 runtime on that computer? For more info on CR runtimes, see [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    If my suggestion above does not help, make sure the Win\temp directory can be accessed buy the application. Crystal Reports runtime needs to write and read files from the temp directory.
    Ludek

  • Parenthesis in a parameter throws error in Crystal Reports Web Viewer.

    The application that I am working on is passing a parameter which contains user data like section numbers....
    So when we pass the value 123.1(a) , here what is happening behind the scene of CR viewer
    webSource0.AddParameter "promptex-NAMEOFPARAMETER", "123.1%28a%29"
    and it throws up the following error
    "The syntax of the value for prompt 'NAMEOFPARAMETER' is incorrect. Please correct the syntax and try again"
    I have no idea why it is throwing up this errror.... and we cannot avoid parenthesis.
    It works without any error in the actual crystal report developer.
    Is this some kind of bug or is there any workaround for this.
    Version that I have:
    Crystal Report web Viewer Control 11.5
    Crystal Developer 11.0.0.1282
    Thank you,
    Xavier

    I figured out the answer. It was the ASCII notation for double qoutes which was confusing crystal.
    %22 is the ASCII for ", but it is then converted to %2522 which confuses crystal
    so I used HTML notation for  double quote instead of %22 and is converted to %22 , and it works fine.
    Thanks for the help anyways
    Edited by: xavier on Dec 18, 2008 4:03 PM

  • Cannot load report from server in Crystal Reports 2013 Viewer

    Hello,
    I am having trouble opening a report that is hosted on a Crystal Reports Server (2013) from the Crystal Viewer.  I've created and uploaded the reports using the report designer (version 2013).  The reports have been uploaded using the "Save As -> Enterprise" to save to my enterprise server.  This part works fine.  I then navigated to the Crystal Reports Viewer to open my report (that I just uploaded w/ the designer) from the server.  Depending on the report, one of two things happens:
    1.) I get a loading bar at the bottom right of the screen that says "Operation in progress . . ." followed by an error message:
    Unable to Refresh Report
    A problem occurred while refreshing on the server. The report may not be configured properly for refresh.
    Please contact your server administrator. (me)
    2.) I get a loading bar at the bottom right of the screen that says "Refreshing <file name of the report> (<server name>)" followed by... nothing.  The loading bar goes away and nothing happens.  It goes back to the screen that shows when the application first loads (blank canvas).
    I've taken some basic troubleshooting steps to try and rule out any potential issues that came to mind, but I've not been successful.
    Any help would be appreciated, thanks!

    Hi
    Check the below thread
    Crystal Reports 2013 data didn't refresh using OLE DB Provider for SQL Server
    With Regards
    Balaji Sampath

  • Geographical Map does not show up in Crystal Reports 2008 Viewer

    Hi,
    I'm facing a problem by creating maps with CR2008 SP2. If I export the report directly to an pdf or html file the map is shown properly. If I'm using the CR 2008 Viewer to open the .rtp file there's an error message like 'not supported object: geographical map'.
    Anyone else facing such problems?
    Thanks for help,
    Carsten

    Hi,
    Welcome to MSDN.
    I am afraid that this issue is related to third-party, and it is not supported in these forums.
    You could consider posting this issue in website of the publisher of that tool: http://scn.sap.com/community/crystal-reports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal reports / business objects - RAS timeout issue

    Hi,
    I am experiencing a problem in my Java application in viewing a report generated by Crystal Report. Let me start off by saying I'm not entirely sure that the problem is with Weblogic, but at the moment it seems likely to be.
    The Java app uses the RAS in Business Objects to get/display a report. There is a timeout setting on the RAS server and once this has elapsed, the next request from the Java web app causes a timeout error. Code in the Java app handles the timeout and makes a new connection to the RAS and displays the report (the error and re-connection is all seamless to the end user).
    This was all working fine until recently when the server was upgraded from Windows 2000 to Windows 2003. Now when the Java app makes a request after the timeout has elapsed there is no error returned and instead the process continues and a blank page is shown on the web page.
    On the Business Objects side of things, one of the log files states a "received invalid request" message which seems to indicate the Java app is sending it something unrecognisable. So my question is, are there any known issues with Weblogic server under Windows 2003 that could be causing this problem? I'm running version 8.1 SP3.
    Since the problem has arose I've tested the Java app on a Windows 2000 and Windows XP environment (both 8.1 SP3) and the timeout occurrance and handling works as expected. I've raised a support request with Business Objects but from previous experience I know they will take a while to respond. So any help about this from you guys will be much appreciated.

    Hi,
    I am experiencing a problem in my Java application in viewing a report generated by Crystal Report. Let me start off by saying I'm not entirely sure that the problem is with Weblogic, but at the moment it seems likely to be.
    The Java app uses the RAS in Business Objects to get/display a report. There is a timeout setting on the RAS server and once this has elapsed, the next request from the Java web app causes a timeout error. Code in the Java app handles the timeout and makes a new connection to the RAS and displays the report (the error and re-connection is all seamless to the end user).
    This was all working fine until recently when the server was upgraded from Windows 2000 to Windows 2003. Now when the Java app makes a request after the timeout has elapsed there is no error returned and instead the process continues and a blank page is shown on the web page.
    On the Business Objects side of things, one of the log files states a "received invalid request" message which seems to indicate the Java app is sending it something unrecognisable. So my question is, are there any known issues with Weblogic server under Windows 2003 that could be causing this problem? I'm running version 8.1 SP3.
    Since the problem has arose I've tested the Java app on a Windows 2000 and Windows XP environment (both 8.1 SP3) and the timeout occurrance and handling works as expected. I've raised a support request with Business Objects but from previous experience I know they will take a while to respond. So any help about this from you guys will be much appreciated.

  • Adding custom buttons to crystal reports html viewer

    Hello,
    I'm using crystal reports for eclipse and I have a time chart in my report that is displayed with html viewer. I need a button bar to navigate on this chart e.g. the button which adds values to chart for the next month.
    Is it possible to add custom buttons to the button bar of crystal reports viewer ?
    Thanks in advance.
    Greetings,
    Nikolas

    Dear Shashidhar,
    regarding your request I have to inform you that the ECL Viewer is developed by a third-party vendor company and so from SAP point of view there is no chance to enlarge the buttons for redlining in the ECL Viewer.
    Best regards,
    Christoph

  • Crystal Reports and Viewer using Parameters

    I am using Crystal Reports 2008 to create a simple purchase order report from our Sap system.
    I have created a parameter that is a static date value for people to enter when they launch the report.
    When I  refresh the data in Crystal Reports 2008 I receive a prompt asking for the date to be entered.
    However when I run this saved report in the Crystal Reports viewer it does not prompt for a date to be entered and the Change button is greyed out.
    Any assistance would be appreciated.
    Regards
    Dave Ainsworth

    Hi Ashok
    Thanks for your assistance, I have tried this approach and when I open the report in the Viewer it reports an error.  "No saved data in this report".
    I have then ran the same report in an older version of the viewer (In help about it says Pinnacle) and the report asks for the date range to be entered.
    The problem seems to be with the Crystal Reports Viewer and not the report.
    The Viewer is version 12.2.0.r325
    Can you advise?
    Cheers
    Dave Ainsworth

  • Crystal Reports Web Viewer Control Error

    I have a very odd problem that I am trying to solve.  I was able to dumb the problem down to the Crystal Report Viewer control.  I am using the control in an web user control and using that control in a web page.  The problem is that when I use the control inside a web user control I get the following error:
    A string is required here. Details: errorKind Error in File Client_Info {D911348D-2CAA-49F8-B77D-1288E7D5ABA2}.rpt: Error in formula Project_Labor_Multiplier: 'if ' A string is required here. Details: errorKind
    However, when I use the control in the page itself I do not get that error.  I have tested the report via the design/preview in the VS IDE and it works fine.  I have about 30 reports and they all fail like this if they have a formula.  If they do not have a formula, they work fine.  They do not fail on my personal development machine, but they do fail on our test server.  So this is VERY hard to identify and fix. 
    All that I know is that the formula's are causing this.  They do not occur on my development machine (win7 64-bit) and they do occur on the the test server (winServer 64-bit)... but NOT when I put the Report Viewer control directly in a page and not in a user control.   
    Odd stuff.  Not sure what is going on here.  Why would nesting the viewer control in a web user control cause this?  This was migrated from an application written in 2005.  So maybe the RPT files from 2005 are causing this?
    Any thoughts as to what might cause such an odd effect on Windows Server?  
    Any suggestions or thoughts would be very much appreciated.  This one has me stumped.
    Best regards, 
    Jon

    Hello Jon
    Some thoughts on the issue:
    The error is thrown with a 64 bit runtime, but not 32bit.  Iu2019m guessing that on your development computer, you may be testing \ running from the .NET IDE. E.g.; Cassini, which runs in 32bit process. On the server we're running in a 64bit process.
    Since it is a formula throwing the error, I wonder if you are using any Crystal Reports User Function Libraries (UFL)? If these are compiled as 32 bit, they will fail when run in a 64 bit process. Or, these libraries must be deployed in addition to the normal CR runtime. Failing that will also cause formula errors.
    Are you able to run this app from IIS on your development computer as a 64 bit process (e.g.; HTTP, not Cassini or file system)?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Infoview Crystal Report History Viewing

    Not sure if this is the best forum for this question.
    I am using Crystal Report XI Server and have a report that has been published and scheduled to run everyday. The report has several formulas that make use of built in built functions; LastYearYTD, LastYearMTD, MonthToDate, YearToDate, etc.
    When looking at an historical instance it seems that the data is current, my understanding was that the data would be 'saved' and you would see the data at the point at which the instance was created.
    For example if I look at the instance for 12 Nov, the LastYearYTD figure is up to the current date, the MonthToDate Figure is Zero. It appears that the YearToDate figures are correct.
    If somebody could clarify the situation with regard history items and built in functions it would be appreciated.

    Sorry - if you are using the CRYSTAL REPORTS viewer in InfoView formulas for fields that use LastFullMonth etc are RE-CALCULATED in the viewer based on when you OPEN the report....
    Therefore, when you look at an Instance run on June 1st on June 1st the results are OK, but if you view the June 1st instance on October 1st the LastFullMonth values are ZERO.
    The bad news is that there is no way to get back into the "time machine" and recover those formulas as they appeared on June 1st.
    The good news is that you have some options moving forward.
    1.) Run the INSTANCES to PDF format, so that the formulas are not re-calculated on open in the Viewer.
    2.) Use hand-written formulas in your reports that are based on the DATADATE value (eg. DataDate - 30) instead of the LastFullMonth etc. when the reports open in the Crystal Viewer.

  • Export from Crystal Reports 2008 viewer fails if run on separate thread

    I have a windows desktop application written in Visual Basic using Visual Studio 2008.  I have installed and am trying Crystal Reports 2008 to run a report.  Everything seems to work well except that when I preview a report (using the viewer control) and click the export button found in the upper left corner of that control, I get the following message:
    Error 5: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.  Ensure that your Main function has STAThreadAttribute marked on it.  This exception is only raised if a debugger is attached to the process.
    I am a little confused on what to do exactly.  Is the problem because I am running in the Visual Studio 2008 IDE?  It says this exception is only raise if a debugger is attached to the process.  No, I tried running it outside the IDE.  The exception wasn't generated but the application hung when the button was clicked.
    It says the current thread must be set to single thread apartment (STA) mode.  If the report is run on its own thread, is the "current" thread the thread the report is running on or is the main application's UI thread?  I don't think I want to set my main application to single thread apartment mode because it is a multi-threaded application (although I really don't know for sure because I am new to multi-threaded programming). 
    My objective is to allow reports to run asynchronously so that the user can do other things while it is being generated.  Here is the code I use to do this:
        ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim backgroundProcess As System.ComponentModel.BackgroundWorker
            ' Start a new thread to run this report.
            backgroundProcess = New System.ComponentModel.BackgroundWorker
            Using (backgroundProcess)
                ' Wire the function we want to run to the 'do work' event.
                AddHandler backgroundProcess.DoWork, AddressOf PreviewReportAsynch_Start
                ' Kick off the report asynchronously and return control to the calling process
                backgroundProcess.RunWorkerAsync(sourceDatabase)
            End Using
        End Sub
        Private Sub PreviewReportAsynch_Start(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
            ' The source database needed to call preview report was passed as the only argument
            Call PreviewReport(CType(e.Argument, clsMainApplicationDatabase))
        End Sub
        ' Previews the report.  From the preview window, the user can print it.
        Public Function PreviewReport(ByVal sourceDatabase As clsMainApplicationDatabase) As FunctionEndedResult
            Dim errorBoxTitle As String
            Dim frmPreview As frmReportPreview
            ' Setup error handling
            errorBoxTitle = "Preview " & Name & " Report"
            PreviewReport = FunctionEndedResult.FAILURE
            On Error GoTo PreviewError
            ' Set up the crxReport object
            If InitializeReportProcess(sourceDatabase) <> FunctionEndedResult.SUCCESS Then
                GoTo PreviewExit
            End If
            ' Use the preview form to preview the report
            frmPreview = New frmReportPreview
            frmPreview.Report = crxReport
            frmPreview.ShowDialog()
            ' Save any settings that should persist from one run to the next
            Call SavePersistentSettings()
            ' If we got this far everything is OK.
            PreviewReport = FunctionEndedResult.SUCCESS
    PreviewExit:
            ' Do any cleanup work
            Call CleanupReportProcess(sourceDatabase)
            Exit Function
    PreviewError:
            ' Report error then exit gracefully
            ErrorBox(errorBoxTitle)
            Resume PreviewExit
        End Function
    The variable crxReport is of type ReportDocument and the windows form called 'frmPreview' has only 1 control, the crystal reports viewer. 
    The print button on the viewer works fine.  Just the export button is failing.  Any ideas?

    Hi Trevor.
    Thank you for the reply.  The report document is create on the main UI thread of my application.  The preview form is created and destroyed on the separate thread.  For reasons I won't get into, restructuring the code to move all the initialization stuff inside the preview form is not an option (OK, if you a really curious, I don't always preview a report, sometimes I print and/or export it directly which means the preview form isn't used).
    What I learned through some other research is that there are some things (like COM calls and evidently some OLE automation stuff) that cannot be run on a thread that uses the MTA threading model.   The export button probably uses some of this technology, thus the message stating that an STA threading model is required.  I restructured the code as follows to accomodate this requirement.  Here is a sample:
    ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim staThread As System.Threading.Thread
            ' Start the preview report function on a new thread
            staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep1)
            staThread.SetApartmentState(System.Threading.ApartmentState.MTA)
            staThread.Start(sourceDatabase)
        End Sub
        Private Sub PreviewReportAsynchStep1(ByVal sourceDatabase As Object)
            Dim staThread As System.Threading.Thread
            ' Initialize report preview.  This includes staging any data and configuring the
            ' crystal report document object for use by the crystal report viewer control.
            If InitializeReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase)) = FunctionEndedResult.SUCCESS Then
                ' Show the report to the user.  This must be done on an STA thread so we will
                ' start another of that type.  See description of PreviewReportAsynchStep2()
                staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep2)
                staThread.SetApartmentState(System.Threading.ApartmentState.STA)
                staThread.Start(mcrxReport)
                ' Wait for step 2 to finish.  This blocks the current thread, but this thread
                ' isn't the main UI thread and this thread has no UI anymore (the progress
                ' form was closed) so it won't matter that is it blocked.
                staThread.Join()
                ' Save any settings that should persist from one successful run to the next
                Call SavePersistentSettings()
            End If
            ' Release the crystal report
            Call CleanupReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase))
        End Sub
        ' The preview form must be launched on a thread that use the single-threaded apartment (STA) model.
        ' Threads use the multi-threaded apartment (MTA) model by default.  This is necessary to make the
        ' export and print buttons on the preview form work.  They do not work when running on a
        ' thread using MTA.
        Public Sub PreviewReportAsynchStep2(ByVal crxInitializedReport As Object)
            Dim frmPreview As frmReportPreview
            ' Use the preview form to preview the report.  The preview form contains the crystal reports viewer control.
            frmPreview = New frmReportPreview
            frmPreview.Report = DirectCast(crxInitializedReport, ReportDocument)
            frmPreview.ShowDialog()
        End Sub
    Thanks for your help!
    Andy

  • Link in Crystal report to view on Mobile or Ipad

    Dear Expert , 
    I created simple list of Purchase order  Pending approval report from draft table (ODRF).
    I want to create hyperlink in crystal report which should to go to approval list in mobile application.
    kindly let me know is it possible or not??
    Thanks and Regards ,
    Rajesh N

    Please see this thread SAP Mobile BI App - opendocument support for crystal report content that explains the KBA and limitations

Maybe you are looking for

  • Problem While Executing T.CODE DP90

    Hi,   We have Upgrade our system from 4.6C to ECC6.   We are facing following problem while executing Resource Related Billing request    Through Transaction code DP90. Process. 1.     We are creating Sales Order and system will create Service order

  • Unexpected DAG mailbox database failover

    Good evening I am running a three node Exchange 2013 server environment in a stretched DAG configuration. I have been experiencing a problem recently whereby failover is occurring unexpectedly. Below is a brief description of the environment. Site 1

  • Is there a keyboard shortcut to "Pin as App Tab"?

    Sometimes (mainly with a touchpad) moving the mouse cursor to the tab, right-clicking and choosing "Pin as App Tab" is a lot of work compared to just using a keyboard shortcut. Is there a keyboard shortcut to do this?

  • What could fix my speed issue?

    Hi Guys, I recently bought CS6 Production Premium on a Student Discount - I got a new laptop earlier this year with the intent to use it for lots of my editing, however lots of the time when I am editing either 1080i (the format our school cameras re

  • Iboostup is giving app corrupted please delete and download error, this doesnt work, their app says its an appstore problem..please can you help?

    iboostup says its corrupted and to reload fRom store, I have followed instructions deleted it and also tried to delete the file that the FAQ says also should be deletd - that cant be found and the redownloaded version still doesnt work, help please?