SAP Crystal Report Token
Hi Experts,
i have developed a crystal report using tokens as the parameter field.
One token i created is display only account name from OACT.
but when i preview in SAP it chooses the accountcode instead.
Please i need urgent help to display only account name using token
Regards
Justice
Hi Justice,
You have to create Parameter Called AcctName@ and create Parameter as per below image.
After Creating above Parameter Please link this Parameter to Account Name from below Image.
When you will Click on Record then you can see Account Name already present in your Procedure.
Select That Account Name and then Make this Value Equals to AcctName@ parameter.
Now when you run Crystal Report then Crystal will ask to select account name.
Hope this Halp
Regards::::
Atul Chakraborty
Similar Messages
-
Error when print out SAP Crystal Report in SAP B1
Dear all,
I have encountered the following message when I tried to print out SAP Crystal Report at client pc:
Could not load file or assembly 'CrystalDecision.Windows.Forms, Version = 12.0.2000.0, Culture=neutral, Publickey Token=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
On the other hand, there's no error when I print out the SAP Crystal Report on server.
Can anyone advice on the error message as above?
Thanks alot.Hi All,
I have SAP 2007 B,Visual Studio 2008 and Crystal report 2008 Add-on. I am facing the same problem,
"Could not load file or assembly 'CrystalDecision.Windows.form,Version=12.0.2000.0, Culture=neutral,Publickey Token =692fbea5521e1304' or one of its dependencies. The system can not find the file specified."
I have uninstalled SAP B1 and Crystal report 2008. Still I am getting the same Error message. Kindly give me your suggestions.
Regards,
Tom. -
Crystal report token for 8.8
Hi,
Is there a proper place that we can post questions related to the 8.8 Crystal report token and receive response from SAP? I have a few problems and I would like to seek confirmation. Better still, is there any workaround and if the problem will be looked into.
For instance - problem 1
I cannot get the parameter screen to display the AddID fields in BP Master.
- if I use MyAddID@select AddID from OCRD, I get the nice BP parameter screen as in standard report, and AddID is not one of them
- if I create normal dynamic paramter, set the look up value to OCRD.AddID, when running the report within SAP, the parameter screen is showing nothing.
(I have tried that with multple value = true, multiple value = false), no luck.
Problem 2:
If I want to do multi selection for Customer Code or name, I cannot use standard OCRD table.
I have to use somthing like BPCodeSelection@Select CardCode, CardName from OINV to get the check box available for multi-selection when running the report.
It is taking too much time to get reports running with SAP B1. It takes me less than 1 minute to create dynamic paramter in Crystal, but 20 x times to try working out how to get it to function as expected within SAP B1 8.8.Not answered, just close the post.
However, if anyone encounter problem on parameter token as described, try upgrade to patch 10. i was informed multiple value with non standard fields are fixeed in that patch, however, i have not tested yet. -
Connection to database in sap crystal reports enterprise xi 4.0
Hi,
When we are trying to connect to database in sap crystal reports enterprise xi 4.0 ,i am geting the below error.please advise.
Error:
Failed to establish a connection.The cause was:
Connot connect to SAP BussinessObjects Enterprise at this time.Please try again later.Thanks for your quick response Henry....
I checked all this things and all are working fine.
Now I am able to connect to BOE server.
The cause behind the issue was in "CMC > Applications > Web
Service > Access URL:" the URL was having different server name which we have changed earliar, I just correct the URL and issue got resolved.
But now when I am trying to access BOE Server through Crystal Reports for Enterprise 4.0 client tool directly not from launch pad, it probes me the same error. (Note: I used the same parameters which i got from launch pad token to this)
Is that a only way to use Crystal Reports for Enterprise 4.0 from launch pad ?? -
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
SAP Crystal Report using SQL Server Authentication and Windows Authenticati
I'm a SAP Crystal Report, version for Visual Studio 2010 Beginner
my ingredients are
1.windows 7 ultimate service pack1
2.sql server 2008 standard edition
3.visual studio 2010 pro
4.SAP Crystal Report, version for visual studio.net
I was created a report named customersByCity.rpt using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> I'm supply Server, User ID, Password and Database. I assume me using SQL Server Authentication for my report
Then, my ASP.NET files as following
//ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="viewCustomersByCity.aspx.cs" Inherits="viewCustomersByCity" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div><asp:Label ID="lblMsg" runat="server" BackColor="Yellow" ForeColor="Black"></asp:Label>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>
</div>
</form>
</body>
</html>
//code-behind
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public partial class viewCustomersByCity : System.Web.UI.Page
private const string PARAMETER_FIELD_NAME = "city";
private ReportDocument customersByCityReport;
private void ConfigureCrystalReports()
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = @"WKM1925-PCWKM1925";
connectionInfo.DatabaseName = "Northwind";
connectionInfo.UserID = "sa";
connectionInfo.Password = "sysadmin25";
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;
private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
ParameterValues currentParameterValues = new ParameterValues();
foreach (object submittedValue in arrayList)
ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
parameterDiscreteValue.Value = submittedValue.ToString();
currentParameterValues.Add(parameterDiscreteValue);
ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions[PARAMETER_FIELD_NAME];
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
protected void Page_Load(object sender, EventArgs e)
customersByCityReport = new ReportDocument();
string reportPath = Server.MapPath("customersByCity.rpt");
customersByCityReport.Load(reportPath);
ConfigureCrystalReports();
ArrayList arrayList = new ArrayList();
arrayList.Add("paris");
arrayList.Add("Madrid");
arrayList.Add("Marseille");
arrayList.Add("Buenos Aires");
arrayList.Add("Sao Paulo");
ParameterFields parameterFields = CrystalReportViewer1.ParameterFieldInfo;
SetCurrentValuesForParameterField(customersByCityReport, arrayList);
CrystalReportViewer1.ReportSource = customersByCityReport;
1st scenario
When in a runtime, it's keep appear a dialog box. This dialog box ask me to suppy Server, User ID, Password and Database. Once all information is supplied, my report display the data as expected
2nd scenario
I change my report using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> checked on Integrated Security. I just choose Server, and Database. I assume me using Windows Authentication
When in a runtime, there's no dialog box as above. My report display the data as expected. really cool
Look's like, when report using SQL Server Authentication there's some problem. but, when report using Windows Authentication, it's fine.
I'm looking for comment. Please help meHello,
MS SQL Server 2008 requires you to install the MS Client Tools for 2008.
Once install then update all of your reports to use the SQL Native 10 as the OLE DB driver.
The try again, if it still fails search, lots of sample log on code in this forum.
Don -
Hiding a data field in SAP Crystal Reports 2011
Hello,
I am new to SAP Crystal Reports 2011 (Crystal Reports).
Does any one know how to hide a Special Field in a Crystal Report?
Specifically, I am trying to hide the Special Field, 'Record Number' from displaying on my report.
I need the Special Field, 'Record Number' to know how many records was printed on my report
in order to limit the amount of records printed while I am testing this new report.
Thanks for the help!
TonyHi Tony,
Yes to hide specific field, follow abhilash suggestion..
1. Limit the number of records displayed on your report like that:
section expert -> particular your report section -> click on suppress -> write below formula
RecordNumber > Limited number of records count..
2. limit the number of records per page on your report follow below link:
How to limit the no of records per page in crystal reports 2008
Thanks,
DJ -
Sap crystal report for visual studio print error
vs.net 2012 crystal report paper size 8.5in x 5.5in orientation portrait will not print properly. Always it prints landscape
Don't define the paper size in the CR designer. Define it in the printer driver. Also, make sure you are using SP 10:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to use the distinct key in formula field in SAP Crystal Reports
I want to use the distinct key in formula field in SAP Crystal reports.
When i'm using it shows an error.
Please suggest me....Hi,
Use DistinctCount keyword directly for your calculation instead of count(distinct(....
Alternatively, if you want to avoid duplicate records, under "File" > "Report Options" make the 'Select Distinct Records' as True.
Thanks,
Raghavendra -
How to run a crystal report in SAP Crystal Reports 2011
I've installed SAP Crystal Reports 2011. I can't figure out how to run a crystal. What replaces the lightning bolt used in previous versions of crystal? I'm I missing something?
Hi Tim,
You may:
1) Press F5
2) Go to Report > Refresh Report (Notice the icon beside the label)
3) Go to View > Print Preview
4) Or, click the refresh button on the toolbar
5) The icon on Point#2 is also available on the toolbar
-Abhilash -
Windows 8.1 is throws error when displaying SAP Crystal Reports 10.5
Hi there,
On windows 8.1 – 64 bit SAP Crystal Reports fails to work (even empty report):
“Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version 10.5.3700.0, culture=neutral, PublicKeyToken=blahblah' or one of its dependencies. The system cannot find the file specified.”
Project that run SAP Crystal Report was compiled as 64 bit & 86 bit & ANY CPU, but all displayed the same error message. Is windows 8.1 64 bit missing any *.dlls? Or is there compatible CRRuntime engine with windows 8.1 64 bit?
I had this problem before on windows 7 but by changing solution Platform and Target CPU – solved the problem, however windows 8.1 seems to have a bug!
More Info about app:
VisualStudio2010
SAP BusinessObjects XI 4.0
Support Pack (several been tried): crruntime_64bit_13_0_7.msiPost Author: JonathanP
CA Forum: .NET
Are you simply viewing the report, or exporting it?
The error doesn't tell us much. A windows application should not need any special permissions. Try giving the user full rights to the temp directory, as the report engine does need to write seme files there. -
PROBLEM EXPLANATION
Pretend that the attached excel file is a crystal report file
Column A is the details to be compared. Column B is the details that i will have to use a formula in sap crystal report.
as you can see cell B3 is same with the value in cell A2, B4 with A3, B5 with A4, B6 with A5 and so on.
How can i get the previous data of column A and put it in column B using formula in crystal report? either basic or crystal syntax
My Column
Colmun with formula
7000
0
7689
7000
9457
7689
8472
9457
2364
8472
12395
2364
18273
12395
84723
18273
57483
84723
493837
57483
2823747234
493837
226374
2823747234
7646363
226374
85826263
7646363
75756236324
85826263
1239534
75756236324
Message was edited by: Ludek UherHi,
Use the 'previous()' function.
Example:
Previous({Column A})
-Abhilash -
SAP & Crystal reports connectivity
Hi SAP Gurus,
I'm facing a problem while connecting ABAP query & infoset from crystal reports.
I've installed crystal reports 8.5 and also SAP crystal report enterprise add on.
when i want to connect to sap system from crystal reports, it aunthenticate my username and password, but when i want to retrieve sap infoset or query, it stops me and show the message
R/3 Error
SYSTEM_FAILURE
58FUNCTION MODULE "/CRYSTAL/GET_FUNCAREA_CATALOG" NOT FOUND.
Please help me, it's urgent.
Thanks,
Salahuddin.Ingo,
I've downloaded V 10 and installed it. But it does not display 'SAP' in 'other datasources', when i start creating report from crystal reports using other datasources.
When i downloaded V 8.5 addon, i 've installed crystal report v 8.5 and then installed v 8.5 AddOn. This atleast shows SAP menu in it. but when i start creating report from it, it displays same missing function module problem.
So in both version, I'm having problem. In V 10 SAP menu is not appearing and in V 8.5 SAP menu appears but missin function module problem. Is there any Addon for V 10.
Please guide me.
Thanks,
Salahuddin. -
Passing 'ALL' value into Two Parameters in SAP Crystal Reports
Hi,
I have one report made it from sql command in that there is 2 parameters one is C_Type and other is C_Type_HV both shows the records like 01,02,03,05 both the parameters are used in command where clause and also that report contain one sub report for showing summary made it from sql command in that command both the parameters are passing through where clause of command now i want to add 'ALL' as a value in both the parameters how i can do this in sap crystal report.
for referance I give u both the query of report
With Regards,
GaneshHi Ganesh,
Please have a look at this thread on how to add 'ALL' as a value for the prompt.
All values in parameter
-Abhilash -
Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
The fonts, page margins everything set on report itself. Nothing being set in the code.
Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
Any suggestion, why this is happening.
Thanks.
SanjayI am not sure what is being compared here?
CRXI R2 designer to CRVS?
CR XI R2 in some version of .NET to CRVS?
CR XI R2 using RDC SDK to CRVS?
Also, is this happening on your development computer or after you deploy?
If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
Is this a web or a win app?
Are you seeing the same issue when viewing and exporting - say export to PDF?
What is the printer driver used and it's version?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Maybe you are looking for
-
I Have a small problem, that I need some help on ... I need to find the rgb value for the default background colors of Panels. I used new Color color = JPanel().getBackground(); int red = color.getRed(); int green = color.getGreen(); int blue = color
-
Date show in dd/mm/yyyy format
hey.....my database generates date in xml in following format <date>1993-02-27T00:00:00+05:30</date> i wish to show and sort this date in the form 27-02-93 how can i do it?
-
Hello Experts, I have one requirement in BW, where I need to get the last GR (Goods Receipt) date. In my query, I will be having 4 KEY Fields and 1 CHR Field CHR Field is " 0MATERIAL KEY Field is : Closing Stock Qty , Closging Stock Value, GR Value,
-
My printer gave me my email adddress, but when i try to sign in it says invalid email address
invalid email address when i try to sign in
-
I have forgotten my Password for my Blackberry ID. My password is not my only problem. I have changed my e-mail address...so if I attempt to reset my password the information is sent to my old e-mail address. I have changed my username (e-mail add