How to access a Crystal Report .rpt file from with in SAP B1?
Dear Experts,
Please explain me the steps involved in accessing a .rpt crystal report file from within SAP B1.
Thanks in adv.
Regards
Anand
Hai Gordon,
I do not have Crystal Reports Add-on Installed on the system.
Should I get it installed on my system?
Regards
Anand
Similar Messages
-
Localization of text objects in Crystal Report RPT file
Dear all,
Does anyone know how support multiple locale text (English and French) in one single Crystal Report RPT file. Is there a way to parameterize text objects (including tiles, axis, of chart) in the Crystal Report RPT files to use some sort of locale resource file containing text string for different languages based on the users of RPT at runtime? The idea is to use one single RPT file to generate report for different locale text instead of creating RPT file per locale. For example, inserting a text object in RPT file and it has text "Welcome" in English and use the same RPT file and parameterize that text object's text with a resource file and the text of that object will retrieve the proper localized text from that resource file at runtime based on the user's locale setting.Easiest way is to place duplicate copies of charts in split sections.
If you have a chart in a group footer, split into two sections place English chart in one and french in the other.
In section expert suppress section based on language field in database. You can do same with Text box or you can over lay two text boxes one in english one in French and then format text box to suppress depending on language. Looks really messy in designer but will be fine in Preview.
Ian -
Localization of CrossTab row and column label Crystal Report RPT file
Dear all,
Does anyone know how to support multiple locale texts (English and French) in CrossTab Row and Column Header labels and grand total labels? Is there a way to parameterize text objects CrossTab in one single Crystal Report RPT file to use some sort of locale resource file containing text string for different languages based on the users of RPT at runtime? The idea is to use one single RPT file to generate report for different locale text for CrossTab Row and Column abels and grand total labels instead of creating RPT files per locale?Hi,
Does the database have a column that identifies the language? If it does, then you could create two separate cross-tabs and place them in different sections and conditionally suppress the section depending on the language from the database.
That's the only thing that can be done in my opinion.
-Abhilash -
Crystal report rpt file import error.
Hi,
when iam importing rpt file after updating it's showing system message This SQL transaction has completed,it is no longer usable. and it's showing operation sucessfully completed but it's not showing in manage crystal reprots list.plaese help me how we can show reports when we impoer new rpt files.
regds,
sampath.I think, at the best what you can do is password protect the report to isolate it from any changes being made.
Go to File>>Report Options and check the 'Save lock report design' check mark.You will be prompted for a password and then the report is safe from any undesired modifications.
Unless a valid/correct password is provided,users will not be able to make any changes in the report,however they will be able to open/view it.
Thanks -
Support for older Crystal Reports .rpt files in BOE XI 3.1
Does anyone know how far back you can go with Crystal Reports objects in BOE XI 3.1? In other words, what's the oldest version of Crystal .rpts that are supported in BOE XI 3.1? Can you run Crystal Reports 9 .rpt files? I'm trying to keep from having to update around 4-5 thousand older .rpts files for an upgrade to BOE XI 3.1.
If we have to do a mass upgrade to CR 2008, what's the best way to do that?
Edited by: Michael Garrett on Aug 23, 2011 4:46 PMHi,
from an upgrade perspective you can upgrade from CE9 to XI 3.1. Check
https://websmp105.sap-ag.de/~sapidb/011000358700001646952008E/xi3-1_bip_upgrade_en.pdf
(S-User needed)
Do you have a running CE9 installation? If yes i would recommend upgrading this to XI 3.1 as described in the Guide. Or have you these "4-5 thousand" CR9 documents local on a file location?
Regards
-Seb. -
Encrypt Crystal Report .rpt file
Is it possible to encrypt Crystal Report file so that it cannot be opened by Report Designer
Version used :Crystal Reports XII think, at the best what you can do is password protect the report to isolate it from any changes being made.
Go to File>>Report Options and check the 'Save lock report design' check mark.You will be prompted for a password and then the report is safe from any undesired modifications.
Unless a valid/correct password is provided,users will not be able to make any changes in the report,however they will be able to open/view it.
Thanks -
How to access methods in existing dll file from java
I have a dll file and that file contains two methods.
Now I would like to access those two methods in java program.
How to access these methods.
Give me the sample code for this problem.http://forum.java.sun.com/thread.jspa?threadID=757125&tstart=0
-
How to store crystal report (rpt file) into disk using java
hello
i want to coonect my report file to java .want convert this file into pdf and store into disk using simple java program
if any have code for this then provide me
thanks & regards
ramHave you given up on your other threads? All your questions seem to be on the same general problem. Could you please stop creating new threads for this?
-
How to publish a Crystal Report in Business One
Hi
Please can anyone tell me how I publish a Crystal report (which is now inbuilt in SAP B1) so it is available to all users? I have full administrator/manager user rights. I have so far created the report and saved it to my SAP server machine on it's C:drive.
Thank you very much for any help and info.
MattHi, I worked out how to do it. I had to first enable the Crystal Add on from within SAP and then open the Crystal Reports Administration menu under Administration and then select "Manage Crystal Reports". From there you can browse to the report you have created and select the module for where you want it to appear under in SAP.
Edited by: matth76 on Jun 25, 2009 4:14 PM -
Crystal Report not running from Addon in the Front End.
Dear All ,
There is a Crystal report , .rpt File inbuilt in the Add-on .
This report runs well from the Source Code .
But i am facing problem , since it is not Opening at the Front End after registration of the Add0n.
Suggest what to do ?
Thanks
AshishDear Rahul ,
In my system , there is a Addon , which has some crystal Report file inbuilt .
Which run on the Button Click event in the Form at the Front End (SAP GUI).
When we debug the Source Code and pass the event . . Report Open with no hurdle.
But the Same thing when we do at the From END of SAP , then it is not Returning any Report.
Thanks
Ashish -
How does a PowerBuilder 12.6 program invoke a Crystal Report 2013 file (rpt)?
Background:
We have been trying to find a solution how to invoke Crystal Reports file (.rpt) from Powerbuilder 12.6.
From the various forum discussions, it seems that the Crystal Viewer OLE control has been deprecated in Crystal Reports 2013.
What methods are available to invoke Crystal Reports 2013 rpt files from Powerbuilder 12.6, if any?
What methods are available to invoke Crystal Reports 2013 rpt files from other platforms, e.g, C++, .NET, Java, etc.?
Please post a solution or suggestion to accomplish this.
Your suggestions would be greatly appreciated.
Thank you very much.
LennyHi Leonard;
You might want to ask this question as well in the CR Forum as SAP now owns that product as well. I am sure that Delhi, VB, etc developers must also need to know.
SAP Crystal Reports
Regards ... Chris -
Open programatically Crystal Report Viewer XI from MS Access 2003
Thank you in Advance!!!
I got the following VBA code.
1) What library do I need to include to access Crystal Report Viewer XI?
2) How do I declare CRViewer11 to open Crystal Report Viewer XI and a created report?
Please look at ***???
Dim crrpt As New CRAXDRT.Report
Dim crapp As New CRAXDRT.Application
***???Problem here: Dim CRViewer11 As New CrystalActiveXReportViewer
Dim myParamField As CRAXDRT.ParameterFieldDefinition
Dim intCounterPartyId, intNoCreditLimit, intAllAccounts, intOpenTrades, intOpenFail, intOpenOver As Integer
Dim dtFirstDayOfYear As Date
Dim dblCreditUsed, dblYTDAmount As Double
Dim db As Database, rs As Recordset, strSql, strFileName, strMsg As String
Dim strAttachDir, strAttachment, strReportDir, strCrReport As String
'Set db = CurrentDb
strAttachDir = "T:\Work\"
'open crystal report(rpt)
strReportDir = "T:\Work\"
strCrReport = "TimeDetailwithData.rpt"
Set crrpt = crapp.OpenReport(strReportDir & strCrReport)
strFileName = Format(Now(), "YYYY-MM-DD-HHMM") & "-TimeDetail.rpt"
strAttachment = strAttachDir & strFileName
crrpt.DiscardSavedData
'SET PARAMETER FIELDS
Set myParamFields = crrpt.ParameterFields
For Each myParamField In myParamFields
With myParamField
Select Case .ParameterFieldName
Case "StartPeriod"
.SetCurrentValue CDate("2008-7-16")
Case "EndPeriod"
.SetCurrentValue CDate("2008-7-17")
Case "Org - Comp"
.SetCurrentValue "2WV"
Case "Org - Dpt"
.SetCurrentValue "300"
Case "Org - Fac"
.SetCurrentValue "01302"
End Select
End With
Next
crrpt.EnableParameterPrompting = False
crrpt.ExportOptions.FormatType = crEFTCrystalReport70
crrpt.ExportOptions.DestinationType = crEDTDiskFile
crrpt.ExportOptions.DiskFileName = strAttachment
crrpt.Export False
Set CRViewer11 = crapp.OpenReport(strAttachment)
***???Problem here: CRViewer11.ReportSource = strAttachment
***???Problem here: CRViewer11.ViewReportYou will have to use the Crystal Reports Report Designer Component (craxdrt.dll). Before you do however, it may be good to know that CR XI r2 is the last version of CR that includes the craxdrt.dll as this is considered to be a retired technology in CR 2008. This may impact your efforts as the life cycle of the app may be limited(?).
Here is a link to more details of the RDC lifecycle:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80bd35e5-c71d-2b10-4593-d09907d95289
A bit of code help:
https://smpdl.sap-ag.de/~sapidp/012002523100006013432008E/rdc_vba.exe
A note on connecting to databases:
https://smpdl.sap-ag.de/~sapidp/012002523100006008462008E/crxir2.zip
Help file:
rdcsdk_com_dg.chm
C:Program FilesBusiness ObjectsCrystal Reports 11.5Helpen
dcsdk_com_dg_docdoc
Ludek -
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
SunilHi
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 -
Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records. When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record. The file names would be based on the table's primary key.
Is this possible?Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha -
How to create a crystal Report using C# and SQL Server
Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
but i got an error on the adding of server name and database portion.. thanks a lot in advanceHello,
Crystal Reports are supported on
http://scn.sap.com/community/crystal-reports.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})
Maybe you are looking for
-
Appleworks bounces once and doesn't open
I can't seem to get Appleworks to open- if I click on the icon or go to applications and click it there, it bounces once and then stops. It does not open. Any thoughts? It seems to be a different problem than recent "won't open" subjects. I have not
-
After updating my Ipad Mini to IOS 8.02 videos keep on crashing and getting constant lag
I have recently updated my Ipad Mini to ios 8 and it has not been cooperating. Whenever I try to watch a video on netflix or youtube it will crash after like 30 seconds or so. Also, when I try to click some buttons its super laggy to work. Thanks Ipa
-
MS Office documents locking itself when user is trying to save it on a network drive.
As the subject states I am having a issue with a user that when he is trying to save a document it is stating that the file is in use by another user.... for every single document he tries to save to. I made a test account and assigned it to the same
-
C55T-A Touchscreen dead after Windows 8.1 Update
After updating my C55T-A5296 to Win8.1, I've lost all touchscreen functionality. Order of operations: 1. Turn laptop on 2. Run Service Station, run all updates. This included an update to BIOS v1.20 3. Run Windows Update - Install all updatres. 4. Do
-
Keep getting error message 4310 when trying to burn music from playlist onto CD. How can I fix this for free?