Crystal Reports form enhancements  (frmCrystalReports)

Background
Upgraded from 8.8 to 8.81 with Crystal Reports add-on.
Not happy with ease of use of the CR add-on and loss of description field.  {CR=Crystal Reports}
Summary
Wanting enhancements to the frmCrystalReports form.
Wanting assurance that frmCrystalReports form will be supported in future B1 versions.
Wanting improvements to both the "old" and "new" B1 CR integration methods.
Details
frmCrystalReports form
New columns for sap_cr_report_report table:
version  - numeric - to help keep track of CR version.  ie dev test and live systems might have differing versions due to ongoing development
report id - string - a short identifier of the CR.  ie with many reports a unique identifier is a necessity
sort id - numeric or string - a sorting identifier so a list of CR can be ordered
ReportDesc - increase column width.  eg 2000 characters
Notes - string - allow CR Developer to add their own notes/comments for future reference.  The user and CR developer can have differing views on the report.
Enhancements:
Add scroll bars to the form.   There is none.  Only way to navigate a CR list is with the up/down arrow keys.
Enable form resize.   There is none.  Most B1 forms you can maximise/expand.
This is standard "windows" functionality, why was not this provided when created all those years ago?
Add new columns from above.
Make ReportName display its full width.  Only 50 of the 100 characters can be maintained in the form!
Add CR sorting ability.   eg default=alphabetically on ReportName,  user selection=reportId and/or sortId
Crystal Reports add-on
Is a pain to use.  You could automate somewhat via mapping a CR directory structure to that of the modules.
For example, put a CR in the Financials folder and B1 automatically picks up the name and makes that report available to the Finance module.
Needs ability to show user description, version, report id, as per frmCrystalReports enhancements.  Just showing the CR name is not enough information.
ps there is a bug with this form.  Background and Summary text above are set as bold but as you can see the trailing text is bold also.

This is what I did to fix the non-sorting in the form by changing the table pk.
-- backup original table
exec sp_tables @table_name = "sap%";
go
select * into sap_cr_report_report_bup_20111101 from sap_cr_report_report;
go
exec sp_tables @table_name = "sap%";
go
-- change new pk columns to not nullable
alter table sap_cr_report_report alter column ModuleUID char(20) not null;
alter table sap_cr_report_report alter column ReportName nvarchar(50) not null;
go
-- create new pk
alter table sap_cr_report_report add constraint scrr_pk primary key (ModuleUID, ReportName);
-- alter table sap_cr_report_report drop constraint scrr_pk;
go
exec sp_pkeys sap_cr_report_report
go
:out stdout

Similar Messages

  • Crystal Report Print Preview presenting users with Database Login

    Issue
    A user amended a crystal report form, on doing so has now made that Form unavailable to the majority of users to Print or Preview this is in 8.8 PL10. All other users on Previewing are presented with a window  Database Login, but this only presents the server name, Database name is blank and greyed out and then there is only Login ID and Password available. If you enter in the database password a message appears stating failed login.
    We have access to the SAP server and logged in and get the same message! but on the users machine who amended the Form they can print? any suggestions greatly appreciated

    Hi Roger,
    The problem sounds similar to what I've had recently, it was resolved by changing the database connection type to SAP Business One in Crystal Reports 2008, I can confirm that using OLE DB or other will still cause the login issue on other machines off the SQL server, the SAP Business one connection solves the issue.
    I was fighting with this for hours, hope this helps you all.

  • Crystal Reports - Page Break/Create Address Labels

    Problem description:
    I am creating a letter writer function for a Windows application. The how-to documentation I have is not providing the necessary step(s) for showing one record per page.  From what I have gathered there is a page break function, however, I have not been able to implement it.   I have set up a Crystal report in a .Net 2008 (Visual Basic) application with a Section 5 (Page Footer) and need to break and start a new page at this point.  One page per letter (record) for multiple letter distributions.
    I also need specific instructions on how to create an address label maker for this application.  So far I was able to include a Crystal Reports form set up specifically for address labels but not to make it work.
    Since the application will be distributed this is not a machine specific issue.
    Jaime Baldovinos

    Hello,
    apart from the CR manual please see a [good guide |http://www.codeguru.com/forum/archive/index.php/f-64.html]for all kind of question related to report design with CR.

  • Opening a Crystal Report in B1 8.8 in a User Defined Form representing UDO

    Hi Experts,
    Is it possible to open a Crystal Report from a User Defined Form representing my UDO?
    I had developed a 'Vendor Quotation' UDO and its  User Defined Form
    I wanted to show the report while clicking the Preview menu in SAP B1 8.8 toolbar.
    I have created the Crystal report and used the record selection as {@OVQT.DocEntry} = {DocKey@}
    Please help
    Also, is it possible to add Print layout and assign a default Print layout to this User Defined Form?
    Thanks in advance
    Regards
    Arun

    Hi,
    I also face the same problem. I make a master type using UDO. But i want to print it.
    In my opinion ( i haven't tried this way ). If we make a UDO ( master or document type ) , we will find the docentry and object field in our UDT. Both of these will connect between SAP form and Crystal report. In crystal report we select the tmsp_doclinetypelayout. It is a store procedure which will connect between SAP form and CR. Before that try to modify this SP by adding the udo object.
    Fyi, if i'm not mistake dockey is connected to docentry SAP form.
    Thanks
    regards
    bodhi86

  • Crystal report open instead of PLD with same form reference.

    Dear All,
    I configured crystel reports  to open in preview insted of PLD for documents,
    but it is asking parameters of the documents to be opened coz i have created parameteries crystal report,
    Means it is open whatever i have created in crystal report.
    But i want to open my crystel reports on preview directly insted of PLD
    with the same form reference.
    Means like PLD is opening preview directly whatever number form is open.
    Suppose in Sales Oreder form is open in that 5 no's Sales Order is there and then
    when i click on Preview that time only 5 no's PLD Preview is open.
    Like that i want to open Crystal Report.
    How to get that no's reference to crystal report ?
    Thnks
    Harish

    Close this thread as 2 same threads are opened with the same topic..

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Oracle Forms 6i and Crystal Reports XI

    Hi All,
    Has anybody had any success in calling crystal reports xi from oracle forms 6i? I have noticed there has been a number of threads on this for previous versions of crystal. Any help would be appreciated.
    Regards,
    Scott.

    Did u Succeed in calling crystal Reports XI from Forms 6i
    or from Forms10g
    for me also the same Requirement
    please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
    [email protected]
    Message was edited by:
    user501763

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • Without Crystal Report on SAP Form yet

    Hi experts!
    I follow this thread http://scn.sap.com/thread/3500063 I wonder if someone has solved this issue I've tried many different ways without success.
    Summarizing: When you try to assign a report document or a CRAXDDRT Report to a crystal report viewer on a SAP B1 form like is showed below you get an exception "Specified cast not available"
       ' on Next line exception raised "Specified cast not available"
                RepViewer.ReportSource = cryRpt
    I also tryed to create a crystal decisions windows form crystal report viewer, get the report source an assign it to the report viewer but I get the same error (oRpt is a report document which is loaded previously)
         Dim oCRForm As New CrystalDecisions.Windows.Forms.CrystalReportViewer
         oCRForm.ReportSource = oRpt
         RepViewer.ReportSource = oCRForm.ReportSource
    If I set the path directly I get the same error
         Dim sRptPath As String
         sRptPath = Windows.Forms.Application.StartupPath() + "\Report.rpt"
         RepViewer.ReportSource = sRptPath
    I'm using CrystalActiveXReportViewerLib14.CrystalActiveXReportViewer, VS2010, VB, Windows 8 Pro
    Is there another way to show it on a SAP B1 form ?
    Best regards.

    Wow. You're mixing a number of technologies and terms, none of which really make much sense:
    1) CRXDDRT is not used in an .NET apps anymore and you would not be licensed to use it anyhow.
    2) You are not licensed to use the CrystalActiveXReportViewerLib14.CrystalActiveXReportViewer.
    3) You are using the Crystal Reports Assemblies for .NET (not craxddrt...).
    4) You  are using Crystal Reports for B1.
    To use CR in a .NET application, you must use the CR viewer for .NET. Any additional queries should be posted to the SAP B1 forum:
    SAP Business One Application
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Refer to a Form Field in a Crystal Report

    Hello!
    For a customer I need to set up a Layout in Crystal Reports for Asset History Sheet in Fixes Assets.
    Depending on the Depreceation Area (IFRS, HGB) the (printed) report contains different data, I need to filter the data in the Asset History Form that is shown on the screen in different ways.
    I have to make sure that no HGB report can be printed with IFRS numbers (and vice versa).
    The information about the Depreceation Area is written in a field in the Asset History Form on the screen, it is not stored in any table.
    Is it possible to check the content of this field in my Report?
    Thanks and best regards
    Peter Ganserer

    Hi Peter,
    If the Form Field is a direct field from table, you can add the field from table. However, if it is a calculated field, you may not have option to put it into Crystal Report.
    Thanks,
    Gordon

  • Problem showing the crystal report viewer in form after added the component on it

    Greetings
    I have a problem running a program. I created a form which I added the component Crystal Report Viewer perfecty but during program execution when I call that form my VS 2012 Ultimate show the following error:
    Translated:
    Failed to create the form. See Exception.InnerException for details. Error: An exception occurred in the type initializer for 'CrystalDecisions.Shared.SharedUtils'.
    Note: If I remove the component from the form. the applications runs fine when calling the form without the component CrystalReportViewer
    It is something related to my VS? o just that the actual version 13.0.9 is not yet compatible?

    Report.Show?
    How about you try:
    CrystalReportViewer1.ReportSource = <path to your report>
    Or:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    crReportDocument.Load(<path to your report>)
    CrystalReportViewer1.ReportSource = crReportDocument
    Or, if the report is added to the project:
    crReportDocument = New test
    CrystalReportViewer1.ReportSource = crReportDocument
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Message was edited by: Ludek Uher

  • Passing parameters from vb form to a crystal report with stored procedure

    Can someone give me an idea how to use data inputted on vb form to be use as basis of crystal report generation which loads data from a stored procedure. Stored procedure has parameters that was also set in the crystal report. viewing on crystal report is ok but i am having difficulty running the report from vb.

    Hi John,
                  If Not CRRpt.ParameterFields("AgeType") Is Nothing Then
                        CRRpt.ParameterFields("AgeType").CurrentValues.Clear()
                        Dim ParamValue As new CrystalDecisions.Shared.ParameterDiscreteValue
                        ParamValue.Value = AgeType.ToString 
                        CRRpt.ParameterFields("AgeType").CurrentValues.Add(ParamValue)
                    End If
    Note that the ParamValue.Value should be assigned with exact same data type as you declared it in CR.
    If it is string, Convert your Variable to string first.
    If it is date, make sure you are passing a date variable.
    and so on...
    Regards
    Edy

  • Crystal report windows forms viewer - error in file

    I am using visual basic - visual studio 2005 with crystal reports version 11.5 and am getting the following error when deploying to a windows 7 32 bit machine
    Error in file
    c:\users\username\appdata\local\temp\tempmanynumbersandcharacters.rpt
    The request could not be submitted for background processing.
    All six reports for this application give the same error.  There is not a problem when it is deployed to a windows xp machine.  I have three other applications that do not have problems in windows xp or windows 7 32 bit.  I can't see any difference between these three apps and the one have a problem in windows 7.
    Thanks,
    Jay

    You do not mention if you searched the forums and the Kbase for the error... Using the search box in the top right corner of this web page will return KBases, Blogs, Wikis, articles and more. The following article should have been returned with a simple search;
    [Causes of "Background Processing" error|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33]
    See if it helps. If not, do a few searches as there may be other reasons not documented in the articles.
    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]

  • Crystal Report Windows Forms Viewer - No Error Popup

    Similar to this post:  Error message that says "No Error" from CR Viewer, I have just upgraded by Application to .net 4.0 and Crystal Reports 2010. The report viewer works fine the first time a report is loaded, but when I change the parameters on the report, and put the updated report back into the report viewer, I get the message shown above.  The report does not change its parameters and the updated report is not displayed.  The code in question is setting the date parameters for the report.  The user can select new date parameters from the form that encloses the report viewer.  The code subclasses the Report Object code to add additional functions through interfaces.  The IDateRange interface provides a starting and ending date range for the report using a property on the report class as follows:
        Public Property EndingDate() As Date Implements IDateRange.EndingDate
            Get
                Return _endingDate
            End Get
            Set(ByVal value As Date)
                _endingDate = value
                Me.SetParameterValue("EndingDate", value)
            End Set
        End Property
    In addition, the immediate Window shows the following message:
    A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    The code in the Report Viewer looks like this, see line marked in blue for when pop-up appears:
    ''' <summary>
    ''' Sets the report period and displays it.
    ''' </summary>
    ''' <param name="Report">The Report.</param>
    ''' <param name="Refresh">if set to <c>true</c> force a refresh.</param>
    Private Function PFSetReportPeriod(ByVal Report As Object, Optional ByVal Refresh As Boolean = True) As Boolean
        Dim fld As FormulaFieldDefinition
        Dim bRefresh As Boolean = False
        Dim rpt As ReportClass = CType(Report, ReportClass)
        Try
            If CRV.ReportSource IsNot Nothing Then
                rpt = CType(CRV.ReportSource, ReportClass)
            End If
    If TypeOf rpt Is IDateRange Then
        With DirectCast(rpt, IDateRange)
    .        StartingDate = dtpFromDate.Value
    .        EndingDate = dtpToDate.Value
        End With
        SetTitleLine2(DirectCast(Report, ReportClass), bRefresh)
        bRefresh = True
    Else
        If TypeOf rpt Is ReportClass Then
           fld = rpt.DataDefinition.FormulaFields("FromDate")
           If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpFromDate.Value.Year & "," & dtpFromDate.Value.Month & "," & dtpFromDate.Value.Day & ")"
                bRefresh = True
            End If
            fld = rpt.DataDefinition.FormulaFields("ToDate")
            If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpToDate.Value.Year & "," & dtpToDate.Value.Month & "," & dtpToDate.Value.Day & ")"
                bRefresh = True
            End If
            SetTitleLine2(rpt, bRefresh)
        End If
    End If
        If Refresh And bRefresh Then
            If dtpToDate.Value <> CDate(dtpToDate.Tag) OrElse _
               dtpFromDate.Value <> CDate(dtpFromDate.Tag) Then
                    System.Windows.Forms.Application.DoEvents()
                If CRV.Visible Then CRV.ReportSource = rpt ' The popup appears when this statement is executed.
                If CRV.Visible = True Then CRV.Refresh()
                dtpToDate.Tag = dtpToDate.Value
                dtpFromDate.Tag = dtpFromDate.Value
               Return True
            End If
        End If
    Catch ex As Exception
        DisplayException(ex)
    End Try
    Return False
    End Function

    Problem has been resolved.  I downloaded Support Pack 8 (v.13.0.8.1216) from this location.  I then applied the fix from the entry above:
    With CRV ' Report Viewer Control
        If .Visible Then
            If .ParameterFieldInfo IsNot Nothing Then .ParameterFieldInfo.Clear()
            .ReportSource = rpt
            .Refresh()
        End If
    End With
    And no more annoying "No Error" messages.

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

Maybe you are looking for

  • Remote Key Mapping - Maintanance

    Hi All, I have Auto Id field in my repository; I would like to maintain this as my remote key value in my key mapping table ( automatically) in the following scenarios: 1. Initial Loading 2. On going ( from portal) 3. Manual creating a record The iss

  • Extending my desktop

    i need help extending my desktop

  • Problems with Compaq Presario CQ61

    I have a Presario CQ61 and recently updated the iTunes software installed. Everything worked fine until I went to shut down the computer. While waiting for the windows menu to load it crashed, since then it hasn't worked (some 5 days).  When I turn i

  • HT5622 Since I have updated my iPad ios7,I am having problems activating my FaceTime

    I have recently updated my iPad ios7,but having problems activating  FaceTime.

  • Lightroom color popping when switching monitors?

    So, this might be a silly question.  I have lightroom on one monitor and when I drag it over (the program window) to my other monitor it pops (changes color) after about 1/2 a second.  There is a shift in color.  I'm wondering if it is the monitors I