Crystal Report - Title from Select Expert.
Hi Experts !
I need some help here. Recently I have build a new crystal on the production analysis. Part of the select expert for record is between posting date A and posting date B.
Below is the code I uesd for the select expert whereby Posting Date 1 is a parameter with range that I have defined.
{ODLN.DocDate} = {?Posting Date1}
I am interested to have this 2 date from the parameter to appear on my report. For example :
Date: A date till B date.
I have tried picking up this data from the parameter, but failed to get what I want. Anyone have syntax for this ??
Best Regards,
Alex
Hi Gordon,
Yeah, I know the syntax to do this. The real problem lies as I have stated on my first post - I want the date that I have entered on the parameter during the filtering process, to appear on the report itself. I have tried it before, but all that appears is only True value, not date.
So If, I am about to use two parameter date instead of parameter range with selection expert, will I be able to pull the two parameter date into the report, so that I can print it out with the date on the report itself. It's important for the report to have date because not everyone knows the report is from when to when.
Best Regards,
Alex
Similar Messages
-
Hi Experts, Crystal report mutiple value selection using checkbox in 8.81
Hi,
I am using Crystal report multiple value selection option using checkbox in 8.81 sap b1 pl 05.but i want default all check box value should be selected.
How do we achieve same.
Thanks
Rajkumar Gupta
Edited by: Rajkumar Gupta on Jul 11, 2011 5:45 AMDear Raj,
As per me, this can't be done in current version of SAP 8.81.
Alternate way is use SDK
Thanks
Kevin -
Crystal Reports functionality from Save The Cat
Sorry if I've missed this in the presentation video since I've only watched half of it, so I have no idea if this has been considered for development.
I use "Save The Cat" from Blake Snyder to storyboard my scenes with Crystal Reports - minus his structure.. and I create my own story templates and then drop the whole thing into "Final Draft".
If I had the flexibility to setup and re-use "structure" templates that would contain my scene cards with an overview of my scene cards as the structure under my script and the ability to toggle between the two...then where do I sign on the dotted line?
If you could integrate this functionality into this software - and as I say, I'm not sure if you've done this - then I'm sold. In other words, you build with the cards, and worry about the script later.
Cheers,
C.I need more info from you. I have looked for info re. Powerbuilder 11.5 here:
http://www.sybase.com/products/modelingdevelopment/powerbuilder
but I can not find any mention of Crystal Reports as it would apply to Crystal Reports being part of Powerbuilder 11.5. So, I need more explanation of this:
I'm trying to use the Crystal Reports ocx from Powerbuilder 11.5
Also, in the title of this post, you mention:
Crystal Reports RDC from Powerbuilder.
RDC and OCX are quite different technologies. It's one or the other. Thus please provide the following info:
1) Is the CR component you are using (be it an OCX or RDC) part of Powerbuilder? Or have you purchased a stand-alone version of CR and are using the component in Powerbuilder?
2) What component are you actually referencing?
3) What is the version of the Crystal Reports you are using?
Ludek -
Problem to run the Crystal report inside from SAP B1 based on SQL views.
Hello,
I have a problem to run my Crystal report inside from SAP B1 which is based on SQL views.And the SQL views are stored in a separate database in SQL server.The error which i am getting is saying the the tablename does not exist.What i need to do in order to sort this problem.
Great if somebody can help me to sort out this so that i can run my report based on SQL views stored on separate database other than SAP databases inside from SAP B1.
Edited by: rozenagrawal on Apr 19, 2011 11:51 AMTry using a SQL synonym in your company database for the views outside the company database. I don't know if SBO will let you get away with it, but its worth a shot.
If your company database is MyCompany and you have a view called MyView in Views database, assuming the view belongs to schema dbo, and you want the synonym to belong to dbo schema in your company database, run this:
Use MyCompany
go
create synonym dbo.OutsiderView for
Views.dbo.MyView
go
select * from OutsiderView
The select statement should return the contents of MyView in the Views database while you are connected to your MyCompany database.
For more info, see the Books Online for MSSQL on topic synonym.
You will need to change your CR options to include displaying synonyms along with tables, views, etc. You may also need to grant select to B1 users.
Edited by: Cindy Lange on Apr 21, 2011 4:00 PM -
Crystal report viewer from portlet
Hi,
I have a problem with opening Crystal report viewer from portlet. I am using Spring portletMVC but this doesnt matter in this case. After clicking some button a controller process form in method where is access to ActionRequest, ActionResponse. But how can I "redirect" with some parameters to plain JSP page where I can write something like this:
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(rcd.getReportSource());
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
viewer.dispose();
Oh, perharps is understandable, sorry for my English and thanks for helping. Any code of link would be wonderful.I haven't worked with Crystal Reports in quite awhile, but in the past I've written code to launch Crystal Reports using OLE. If I recall correctly, there existed an ActiveX control that could be embedded into VB forms, and the like. I'm unsure, however, whether they continue to support this mechanism. Given that your requirements do not allow CLIENT_HOST or DDE, however, I am guessing that OLE automation would also be unacceptable.
Have you looked at WEB.SHOW_DOCUMENT?
Eric Adamson
Lansing, Michigan -
Problem with crystal reports get from All in One Best Practice package
Hi,
I tried to use Financial Statements crystal report download from All in One Best Practice package but encounter the below errors. I followed the guide in Manual Steps for Additional Datasource Creation to set up the additional data source. When i try to preview the report, I tried to set all the value to Null but the error message still appear. I believe this has something to do with the infoset but i not sure how to resolve this. Those report which connect to infoset doesnt seem to work for me.
Errors:
Failed to retrive data from database. (then i press OK)
database connector error: 'no item structure data' (then i press OK)
database connector error: 'RFC_Closed'
Please advice
Thank youHi Afzal,
I think you misunderstood. The crystal report i am talking about is the 23 crystal report template i get from All in One Best Practice package. All i need to do is follow the "Quick Guide to impletement SAP Best Practices for Business Intelligence V4.31" to make those template works. For those template that connect to Database type: SAP Table, Cluster or Function, i can make those work. The problem i facing now are those template (example: Financial Statements) that connect to Database type: SAP Info sets. The error i receive are stated in my first post.
Please advice -
Crystal Report Formula to select Record of only MAX Value
hi Everyone,
i need a simple crystal report formula to select one department whose recived quantity Maximum.
for example:
itemcode dscription departmen op recived issue
1 a ab 2 2 2
1 a bb 0 2 2
1 a bc 4 8 2
1 a cc 2 2 2
i group by item the item show just once but i want a formula to show one department who's recived quantity is maximum.i suppress the detail section.and just show the group footer/
itemcode dscription departmen op recived issue
1 a bc 8 14 8Thanks
Re: Crystal Report Formula to select Record of only MAX Value
Abhilash Kumar -
Run a report developed on Crystal Reports XI from java
Hi,
I am trying to run a report developed on Crystal reports XI from my Java Web Project.
I used the configuration specified in:
http://businessobjects.com/pdf/dev_zone/crxi_java_startup_guide.pdf
but I am getting the error:
"com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound"
when the code reaches the line: oReportClientDocument.open(reportName, 0)
I am using Eclipse as SDK and Tomcat as Webserver.
Thanks for the help.can i use it In J2SE
if yes where i download it.also some link for reading -
Calling crystal reports 11 from oracle forms 10g
Could you provide me step by step a solution on how I can call crystal reports 11 from oracle forms 10g application.
Hi,
Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
-Arun -
How to Call Crystal Reports XI from Oracle Forms 6i
hi can any one ,Please provide me the steps to call Crystal Reports XI from Oracle Forms 6i
very urgent please
if any Doument,attachment please send to [email protected]
Thanks in advance
Regards
S.Thirumalai selvanHi All,
Can anyone send me the steps to call Crystal Reports XI from Oracle Forms 6i (client/server)?
Thanks in advance, Lidija
My email is: [email protected] -
Calling Crystal Reports XI from Forms 10g
Any one succeed in calling Crystal Reports XI from Forms 10g,
or using Import Java Class in Forms 10g
to call Crystal Reports XI
or any other method to invoke crystal Reports XI from FORMS
share your Knowledge to OTN
please provide me the steps,documents to [email protected]
Message was edited by:
user501763Hi,
Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
-Arun -
Crystal report Chose from List or drop down value in parameter from UDT
Hi Experts,
I had face a issue while creating a report for my client in crystal report , I had create a report and in the parameter field I want to select the value from the chose from list or drop down value from the User define table.
In parameter had written field as : Code@Select * from dbo. [@UDT] ; but in the report filled I am not able to select the value.
Please Help me ! Thanks in Advance. :HI
Welcome to the Forum...
You cannot put all the values in a single parameter field so you need to select each field for each parameter...
Better you post it in this link for more reponses:
Reporting and Printing -
Nonsensical top level PDF bookmark in Crystal report exported from InfoView
Thank you for any help or suggestions!
I am using Crystal Reports 2008, the CMC repository, and InfoView. I am producing PDF reports, many with bookmarks based on the group tree.
I have found that when I run my report off my workstation, all is fine, but when I run the same report out of InfoView, the top level bookmark is a string of nonsensical numbers and characters.
Is there a way for me to ensure that this top level bookmark is something readable, perhaps the name of the report?
Thank you for your help!Hi,
I ran into this problem just recently myself. The report would export just fine out of the designer but when I would try to export it from CMC it would give me a root bookmark named along the lines of "~crw{33FB2DCD-838A-(more gibberish)....}.rpt"
I eventually figured out how to solve it. I am using Crystal XI R2, not 2008, but I suspect you may be able to resolve the issue using the same steps. I believe that the gibberish name that you are seeing is the actual technical name of the report as it is stored on the Enterprise server. In order to get it to display a nice formatted name of your choosing, open up your report in the report designer. Now go to the File menu and select Summary Info. In the Title section, provide the name of the report that you would like to see at the root of the bookmark. You are esentially setting up an alias for it. Now when you export, you should see the new name that you typed in as the main part of the bookmark.
Hope this works for you!
Edited by: Wjrudo on Nov 30, 2009 8:55 PM -
Boolean value from Select Expert being ignored on some machines?
Hi,
We have a fairly simple report which lists open calls within our support system. The 'open' field is just a boolean true / false value.
From the 'select expert' in Crystal, I just have this simple formula to only display the records I need:
{support.open} and
{status.unique} <> 99.00
On most of the users PCs, the report displays as it should. However, on other users the report shows headings but no data. After some investigation, if I remove the check for the 'open' flag, the report will display records on these PCs, so it seems that on certain computers the boolean flag is being read somehow differently.
Does anybody have any ideas as to why this may be?Need more info. Depending on the version of CR you can use isnull()
Also check the version of your DB client or MDAC version, may be the cause why it works on some PC's -
Print Crystal Report directly from C# without using Report Viewer
Hello All,
I need to print a crystal report directly to the printer without using ReportViewer in C#. I've a CrystalReport2(belowCode) which requires a query (Select * from JobHeader where JobNumber='J012345') to display all the data. I'm stuck with database connection
and putting all the data to DataAdapter in C# (Below Code). I also have 8 subreports in my CrystalReport2. Can somebody please give me hand on this? I'm struggling with it. Thanks.
Regards
using CrystalDecisions.CrystalReports.Engine;
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace csharp_win_printtoprinter
/// <summary>
/// Summary description for Form1
/// </summary>
public class Form1 : System.Windows.Forms.Form
//CR Variables
ReportDocument crReportDocument;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PrintDialog printDialog1;
private System.Windows.Forms.Button button2;
private System.Drawing.Printing.PrintDocument printDocument1;
private CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
private CrystalReport1 CrystalReport11;
private Chart Chart1;
/// <summary>
/// Required designer variable
/// </summary>
private System.ComponentModel.Container components = null;
public Form1()
// Required for Windows Form Designer support
InitializeComponent();
// TODO: Add any constructor code after InitializeComponent call
/// <summary>
/// Clean up any resources being used
/// </summary>
protected override void Dispose( bool disposing )
if( disposing )
if (components != null)
components.Dispose();
base.Dispose( disposing );
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor
/// </summary>
private void InitializeComponent()
this.button1 = new System.Windows.Forms.Button();
this.printDialog1 = new System.Windows.Forms.PrintDialog();
this.button2 = new System.Windows.Forms.Button();
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.Chart1 = new csharp_win_printtoprinter.Chart();
this.CrystalReport11 = new csharp_win_printtoprinter.CrystalReport1();
this.SuspendLayout();
// button1
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.Location = new System.Drawing.Point(32, 56);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(160, 104);
this.button1.TabIndex = 0;
this.button1.Text = "Print Report No Choose Printer";
this.button1.Click += new System.EventHandler(this.button1_Click);
// button2
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.Location = new System.Drawing.Point(272, 56);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(160, 104);
this.button2.TabIndex = 1;
this.button2.Text = "Choose Printer";
this.button2.Click += new System.EventHandler(this.button2_Click);
// crystalReportViewer1
this.crystalReportViewer1.ActiveViewIndex = 0;
this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
this.crystalReportViewer1.Location = new System.Drawing.Point(47, 188);
this.crystalReportViewer1.Name = "crystalReportViewer1";
this.crystalReportViewer1.ReportSource = this.CrystalReport11;
this.crystalReportViewer1.Size = new System.Drawing.Size(903, 296);
this.crystalReportViewer1.TabIndex = 2;
// Form1
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(1164, 505);
this.Controls.Add(this.crystalReportViewer1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
#endregion
/// <summary>
/// The main entry point for the application
/// </summary>
[STAThread]
static void Main()
Application.Run(new Form1());
private void button1_Click(object sender, System.EventArgs e)
crReportDocument = new ReportDocument();
//Create an instance of a report
crReportDocument = new CrystalReport2();
//Use error handling in case an error occurs
try
//Set the printer name to print the report to. By default the sample
//report does not have a defult printer specified. This will tell the
//engine to use the specified printer to print the report. Print out
//a test page (from Printer properties) to get the correct value.
System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument();
crReportDocument.PrintOptions.PrinterName = printDocument.PrinterSettings.PrinterName;
//Start the printing process. Provide details of the print job
//using the arguments.
crReportDocument.PrintToPrinter(0 ,true , 1, 1);
//Let the user know that the print job is completed
MessageBox.Show("Report finished printing!");
catch(Exception err)
MessageBox.Show(err.ToString(), "Unexpected exception");
private void Form1_Load(object sender, System.EventArgs e)
private void button2_Click(object sender, System.EventArgs e)
//Open the PrintDialog
this.printDialog1.Document = this.printDocument1;
DialogResult dr = this.printDialog1.ShowDialog();
if(dr == DialogResult.OK)
//Get the Copy times
int nCopy = this.printDocument1.PrinterSettings.Copies;
//Get the number of Start Page
int sPage = this.printDocument1.PrinterSettings.FromPage;
//Get the number of End Page
int ePage = this.printDocument1.PrinterSettings.ToPage;
string PrinterName = this.printDocument1.PrinterSettings.PrinterName;
crReportDocument = new ReportDocument();
//Create an instance of a report
crReportDocument = new Chart();
try
//Set the printer name to print the report to. By default the sample
//report does not have a defult printer specified. This will tell the
//engine to use the specified printer to print the report. Print out
//a test page (from Printer properties) to get the correct value.
crReportDocument.PrintOptions.PrinterName = PrinterName;
//Start the printing process. Provide details of the print job
//using the arguments.
crReportDocument.PrintToPrinter(nCopy, false, sPage, ePage);
//Let the user know that the print job is completed
MessageBox.Show("Report finished printing!");
catch(Exception err)
MessageBox.Show(err.ToString());1. This is a VB.Net forum not a Visual C# forum. For Visual C# questions try this forum.
Visual C#
2. Crystal Reports are not supported by Microsoft. Therefore, unless somebody responding in the Visual C# forum has experience with whichever version of Crystal Reports you are using, you will probably not receive an answer in the Visual C# forum. SAP has
their own assistance for Crystal Reports using Visual Studio. You can try to find an appropriate forum to ask questions in at SAP in the below link.
SAP Community Network
La vida loca
Maybe you are looking for
-
Is it possible to restrict access to specific IOS apps based on the WIFI profile that a user has connected to?
-
Third Party Integration and OID Accounts
I'm planning on using OID with a sync with another LDAP such as AD or Novell. I am also going to integrate SSO with a third party SSO engine. How do I log into Oracle SSO with a user neither defined in AD or my third party SSO engine? I am basically
-
FMs to get the order items list for an order template
Hello everyone, I'm looking for sap FMs (or tables) to get the order items list for a given order template in CRM backend. Any advice/suggestions? Thanks, Jin
-
Quicktime is not opening .mp4 files anymore
Hi, my quicktime stopped opening .mp4 files I record with my cellphone, that's pretty strange because I thought it was a problem with the phone but I can open them everywhere but in my Mac. This happen after I updated quicktime. Does anybody knows wh
-
Windows Server 2003 install blue screen crash
I am attempting to install windows 2003 R2 standard addition on the following system currently running Windows XP. PROCESSOR Intel® Core™2 Duo 375W,E6550 (2.33GHz,1333Mhz FSB, 4MB L2 Cache, Dual Core) edit OPERATING SYSTEM Genuine Windows® XP Profess