Basic crystal report question

Dear Experts,
I just have started to learn CR from PLD and figured out how to generate a simple report like a BP list which does not require selection.
In PLD, reports are linked to its own document directly so I do not need to select the document number.
I am stuck in linking documents to reports in CR.
Plz advise how to link CR to documents 1 to 1 by document number.

Hi,
You may check through these links: http://forums.sdn.sap.com/search.jspa?threadID=&q=token&objID=c44&dateRange=lastyear&numResults=15
Thanks,
Gordon

Similar Messages

  • Basic Crystal reports question

    Hello,
    I have a very basic question for you experts out there.
    I would like to create a Crystal report that would utilize queries i already have in B1. I believe this involves copying the query into the database so Crystal can use pull from the them.
    Any help would be greatly appreciated,
    Thanks,
    Charlie

    Hello Charlie,
    It is easy. You could add your query in the initial part.  It is called command under Database Expert.
    Thanks,
    Gordon

  • Basic Crystal Report Help- collapsing groups

    I am using Crystal for the first time as part of my company's trial period of the software. 
    I created a very basic report, but am having difficulty figuring out to collapse my groups.  I have a group with 3 major categories. I want the first report view to show only the three categories, but then give the user the ability to drill down to the detail for a particular category.
    Any help would be very much appreciated.
    Also, any help docuementation would be great : )
    Thanks!
    Kathryn

    In the left margin, right click on the section called "Details", and click on Hide in the pop up.
    Do the same for Group Footer #1.
    The sections should now have diagonal lines through them indicating that they are hidden or suppressed.
    When you run the report, you should only see Group Header#1 diplaying with data, but if you double click on the Group Name field, it should drill into the section, create another tab, and expose the underlying details.

  • Crystal Report Question on query

    I am trying to design a report to where it lists a name of a unique person in a table and totals the amount of money they owe. Essentially it's a letter for parking tickets and it will total all the fine amounts for that individual person. I don't know how to design the report to produce this result and how to design the query to produce this result.

    Hi, I copied the question, so I would not miss anything.
    I am trying to design a report to where it lists a name of a unique person in a table and totals the amount of money they owe. Essentially it's a letter for parking tickets and it will total all the fine amounts for that individual person. I don't know how to design the report to produce this result and how to design the query to produce this result.
    First off, depending on your version of CR, some of the instructions may not be correct.  I have CRXI
    Create a group based on the persons information (I assume you would have a drivers license number, or something you could group off of.  You may also want to group off date/time or amount.
    In your details section drop in whatever fields you wish to return from the Database.
    When you run your report, you should see all the records, sorted by the persons Id and then the date.
    Now, this will be more data than you want, so you can use the select expert to limit what is returned.   For example if the ticket is paid, you do not need to send a letter.  The select statement will look something like this, if your field that indicates a ticket is paid is ticket_#              not ({Ticket_#} like "paid")    So if Paid shows up in that field, the record is suppressed.   Also, look at the example reports, they may help you get some id's

  • Crystal Report (Question ???)

    Post Author: DubweiserTM
    CA Forum: General
    Hi everybody !As per the two pictures below...In the second pictures, why I can't use the space left by the Page Footer a section to put other things ? When I put some additionnals lines in the Details b section, these lines goes on another page.Only for additionnal informations, the Page Footer a is suppressed when PageNumber=TotalPageCount...  I hope I was clear with my question...Thanks in advance !

    Post Author: rpt_Maker
    CA Forum: General
    DubweiserTM:
    I've experienced this also with some of my reports. In my case it has to do with the size of the paper vs. the amount of data returned in the details for a group, with a new page after in the group footer. That blank area is unaddressable space created by a page feed - a new page after or new page before setting. If you truly do have that much space to use on the page, try making the page footer larger and insert some fields there to test with.
    This is vague, I know.

  • Missing DataBase Login information for deployed VS2008 w/Crystal Report

    I'm creating a Windows Form application using VS2008 Pro and the basic Crystal Reports (included).</br></br>
    I've successfully added a crystalreportviewer control and a crystal report (.rpt) to my form. I've written the following code in the code behind to programmatically load/bind the report to the viewer. Everything works fine on my development machine (or any machine that has Visual Studio installed). Where I'm encountering problems is when I deploy the application to a machine that does not have VS installed (I have downloaded and installed the "Crystal Reports Basic for Visual Studio 2008 Redistributable Package" for the appropriate processor type on this non development machine) that I'm getting an error . It prompts for "DataBase Login". The ServerName, LoginID and Password are all there, but the "DataBase" field is empty and disable for user input.</br></br>
    Why is the DataBase information missing? How can I solve this problem?</br></br>
    (On a side note, I vaguely remember a property for enabling/disabling the prompting of the database login. I can't remember where this was again to double check if that is the culprit. But I'm pretty sure that I did mark it as to not prompt, since it's supplied in the code behind. Plus it doesn't prompt on the development machines. Only on the non-development machines).</br></br>
    Any help is greatly appreciated! Thanks.</br></br>
    The code executed in the PageLoad event of the form.</br></br>
    this.crystalReportViewer1.RefreshReport();</br>
                ReportDocument reportDocument = new ReportDocument();</br></br>
                #region Load Parameters</br></br>
                ParameterFields paramFields = new ParameterFields();</br></br>
                for (int i = 0; i < _parameterName.Length; i++)</br>
                {</br>
                    ParameterField paramField = new ParameterField();</br>
                    paramField.ParameterFieldName = _parameterName<i>;</br>
                    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue();</br>
                    discreteVal.Value = _parameterValues<i>;</br>
                    paramField.CurrentValues.Add(discreteVal);</br>
                    paramFields.Add(paramField);</br>
                }</br></br>
                crystalReportViewer1.ParameterFieldInfo = paramFields;</br></br>
                #endregion</br></br>
                #region Load Report</br></br>
                string reportUrl = "";</br></br>
                string exePath = Application.ExecutablePath.ToString();</br>
                exePath = exePath.Remove(exePath.Length - 18, 18);</br>
                exePath += _reportName + ".rpt";</br>
                reportUrl = exePath;</br>
                reportDocument.Load(reportUrl);</br>
               #endregion</br></br>
               reportDocument.SetDatabaseLogon("myUserName", "myPassword", "myServer", "myDataBase");</br></br>
                crystalReportViewer1.ReportSource = reportDocument;
    </br></br>
    Edited by: mtech8 on Jan 9, 2010 3:03 PM. Corrected formatting issues to make post readable.

    HI. Ludek,
    Thanks for the tips. I tried both, but the problem presists.
    On a side note, I did get my hands on yet another "non-development machine". This one ran with Window's Vista appeared to work (even with my original code).
    The "non-development machines" that I've tested on are Windows 7 and Window XP machines. On these machines, when I commented out the reportDocument.SetDatabaseLogon line, when I try to load the report, it still prompts for the Database Logon information, however, it also has the "Database name" empty and disabled.
    Since it worked on a non-development machine with Win Vista. I don't think there is a problem with references or the Crystal runtime packages.
    As far as permission for the report to contact the database, I'm guessing there isn't a problem there either because the application does successfully connect to the database.
    I'm connecting to a SQL2005 database and using the SQL Native connection.
    On a side note: as for the enabling prompting, I just remembered that it was an option available when using Crystal Reports with a web project. Thus I couldn't find it here with a Window's Form project.

  • How to create a first row in crystal report as opening balance which contains two columns with debit and credit

    I have created a crystal report with credit and debit column. Balance column created on the report. Report running with cummulative balance. THis report contain an option for date range. If i filtered this report its not showing the actual balance. I need
    a first row to indicate previous balance as opening balance in this report.  And following is the formula for balance column.
    Whileprintingrecords;
    Shared Numbervar balance;
    Shared Numbervar display;
    balance:={@debit}-{@credit};
    display:=display+balance;
    display

    As this question is out of the T-SQL queue, thus I would suggest you consult Crystal Report questions to the correct forums.
    C#
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral
    VB
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
    people there have more knowledge on Crystal Report.

  • Trying to programmatically set the data-source for a Crystal reports report.

    I've got the following existing procedure that I need to add to in order to programmatically set the data-source (server, database, username, and password) for a Crystal reports report.
     I added the connectionInfo parts, but can’t figure out how to attach this to the existing
    this._report object.
    This is currently getting the connection data from the report file, but I now need to populate this connection data from a 'config.xml' text file.
    Am I trying to do this all wrong?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using CrystalDecisions.CrystalReports.Engine;
    using WGS.Reports.Reports;
    using CrystalDecisions.Shared;
    using WGS.Reports.Forms;
    namespace WGS.Reports
    public class ReportService
    ReportClass _report;
    ParameterFields paramFields;
    ConnectionInfo connectionInfo; // <- I added this
    public ReportService()
    public void DisplayReport(string reportName, int allocationNo)
    if (reportName.ToLower() == "allocationexceptions")
    this._report = new AllocationExceptions();
    PrepareConnection(); // <- I added this
    PrepareAllocationExceptionReport(allocationNo);
    this.DisplayReport();
    private void PrepareConnection() // <- I added this
    //test - these will come from the config.xml file
    this.connectionInfo = new ConnectionInfo();
    this.connectionInfo.ServerName = "testserv\\test";
    this.connectionInfo.DatabaseName = "testdb";
    this.connectionInfo.UserID = "testuser";
    this.connectionInfo.Password = "test";
    this.connectionInfo.Type = ConnectionInfoType.SQL;
    private void PrepareAllocationExceptionReport(int allocationNo)
    this.paramFields = new ParameterFields();
    this.paramFields.Clear();
    ParameterField paramField = new ParameterField { ParameterFieldName = "@AllocationNo" };
    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue { Value = allocationNo };
    paramField.CurrentValues.Add(discreteVal);
    paramFields.Add(paramField);
    private void DisplayReport()
    frmReportViewer showReport = new frmReportViewer();
    showReport.ReportViewer.ReportSource = this._report;
    showReport.ReportViewer.ParameterFieldInfo = paramFields;
    showReport.ShowDialog();
    showReport.Dispose();
    Any help would be much appreciated.

    Hi Garry,
    Please post SAP Crystal Reports questions in their own forums here:
    SAP Crystal Reports, version for Visual Studio
    We don't provide support for this control now. Thanks for your understanding.
    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.

  • Print preview using crystal report in SAP B1 is very slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form  and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    Kamlesh Naware

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • The process cannot access the file during Crystal Report export

    We are exporting crystal reports into PDF using  ExportToHttpResponse (code snippet below)
          // Getting the type of the report file which has been selected by the user. (which will be REPORT CLASS type)
    Type objType = Type.GetType("WebApplication1.Reports." + ReportName);
    ReportClass SEPREport = (ReportClass)Activator.CreateInstance(objType);
    // GetTypedDataSet()returns an instance of typed data set.
    SEPREport.SetDataSource(GetTypedDataSet());
    SEPREport.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, ReportName );
    Now we have created these REPORTS using Basic Crystal Report 10.5, which comes bundled with Visual Studio 2008 and .Net Framework 3.0.
    Now on our machines, we have never experienced any issues.
    BUT on the DEV server (web server) which has .net Framework 3.0 and in its GAC its has CRYSTAL DLLs version 11.5 (required to create an Object of ReportClass and its related functions) ; sometimes we get the following error while exporting crystal report to pdf:
    The process cannot access the file because it is being used by another process. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: The process cannot access the file because it is being used by another process.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [COMException (0x80004005): The process cannot access the file because it is being used by another process.
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +525
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +681
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +105
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +163
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +132
       MSSB.FATools.UI.PlannerReport.CreatePDFDocument() +732
       MSSB.FATools.UI.PlannerReport.btnCreatePDF_Click(Object sender, EventArgs e) +45
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +104
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5615

    This is a cross post:
    The process cannot access the file because it is being used by another proc
    Do not cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Setting this tread as answered and locking.
    - Ludek

  • Preview results in SAP B1 differ from Crystal Report - AR Invoice

    Greetings,
    I have an AR Invoice layout which I want to show the base document number at the header which I call it Delivery Note No.
    I created a subreport for this because of the possibility of a few deliveries for 1 invoice.
    All the marketing documents have a prefix which is from the table NNM1.
    The way I linked in the subreport as the follow:
    OINV.DocEntry-->INV1.DocEntry
    INV1.BaseEntry-->ODLN.DocEntry
    ODLN.Series-->NNM1.Series
    When I preview the main report (AR Invoice) in Crystal Report, I get the correct prefix for the Delivery No. However, when I import it into SAP B1 and preview the invoice from there, it showed me the Invoice prefix instead. Why is it not showing the delivery prefix?
    Am I doing something wrong here?

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • Req for Limitations details in Crystal Reports for visual studio

    Post Author: shankarnathan
    CA Forum: Upgrading and Licensing
    We are going to create a thick client windows application&#91;using visual studio .net&#93; which are going to be used by around 20 users in a organisation.For reporting purpose we are planning to use crystal report basic for visual studio and came to know that basic crystal distribution licence is free.Right now we are bothering about the limitations with respect to the basic crystal report version packed with visual studio.
    Can anyone please shed some light regarding all the limitations in using crystal report basic for visual studio of 2003 and 2005.

    Post Author: dbartholow
    CA Forum: Upgrading and Licensing
    I desperately need this information as well.  I also need to know if the visual studio version has a rtf control that I can merge data values into a text paragraph.  Also, can crystal add controls to a report at run-time based on an object class in a referenced project?
    Thanks.

  • Crystal Reports - Some Basic Questions

    Hi I am a student from Germany and I need to try Crystal Reports for a couple of days for my diploma thesis.
    My first smal question is: Whats the basic programming language that CR is based on?
    As far as I can judge it - its VBA right?
    The focus of me thesis is the chart creation ....
    Question 2: Is there a better solution from SAP to create Charts ... the Chart-Assistent from Crystal Report is pretty nice to work with -  but imagine i dont want to create a report but just visualize some data in a chart for a quick overview of - lets say my market situation - is crystal reports the most edvanced way, that is also available in a trial version - to create charts.
    Please please help me and answer my questions.
    greetz
    till
    ps: please excuse my english, i may make some bad mistakes from time to time =)I)

    Hi
    About the charts: Depends on your requirements what exactly you want to implement.
    There are Xcelsius, Crystal Reports both that you can create charts with.
    I would sugest you to go through the docuemntations of Crystal Reports and Xcelsius first. So that you can be sure what all you can do using these tools.
    Please download the product documentations from help.sap.com
    Hope this helps!!
    Regards
    Sourashree

  • Using Crystal Reports 2008 standalone to edit CR basic reports?

    Can I use a stand-alone Crystal Reports 2008 to edit reports created with Crystal reports Basic for Visual Studio 2008?
    On this project I am working with other developers who don't want to install the full CR 2008 and I really need to to use full CR 2008 to be able to edit a few things in reports I can't do with CR basic in Visual Studio (like changing colors for bars in charts which you can't edit in VS).
    I also don't want to use the CR 2008 runtime for running the application, just the runtime which comes with VS 2008.
    Is it safe to edit a report in CR 2008 and then use it within Visual Studio (assuming I don't add any CR 2008 specific functions)?
    I made a test and installed CR 2008 but without installing the .NET options (however only 1.1 and 2.0 was listed I guess I need to install SP0 to get VS 2008 support anyway). I could change colors for bars etc and save it and open it again in VS 2008. VS complained about
    The full CR designer is also much better to work with so if I can use full CR 2008 without affecting my VS application that would be nice (I guess installing the .NET components would force the use of CR 2008 runtime assemblies).
    Also another question:
    When you use datasets as datasource and use the preview in VS it will use some fake data. But in CR 2008 stand-alone you don't get any data at all. Is there a way to do the same with full CR?

    Hi Magnus,
    You can use CR 2008 to edit reports but there are warnings. .NET version of CR is 10.5, based on the CR version 10 functionality. CR 2008 has much more functionality so as long as you don't add any features of CR 2008 to the reports then it should work. But it is recommended that you use the same version for functionality and 100% compatability.
    Yes you do need SP0 installed.
    You should also upgrade to CR 2008 Developer then you can use the full SDK functionality within .NET and be able to support all the latest OS platforms.
    Please post a separate question for your database question. Use one posting for each question, if not the posts tend to get messy.
    Thank you
    Don

  • Migrate from Crystal Report Server XI R2 to new Eclipse RAS SDK Question

    Hi,
    I am migrating Crystal Report Server XI R2 RAS SDK to Eclipse RAS SDK which seems to be quite easy.
    I have the following old code which basicly programmaticly creates a Report from scratch adds a Table and then
    populates the Report with a Pojo Collection.
    <br> <br>
    Now before I would have : <br>
    <br>
    Table oTable = new Table(); <br>
    oTable.setName("reportTable"); <br>
    pbConnAttributes.putStringValue("QE_DatabaseType", "Java Beans Connectivity"); <br>
    pbConnAttributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_javabeans.dll"); <br>
    PropertyBag pbLogonProperties = new PropertyBag(); <br>
    pbLogonProperties.putStringValue("Java Bean Classes", className); <br>
    pbLogonProperties.putStringValue("SSOKEY", ""); <br>
    pbConnAttributes.put("QE_LogonProperties", pbLogonProperties); <br>
      pbConnAttributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false); <br>
    oTable.getConnectionInfo().setKind(ConnectionInfoKind.CRQE); <br>
    oTable.getConnectionInfo().setUserName(""); <br>
      oTable.getConnectionInfo().setPassword(null); <br>
      oTable.getConnectionInfo().setAttributes(pbConnAttributes); <br>
    //following statement throws Exception <br>
    doc.getDatabaseController().addTable(oTable, null); <br>
    <br>
    getDatabaseController().setDataSource(pojoCollection, pojoClass.class,"reportTable", "reportTable");
    <br>
    <br>
    Now wenn using the c <br>lient eclipse RAS SDK which pbConnAttributes should I use? <br>
    No matter which ones I choose I get a Bad Driver Exception or Named Exception. <br>
    Can anybody help?
    Edited by: snake-john99 on Aug 11, 2010 10:35 AM
    Edited by: snake-john99 on Aug 11, 2010 10:39 AM

    Hi Mikael,
    Since you're already on CR Server XI R2, you can use the Upgrade Management Tool to migrate all the content to CR Server 2013.
    Anwers to your questions:
    1) Yes, the Upgrade Management Tool does support this kind of migration
    2) It does seem that the UMT allows you to move all report instances as well as the scheduled jobs over to the new server
    3) I've always had issues with Business Views when using Import Wizard however I'm not sure whether they work well with the new UMT. In any case, I always prefer to export the LOVs and BVs from within the Business View Manager to a .xml file and then import them in the higher version of the Server, again, from within the Business View Manager.
    -Abhilash

Maybe you are looking for

  • Satellite X300 PQX31A - Blue screen appears for non apparent reason

    Hi, I have had my Qosmio X300 for 2 months with no problems till now. I got some random blue screens so checked the driver site and found the Bios update 1.60. I installed this now the blue screen thing is happening every time I push the machine hard

  • "USB Device Not Recognized" Bubble/ Ipod won't connect to Windows

    Whenever i connect my ipod to my computer the ipod goes to "do not disconnect" and a bubble pops up on my computer saying "USB DEvice Not Recognized" i have switched it to all of my usb ports and unplugged all usbs except for my mouse at the same tim

  • Window not refreshing after lock/unlock screen.

    I've noticed an issue where if I lock the screen (windows key + L) before the visible property of some component is changed, then unlock the screen, the component visibility is not updated until I mouse over the JavaFX application window. I'm includi

  • No. of settlement rules in distribution cycle

    Hello, Can sombody please tell me how many settlement rules can be used while creating a GL distribution cycle in transaction FAGLFA31.Is there any restriction on the number of settlement rules. Thanks, Lavanya

  • Bitlocker Windows 8.1 Pro or Enterprise

    We are looking to manage our bitlocker recovery keys with ADDS.  I thought I had been told and read that to manage bitlocker you had to have the Enterprise version.  I even have it specifically written down from my visit to TechEd this year, that for