Transporting Crystal report based on ECC table
Hi guys
We use CR 2011 over a table in ECC DEV
Is there an option to transport the report to our production system without having to recreate it?
Regards
Shlomi
Hi Shlomi,
Yes, you need to 'set the datasource location' of the report to the Production System.
Go to Database > Set Datasource Location and change the source.
Hope this helps!
-Abhilash
Similar Messages
-
How to biod Crystal Reports based on ABAP Tables/Views
Hi,
Can any one post me some document stuff on building Crystal reports based on ABAP Tables/Views please!
Thanks,
Madhu.Hi,
Check out the links below for Crystal Reports :
Re: Crystal report in SAP BW
http://support.businessobjects.com/documentation/product_guides/
http://help.sap.com/saphelp_nw04/helpdata/en/86/06a8d3be17fc47aa8d850e50cf5f24/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/46/dfd33b1ed4b47de10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/34/c0523e83464644e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5f72b7c0e943d99f4f5cef2bfacfe1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/06/00a63b60f26e3be10000000a114084/frameset.htm
Hope this helps.
Cheers,
Kedar -
Crystal Report linked to a table with filter attached
I have a Crystal Report based on 2 tables and I want it to display every incident in the incident table and to pull the truckID of the
first truck on the scene from the truck table . So the finished product should look like this…
IncidentID IncidentNum ResponseTime First Arriving Truck Disctict
1x44452 1258ab55 5:32 B8 2
*The first arriving truck is the truck in the Truck Table with the same IncidentID and the earliest ArrivalTime. There will be multiple trucks for each incident but I want it to only show the one that arrived first (ArrivalTime). So one line per incidentID.
Incident Table
IncidentID
IncidentNum
ResponseTime
District
Truck Table (Will contain many trucks for one incident with the following info
Truckkey
IncidentID (Link to Incident Table)
ArrivalTime
TruckID
I figure I probably need to build a formula with the min function or perhaps an OnCommand – I’m just not sure.
The biggest issue is the overall report has 4 filter settings. They can select a date range, a location, an incident type and a range for the response time. So I do this with the Select Expert
I can get all of that to work except I cannot figure out how to get it to pull the First Arriving Truck without duplicating the incident
line. Also, if there is a Truck with an ArrivalTime of Null I want it to ignore that Truck Table record.
Can anyone help???Hi Debbie,,
You may try this:
1) Go to the Group Expert > Create a Group on the 'Incident ID' field from the Incident Table
2) Insert a summary on the 'Arrival Time' field and place the field on the Group Footer
3) Move all the fields from the Details section to the Group Footer
4) Go to the Group Selection Formula (Report > Selection Formulas > Group) and use this code:
{Truck.ArrivalTime} = Minimum({Truck.ArrivalTime}, {Incident ID})
5) Suppress the Details Section
-Abhilash -
Issues with Infoview data refresh on Crystal Reports based on BW BeX query
Hi all,
We applied the Business Objects XI3.1 fix pack 3.1 with Integration toolkit fix pack 3.1 in our environment.
After that we started having trouble with Crystal Reports based on BeX queries that use manual input variables.
The data refresh would not work in Infoview.
The data refresh would work using the Crystal Reports designer gui on local machine.
regards,
AbhishekHi all,
This thread is for the benefit of all the BW/BO people who faced issues with BO reports not working after certain fix pack installations.
After lot of time spent in debugging this and researching and some help from SAP, we found that BASIS had missed a step in the BO patching. This step was relating to applying some BW transports in the BW system related to the new Integration toolkit.
Please use below notes for the BW transport task of patching BOE Integration toolkit.
Refer to Note#1472104 which explains about loading the
transports when we install BO Service Packs or Fix Packs. Also please refer to the Note#1271751 for the advice on transports for BW systems.
Please go through page 206 (Configuring transports) in the SAP Integration Kit installation guide. You can download this document at below link.
https://websmp106.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
Refer to Note#1345919 which explains about the process of loading transports for SAP IK.
regards,
Abhishek -
Launch a Crystal Report Based on a Bus. Objects Universe with code
Post Author: BobM
CA Forum: .NET
Launch a Crystal Report Based on a Bus. Objects Universe with code
We have purchased Business Objects Enterprise XI R2 and have designed a universe. We have hundreds of scheduled reports that have been configured through the InfoView. The problem is that we run these reports on a very odd date schedule and it is extremely cumbersome to go into these report definitions and change the dates in InfoView.
We would like to be able to store all the report parameters in a table (outside of the BO universe) along with the date and time we would like it to run. All of this would need to be tagged with the report name so we know what report we are referring to. Then we would like to sweep this table periodically (or use some other triggering mechanism) and launch the reports as specified (hopefully) using an API/SDK (like the one that used to be available with Crystal) to launch the .RPT file and pass all of the appropriate parameters, and possibly the credentials if need be.
In short we want to roll our own report scheduler due to some limitations we have found in the InfoView scheduler.
My main question is, does an API/SDK exist that can launch a crystal report that is based on a Business Objects Universe? As I had stated, it needs to be able to pass parameters in the report call. Based on my previous projects using Crystal connected directly to a SQL Server DB, I beleive this is possible, but I would like to hear from others that may be doing something similar with a Business Objects Universe back end.
We are using Crystal Reports XI R2. Just to be clear, all of the functionality I specified up to the point where the report needs to be called is not an issue, we know how to do all of that.
Thanks in advance,Bob
Code; API; Business Objects; Universe; Crystal; BO Enterprise X11; Crystal Reports XIWith the code, you've presumably logged on to the database. To insert objects on to a new report you'd want to use code along the following lines:
private void AddTableFromDataSet(ref CrystalDecisions.CrystalReports.Engine.ReportDocument rpt, System.Data.DataSet ds)
ISCDReportClientDocument rasReport = rpt.ReportClientDocument;
// Convert the DataSet to an ISCRDataset object (something the ISCDReportClientDocument can understand)
CrystalDecisions.ReportAppServer.DataDefModel.ISCRDataSet rasDS;
rasDS = CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Convert(ds);
// Add the dataset as a data source to the report
rasReport.DatabaseController.AddDataSource((object)rasDS);
// Add a field to the report canvas
// Note: This is quick and dirty. No positioning, resizing, formatting, etc.
CrystalDecisions.ReportAppServer.Controllers.ISCRResultFieldController rfc;
CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable crTable;
CrystalDecisions.ReportAppServer.DataDefModel.ISCRField crField;
rfc = rasReport.DataDefController.ResultFieldController;
crTable = rasReport.Database.Tables[0];
crField = crTable.DataFields[2]; // Hardcoded field "Customer Name" in the Customer table from Xtreme Sample Database
rfc.Add(-1, crField);
// Save the report template to disk (without data)
//object path = @"c:\documents and settings\administrator\desktop\";
//rasReport.SaveAs("test.rpt", ref path, 0);
//MessageBox.Show("Done!");
For more info, see sample apps on the following link:
http://wiki.sdn.sap.com/wiki/x/IgBmBQ
Also, consult your 'Report Application Server .NET SDK Developer Guide" and "Report Application Server .NET API Guide". I'd provide the appropriate links, but you do not mention the version of CR you are using...
Thread moved to the '.NET - SAP Crystal Reports" forum.
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] -
Connection between Crystal Report and SAP ECC
Hi. can you help me please.
I'm testing the connection between Crystal Report and SAP ECC. I tried using the tables,
but by making the links between foreign keys does not bring data. The other way I tried was using an ABAP function module,
but using this way, Crystal will only works like a Presentation Layer because all the work was did it in ABAP;
besides that shows the limitation that I can not pass as input a table.
what is the best practice for reporting on SAP ECC using Crystal Report?
Thanks.Hi,
Crystal Reports is able to leverage tables, ABAP functions, SAP query and InfoSets.
what is the issue when using the tables ?
ingo -
Error While transporting Crystal Reports from BW DEV to Quality System
Hi.
I have developed a crystal report using the SAP menu. We saved the report to SAP BW dev server using the SAP menu and published it to BOE.
Now i want to transport my Crystal report to Quality system, I followed the same mechanism to transport crystal report which are aplied to other BW objects, but when i am trying to transport its giving me a short dump error:
The error appears something like this:
Error in the ABAP Application Program
The Current ABAP program u201CSAPLRSCR_CEu201D had to be terminated because it has come across a statement that unfortunately cannot be executed.
Function module u201C/CRYSTAL/PUBLISH_REPORTu201D was called
With the parameter u201CI_REFRESH_FOLDER_INFOu201D.
This parameter is not defined.
This is first time i am transporting any crystal report to other bw system.
Is there any document for transporting Crystal reports, I had searched SDN but didnt got any relevant documents.
or is their any setting which need to be done in BW side.
Any help will be appriciable.
Thanks
AnishHi,
I would suggest you open a case with support so that they can look at your system. In general you should be able to transport the Crystal REports object in the same way you transport a Bex query.
ingo -
Error while transporting Crystal Report from BW dev to Quality system.
Hi.
I have developed a crystal report using the SAP menu. We saved the report to SAP BW dev server using the SAP menu and published it to BOE.
Now i want to transport my Crystal report to Quality system, I followed the same mechanism to transport crystal report which are aplied to other BW objects, but when i am trying to transport its giving me a short dump error:
The error appears something like this:
Error in the ABAP Application Program
The Current ABAP program u201CSAPLRSCR_CEu201D had to be terminated because it has come across a statement that unfortunately cannot be executed.
Function module u201C/CRYSTAL/PUBLISH_REPORTu201D was called
With the parameter u201CI_REFRESH_FOLDER_INFOu201D.
This parameter is not defined.
This is first time i am transporting any crystal report to other bw system.
Is there any document for transporting Crystal reports, I had searched SDN but didnt got any relevant documents.
or is their any setting which need to be done in BW side.
Any help will be appriciable.
Thanks
AnishHi,
I would suggest you open a case with support so that they can look at your system. In general you should be able to transport the Crystal REports object in the same way you transport a Bex query.
ingo -
How to bulid a Crystal report based on Bex query as source
Hi,
I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
Thanks,Hi
The Crystal Reports are integrated with BW such that the query built in BW can be used to bulit Crystal Reports on them.
After launching the Crystal Reports, you will have and option : "Open reprt from BW" whcih will help you in opening the BW Queries and create Crystal Reports.
Also in the Menu there is an optin SAP-->Create New Report from a Query
Regards, Hyma
Edited by: Hymavathi Yanamadala on Aug 13, 2009 5:52 AM -
Performances with Crystal Reports (based on BW queries)
Hi,
I've created some Crystal reports based on BW queries, and I'm really interested in performances purposes. The BW queries I created are quick (with neither free characteristics nor hierarchies), and when I use them in a Crystal report, I identify a loss of time in the data extraction (BW --> Crystal), in the Crystal management of the layout and then in the publication to BOE.
To be able to use Crystal on BW queries is very useful, but if the response times are too much important, that's not good...
Is there any customizing to perform to get better performance ? Are there some analysis already performed with Performance point of view ?
If you have any best practice or piece of advice to shorten the response time in Crystal reports, I'm really interested in.
Thanks for your replies,
Best regards
JonathanHi,
there are many SDN threads or forums dealing with the integration BW and Crystal.
You should have a look to the forums created by Ingo Hilgefort (SAP expert on the BW-BO integration).
You can start with that one :
/people/ingo.hilgefort/blog/2008/09/17/businessobjects-and-sap--installation-and-configuration-part-1-of-4
Best regards,
Jonathan -
How to Save/Transport Crystal Reports 2013 reports in ECC (not BW)
Hi,
we are using Crystal Report 2013 and have reports which are based on ALV´s and SAP Tables directly.
I want to know if it´s possible to save the reports directly in the ECC system, with transport connection etc. and maybe the possibility to translate the reports later in another language.
I know the way when we have reports based on a BW system, there it is really easy and integrated.
But in this case we are on a normal ECC System, not a BW Enviroment.
At the moment we have the report rpt files locally.
Has someone already done this and or knows a tutorial what steps are to do? (connection, package, roles)
Kindly regards
MaxHi Max,
Please have a look at this document from Tammy Powlas.
-Abhilash -
Crystal Reports Based on SAP Function Module and Transperant Tables
Hi,
I need to develop reports based on SAP trasperant tables and to filter the records I require to use one of the function module in SAP.
I have created parameters in Crystal reports that are required for the function to execute and are included in the where clause of the query. This helped the fuction to get those parameters and execute it.
The thing is that the fuction works fine with one set of parameters and gives accurate results both in SAP and Crystal Reports.
But fails for other set of parameters.
It works fine when we directly execute function in SAP produces a record set. But, when we pass those parameters from Crystal Reports it fetches no data.
Can anybody tell me the exact procedure to use function module and transperent tables together in Crystal Reports ?
Thanks in Advance.
Niwas JoshiHi,
This is going to be hard to explain, however you need to recognize that the function has input and possibly output (export) parameters. Crystal Reports is able to work with these parameters. However it is up to you to figure out how these parameters are used effectively to give you the correct results when joining the function with other data sources such as transparent tables.
If you're using transparent tables and functions in a Crystal Report, then you need to link these objects in such a way so that a left outer join for example is using the function's output parameters to join to the transparent table equivalent fields. However if the table is the starting point then the joins from the table should join the Input parameters of your function.
you can set these joins in the Database menu | Database Expert | Links of Crystal Reports. -
Dear All!!!!!!!!!!!
I am new to SAP BO crystal reports.
I want to extract the data from SAP R3 tables and design the crytal report. When i tried to make a new connection;
We have lot of connection as OLAP;OLE DB and etc, I am not sure how to establish a connection between R3 tables and crystal reports. I cannot able to find documents too...
Is there any documents available to make the connection or can anyone help me out to figure this..........
Thanks in advance.
Regards,
Suman.Dear Efstratios Kara,
I installed SAP Integration Kit 3.1. Yes I installed the integration kit after installing CR.
I have uninstalled the earlier version and i have reinstalled CR with (12.3.0.601) version.
But still i cant view the SAP connectivity. can u tell me from which version they have included this connectivity option in CR.
If CR going to support SAP Table connectivity on specific version, what is that version.
Waiting for your reply.
Regards,
Suman -
Crystal Report - More than one table from MySql
Hello, I am in need of help big time.
I have am using Visual Studio 2010 and Crystal Report 10.
The problem that I am incounting is that I am unable to retreive data from more than one table from a MySql database. I have been stuck on this for too long and need to hjump the hurdle.
I am using a MySql connection string, a dataset and a crystal report which is based on the dataset.
The main error that I am having is, the browser opens and a form appears saying "The report you requetsed requires further information" With the Server name: DataSetPropertiesDetials, while the User name and Password fields are then enabled.
I am guessing I am missing something in my code.
When I retreive data from one table the report is fine, but when I try to use more than one table it throws the error.
My Code is below and also attached:
Imports System.Data.SqlClient
Imports System.Configuration
Imports MySql.Data.MySqlClient
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.Web
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim con As MySqlConnection
Dim rpt As New CrystalReport3()
Dim myReport As New ReportDocument
Dim myData As New DataSet
Dim cmd As New MySqlCommand
Dim cmdUser, cmdProperty, cmdBranch As New MySqlCommand
Dim daBranch, daProperty, daUser As New MySqlDataAdapter
con = New MySqlConnection()
'Connection String
con.ConnectionString = "Server=****;Database=***;UID=***;Password=****"
Try
con.Open()
cmdBranch.CommandText = "SELECT branch FROM tblbranch"
cmdBranch.Connection = con
daBranch.SelectCommand = cmdBranch
daBranch.Fill(myData)
cmdProperty.CommandText = "SELECT ref, keys_held, key_no, keys_out, no_name, address_line1, address_line2,key_label FROM tblproperty"
cmdProperty.Connection = con
daProperty.SelectCommand = cmdProperty
daProperty.Fill(myData)
cmdUser.CommandText = "SELECT known_name FROM tbluser"
cmdUser.Connection = con
daUser.SelectCommand = cmdUser
daUser.Fill(myData)
myReport.Load("REPORT LOCATION")
myReport.SetDataSource(myData)
myReport.Database.Tables(0).SetDataSource(myData.Tables(0))
CrystalReportViewer1.ReportSource = myReport '
Catch myerror As MySqlException
MsgBox(myerror.Message)
End Try
End Sub
End ClassHi,
You have 3 SQL commands but you are calling SetDataSource only once. You need to look through for each of the SQL Commands.
Good luck,
Brian -
Crystal Report connecting Multple ECC systems
Hi,
I am working on crystal where I compare the data between to two diffrent databases(ECC tables). I am using SAP Table, function mudule option to create connection.
I have built a main report against ECC system A and imported a sub report built on ECC system B. Now I see that connection in my main report is overwrting the connection in the sub report. If I change the connection in the subreport with set data source location it changes the connection of both sub report and main report. After I deploy this report to infoview, in cmc I see only one database connection.
Is this a bug or can we have only one connection to ECC system per one crystal report even if it has sub reports?
ThanksYes that happens automatically, I just checked the same logic with universes built against oracle data source, I could see two coonections in the CMC. Its like its there is this issue when I am connecting to sap tables directly
Maybe you are looking for
-
Making a photo Gallery in Flash cs4
Is there an easy way to make a cool looking, interactive photo gallery that i can insert into my website usuing flash?
-
hi all, i need a pl/sql code to store the pdf file into the oracle database using blob. help me. Thanks in advance
-
Bring application to systray automatically on computer start ?
Hello friends, i have a problem i know how to put application to systemtray on close button click and minimize click.. but i want my application in systemtray automatically on computer restart or when computer starts until i manually close it
-
Hi, I had an ipad i turned on to use, and battery didnt have much juice left in it, then it rebooted. Shows Apple Logo, then the spinning circle and shuts down, and stuck in that loop. Plugged it into Itunes on PC in DFU mode and it said recovery mod
-
Set folder permissions by Powershell
Hello there. I'm trying to set permissions to a shared folder by Powershell. I used the following script: $Acl = Get-Acl "C:\MySharedFolder" $Ar = New-Object system.security.accesscontrol.filesystemaccessrule("username","FullControl","Allow") $Acl.Se