Crystal Reports XI does not allow to change Table to SQL command?

I have report that has Table in Datasource and this table used in report and all fileds are mapped. I need to change table to SQL Command with the same result set of collumns. When I try to Update in Set Datasource Location - it does not work. CR XI allow to update Command to table but Table to Command just do nothing.
What I have to do or how I can do it?

Alexander,
That's probably the "Best" way to do it, and long term you'll want to start adding BOE to your work flow.
If you want to get around it, here how:
1) MAKE A COPY OF YOUR REPORT AND WORK FROM THE COPY!!! This involves some a good deal of destruction before you get into reconstruction.
2) Once you have created your command, remove the table.
3) Now the fun part... Go through report and manually change all references to the 1st table...
   report fields
   formulas
   selection criteria
   groups
   the whole 9 yards...
A short cut for the future... If you make all of your formula copies of all of your fields ( fCustomerName = {Table.CustomerName} ) and then only use the formula version of the field in the reports, you can make these changes very easily. (All you have to do is update the one set of formulas.)
Also as a side note before you get started... You may want to think twice before you mix commands with tables. You loose the server side filtering and grouping on the tables when you do that.  So if you have several tables, you are better off doing the whole thing in one SQL command, do all of your filtering and sorting there and use it to replace ALL of your tables.
Basically, Graham's way is the easy way... Assuming you have access to the BOE.
Jason

Similar Messages

  • SAP 2007 upgrade - does not allow to change old documents

    We have recently upgrade to SAP 2007 from SAP 2005 and now it does not allow to change any of the old documents which was already in the system before upgrading.
    Error message
    Another user modified table [Message 131-183]
    It gives the same error even after restarting the SAP server where SQL is runing and in all the user accounts including manager.
    Thank You
    Sanjaya

    Hi,
    Check the Note No. : 1301335 regarding the issue mentioned by you.
    You probably need to get the issue investigated on the support side.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Crystal reports 2008  will not allow multiple exports in a row

    I recently had service pack 3 and fix pack 3.3 updated to my system ( crystal 2008) to help correct a issue with mapi not populating addresses from outlook when trying to export a report.  I have a new issue. - sort of???
    Now when I try to export multiple reports in a row I still have the same issue. I can send 1 report out. But if i try to send another report out i have the same issue that I had with  mapi not populating the addresses field from outlook.
    To get past this I shut down crystal and then bring it back up and I can send (ONE) report again before the same thing happens. Does anyone know if there is  fix for this issue?

    Im not sure I agree with you designation that this report should be in the report DESIGN forum.  I
    My problem has nothing to do with report design in my OP.  The MAPI function (in crystal reports itself) will not populate addresses once I export 1 report.  When I try to export a second report that is when it quits works.  This is basically the same problem that a hot fix or fix pack corrected but now instead of now working at all. I can only export 1 report before the same mapi issue happens????

  • Does not allow to change source system in Variant

    Hi Gurus,
    I am creating a variant for the program RSIMPCUST, but it does not allow me to change source system name. It is showing me gray color. Do you how to fix this issue ?.
    Thanks
    Liza

    Hello Liza,
    Did you try my solution?
    [Re: Change source system name in variant in BWQ]
    There are solutions to change variants properties, but that particular program has the logsys parameter not able to change, so you cannot change the value of that variant (only with debug).
    It's best to go for that solution I already provided to you...
    Diogo.

  • ITune does not allow to change file names

    greetings bros' since a couple days ago I notice that my iT does not allow me to edit the files and sometimes neither recognize new files or folders.
    Any clue why this??
    muchas gracias
    LAB

    Something else that may come in handy is this wonderful program and it is free, and no I don't own the company. It takes a bit of time to learn it, but worth the effort. You can edit tags for tracks one by one, or look them up in several databases, including Amazon and discogs, etc. I really like to pre-clean my tags before adding the files to my library since they often get scattered about, and depending on the source, may not even have track titles, only file names.
    Here is where to get this gem:
    http://www.mp3tag.de/en/

  • Quicktime does not allow to change video position from streamed video

    I just wanted to watch the newest Apple event stream. For many ears I have watched them typically from Mac as they works from there perfectly.
    Now I installed quicktime for Windows (without iTunes) and I watched 34 minutes from the event. Then suddenly the sound went off from the quicktime. I tought the system sound went and I checked the volume and other player and they worked fine.
    Then I tought it was about streaming problem and I allowed it to continue to 39 minutes. Then I tought I could scroll backward to position where the sound went off. But I couldn't at all. I can drag the position slider somewhere, but it always jump back to the place where it is streaming. When I stop mouse, it jumps back to current position. So if I keep mouse cursor moving and dragging same time the slider, it moves.
    Neither I can not start a video (any video, was they a trailers or Apple event videos) and jump to the known position to continue watching.
    So to me if I would now like to watch the latest presentation, I should watch first 40 minutes again. As I am not allowed to rewind to wanted position.
    I tried this on my laptop as well and I got exactly the same problem (the scrolling).
    Is it really so that Windows Quicktime does not allow rewind/forward functions at all on quicktime videos?
    Is there tweaks to get that possibility as I do not want to watch 40 minutes and be sharp when it comes so I can continue where I left and not miss the position and never could rewind back?

    QuickTime Pro does not allow to make video capture from desktop - only from camera. How can i solve this problem?
    Use the QT X.1 Player to capture desktop video. QT 7 Pro does not  and never has had this feature which was first introduced in the QT X.0 Player.

  • Crystal report viewer does not observe the PaperSize and PageOrientation setting

    Hi:
    My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server.
    The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinForm client, the Crystal Report viewer is used to load the .rpt file for preview and print.
    On server side I've Microsoft XPS Document Writer installed and set as default printer. On the client side if the default printer is XPS or Nitro PDF creator, the report can be view and print correctly, report design in landscape will be able to show in the landscape in CR viewer, report design using custom paper size (e.g. Half Letter), CR viewer able to show it in Half Letter.
    The problem that I'm facing is when the default printer is set to HP LaserJet P1120 or others (I've tried Epson ESC/P Standard driver), the report is always shown in the portrait, and it will not be able to show in custom paper size either. Here is my code:
         Dim settings As New System.Drawing.Printing.PrinterSettings
         Dim rep as New ReportDocument
         rep.Load(sOutputFileName)     'The report is download from server and save in sOutputFileName
         SetReportPaperSize(rep, sPaperSizeName, False, settings) ' sPaperSizeName store the name of the custom paper used in the report
         CrViewer.ReportSource = rep
       Public Shared Sub SetReportPaperSize(rep As ReportDocument, paperSizeName As String, isHardCopy As Boolean, settings As Printing.PrinterSettings)
          Dim installedPrinters As Printing.PrinterSettings.StringCollection = Printing.PrinterSettings.InstalledPrinters
          Dim printers As New List(Of String)
          Dim sPrinter As String
          If installedPrinters.Count = 0 Then
             Return
          End If
          SetPrinterDefaultPaperSize(rep.PrintOptions, paperSizeName, settings)
          With rep.PrintOptions
             .PrinterName = settings.PrinterName
             .PaperSource = PaperSource.Auto
             If paperSizeName.Trim.Length > 0 Then
                .PaperSize = DirectCast(GetPapersizeId(paperSizeName, settings, rep.PrintOptions.PaperSize), CrystalDecisions.Shared.PaperSize)
             End If
          End With
       End Sub
       Public Shared Sub SetPrinterDefaultPaperSize(printOptions As PrintOptions, paperSizeName As String, settings As Printing.PrinterSettings)
          With settings.DefaultPageSettings
             If paperSizeName.Trim.Length = 0 Then
                . PaperSize = GetPaperSize (printOptions.PaperSize, settings)
             Else
                For Each size As Printing.PaperSize In settings.PaperSizes
                   If size.PaperName.EqualsTo(paperSizeName) Then
                      .PaperSize = size
                      Exit For
                   End If
                Next
             End If
             .Landscape = printOptions.PaperOrientation = PaperOrientation.Landscape
             .Margins.Top = printOptions.PageMargins.topMargin
             .Margins.Left = printOptions.PageMargins.leftMargin
             .Margins.Bottom = printOptions.PageMargins.bottomMargin
             .Margins.Right = printOptions.PageMargins.rightMargin
          End With
       End Sub
       Public Shared Function GetPaperSize(paperSizeId As Integer, defaultPrinterSettings As Printing.PrinterSettings) As Printing.PaperSize
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Printing.PaperSize
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          ' Default paper Size defined in the printer
          result = settings.DefaultPageSettings.PaperSize
          For Each size As Printing.PaperSize In settings.PaperSizes
             If size.RawKind = paperSizeId Then
                result = size
                Exit For
             End If
          Next
          Return result
       End Function
       Public Shared Function GetPapersizeId(paperSizeName As String, defaultPrinterSettings As Printing.PrinterSettings Optional defaultpaperSizeId As CrystalDecisions.Shared.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize) As Integer
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Integer = defaultpaperSizeId
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          If Not String.IsNullOrEmpty(paperSizeName) Then
             For Each size As Printing.PaperSize In settings.PaperSizes
                ' Height and Width in Printing.PaperSize is measure in hundredths of an inch
                If size.PaperName.EqualsTo(paperSizeName) Then
                   result = size.RawKind
                   Exit For
                End If
             Next
          End If
          Return result
       End Function
    Setting the PrintOptions.PaperSize and PageOrientation seem like no effect on the viewer. My code to load the report to CR viewer is much more complicated than the code I show above, I've a background worker thread to download the report, and when the worker thread finished download the report from the server, it will assign the report to CRViewer. Do the changes in report PrintOption before assign to CRViewe and after assigning to CRViewer make any different?
    I'm using VS2010, CR XI R2 (Version 11.5.3700.0). Please Help. Thanks
    Regards
    JC Voon

    Hi JC,
    CRXI R2 is a no go with VS 2010, these two are not compatible.
    With CR 11.5 use VS 2005.
    Or Use VS 2010 and CR for VS 2010 (13.0)
    Once you have the supported / compatible conbination of CR and VS, use the In Proc RAS .NET code from below KBA.
    http://search.sap.com/notes?id=0001561333&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031353631333333
    Also, see the KBAs returned by below search. The top right corner search box on this page is quite helpful.
    http://search.sap.com/ui/scn#query=crystal%252C+paper%252C+orientation%252C+.net%252C+sdk&startindex=1&filter=scm_a_site(scm_v_Site11)&filter=scm_a_modDate(*)&timeScope=all
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Visual Studio 2013 Crystal Report V9 does not display in browser

    Hello, I work with Visual Studio 2013, and was anxious for version 13.0.9.1312, glad you came. Well I installed the full version and the report usually opened in VS, but when it does not compile command displays. Published in a local and it worked, but the VS does not work, if you click with the right mouse button to display codes are the codes it, but does not show. I used IE, and nothing Chomo. How does VS2013 use IIS Express as a server. Have any solution for this?

    See this post for the answer...
    Re: Crystal Reports does not load aspnet_client files to proper IISExpress directory
    Don

  • FB02 does not allow to change Document Header Text

    Hi,
    We are upgrading to ECC 6.00. In T Code FB02 we are not able to change the document header text (BKPF-BKTXT). This feild is grayed out.
    We have done the necessary configuration in Document Change Rules, Document Header- allowing BKPF-BKTXT for change.
    We can see the entry in Table V_TBAER. Please help me to solve this problem. We need to have this feild available for change.
    Regards
    Santosh Hegde

    hi Santosh,
    I understand that you can see the entry (BKPFT-BKTXT) in V_TBAER, but there are two small things to consider: if you doubleclick the line (in V_TBAER), there are two checkboxes, where the first one has to be ticked (field is changable), if the second checkbox is ticked as well, it means the field can be changed if the posting period is open. pls. check just in case...
    if it does not help, I would suggest to open an OSS call about this problem (I did search on my own, but no luck), could be some special SAP error.
    ec

  • NWDS does not allow file change.

    Hello friends,
    I am developing an Netweaver ISA eCommerce application. I got a problem to change one file of this application. I have opened my NWDS and I changed some files (the activity was created to put the changes) but one of the files that I must change does not accept the modification. I mean, I can not edit that file. If I remove the write protection, the NWDS allows the change, but this way is not correct because the file changed does not go to the activity.
    I have already seen this problem before and I solved it through an "edit" command on DTR perspective (right button over the file). But this option is not available at this time.
    Can anyone help me?
    Thanks!
    Rodrigo.

    I have found a good way to solve the problem. I removed the DC from client and I created it again. After that, NWDS allowed the file editing.
    I do not know why it happened but it seems to be a bug on Developer Studio.
    Regards,
    Rodrigo.

  • LightDM-devel does not allow to change desktop environment

    Hi,
    I'm new to Arch and I'm trying LightDM under systemd as my display manager. I don't know if this is the right place to ask about it, since it involves a package from AUR but if anyone can help me, I'll appreciate it.
    I am currently using XFCE4 as my desktop environment. Since I need to switch user and language quite often, the current LightDM version available in pacman does not work for me since it has a bug that prevents it from reading the language selection correctly (https://bugs.launchpad.net/lightdm/+bug/1019314). Therefore, I'm trying the development version available in AUR which corrects the language problem but introduces a new one.
    Because I am new to systemd and LightDM, I'm afraid I have ask the following newbie question. On the first time that I log in, I am able to select language and desktop environment but if I log out and try to log in again, I notice a few strange things. First of all I see that the user name is in bold letters, as if the user would be still logged in. I also notice that I am not longer able to change my desktop session or language, but if I select another user I am able to do it (unless of course, I have already logged in witht this second user, in which case the problem is the same). If I reboot or restart lightdm, I am able once again to select session and language but just like before, only once until next restart. Is this the normal behaviour of lightdm or should i report this as a bug?
    Please, let me know if I'm omitting any important information regarding my system or configuration that may be responsible for this behaviour.
    Last edited by pedroobv (2013-08-02 22:46:20)

    Hello Liza,
    Did you try my solution?
    [Re: Change source system name in variant in BWQ]
    There are solutions to change variants properties, but that particular program has the logsys parameter not able to change, so you cannot change the value of that variant (only with debug).
    It's best to go for that solution I already provided to you...
    Diogo.

  • Crystal Report 2011 does not display when keyfigures are zero

    I am using Crystal report 2011 with BEX Queries as Data Source. I am not able to see some of the characteristics values when keyfigures are zero or null. In BEX query there is a costCenter Characterstic, few costcenter characteristics values are zero for some months but BEX Query is designed to show as spaces even if the keyfigures are zero for those costcenters. When I am using the same Bex Query with Crystal report 2011 all the costcenters with keyfigures as zero are not showing up on the report. Can anybody suggest how I can show the characterstics values even if all the keyfigures are zero. (I have not selected any kind of suppression in section expert in crystal report), (In Bex Query CostCenter- Properties-Advanced----Access Type for Result values are set to Master Data)

    Hi,
    Have you made sure the correct Transport files have been loaded on the SAP system? Since you're using CR 2011, you need to make sure the Transports that come with this version of CR are present on the SAP system.
    Could you see if the workaround mentioned in SAP Note: 1391673 works for you?
    Here's a snippet of the SAP Note:
    SAP Development team of BW BEX MDX Interface suggest the following implementation:
    Since Crystal Reports is not correctly interpreting the character used to represent NULL values (by default the value: X) please use the Customizing transaction: RSCUSTV4 to change the sent value.
    Please note, this is a Global setting, and will also modify the behaviour in BEx application.
    WORKAROUND: Create a formula field based on the selection that always returns a number - converting null to 0.
    Create a formula in BEx for the KF.
    Edit the Selection
    Edit the formula to behave like:
    COUNT ('KF') * 'KF' + 0
    ('RKF' + 0) * 1
    Not generally acceptable since it requires duplicating fields.
    Also, business may not accept 0,00 for a NULL result.
    Hope this helps!
    -Abhilash

  • Emdedding Flash in Crystal Report 2008 - does not upload to XI R2 Server

    Hello:
    There was an error while retrieving data from the server: Failed to read data from report file C:\WINDOWS\TEMP\SOD Dashboard_Xcelcius.rpt. Reason: Crystal Reports: Print Engine Error
    Flash is created from Xcelcius 2008. IIS has Local Account permissions. There is a reference to DLL Installation in forums (but that message is not shown up).
    Please suggest any help or solution

    You have to match BOE with the version of CR to make this work.

  • Crystal Report XI does not support Unicode parameters?

    Post Author: thangvq
    CA Forum: Other
    Hello,
    In my Delphi 7 project I have the code: CRPrintEngine.ParamFields[0].CurrentValue := MyUnicodeStr;
    But in the report the result is just ???????
    Any help is very appreciated.
    Thang

    Post Author: thangvq
    CA Forum: Other
    Hello,
    I have just search the word "widestring" in all the source files of CR VCL XI and the result is so surprise that only few widestrings are found but all of the rest is "string".
    It is so ashamed for BussinessObject that they lied us that CR supports Unicode from version 9.0.
    This is not the first time I have problem with Unicode in CR. CR does not recognize Unicode data of User Defined Function that made in Delphi then compiled into DLL file.
    Thang

  • The "next" button of crystal report viewer does not work

    hi
    I use crystal report viewer control to show my crystal report on my aspx page.
    like:
    <CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
    AutoDataBind="True"
    SeparatePages="TRUE"
    Height="520px"
    Width="900px">
    </CR:CrystalReportViewer>
    however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
    actually this report has 10 pages.
    On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
    Could you give me any good advices to solve this problem?
    Thanks.

    There are a few threads discussing the issue in this forum. See if these provide some guidance:
    "Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
    Re: Crystal Reports .NET Visual Studio 2005
    Problem in CrystalReportViewer
    Ludek

Maybe you are looking for