Writing to a table using Crystal Reports
I know there must be a way to write to a table after Crystal Reports collects the data.
Can someone kindly go over the steps in doing so? I'm using SQL Server. Let's assume the data returned is one row.
Thanks in advance,
Zack H.
Hi Zack,
Use the export option and then chose ODBC. CR will create the table based on the fields in the report.
Thank you
Don
Similar Messages
-
Reporting in SAP HCM using Crystal Reports
We have decided to use Crystal Reports for SAP HCM Objective Settings and Appraisal component.
What will be the best option to access SAP HCM Tables using Crystal Reports?
Regards
FaisalHi,
I have to assume that you've followed the Admin guide and given sufficient Authorizations (as per the detailed list)
Actually, there are quite a few related notes about this, if you search in SDN or via SMP: www.service.sap.com/notes or /x-search . for example:
1334461 - After upgrading SAP R/3 ECC5 to version ECC6, the Integration Kit transport package /Crystal/BC was found in DELETED OBJECTS and Crystal ODBC connection cannot view or browse any tables
1374874 - Cannot see the SAP tables, clusters or functions in Crystal Reports
here's a suggestion:
using the Database Options:
When creating a new report, in the Database Expert window, click on SAP Table, Cluster, or Function
Log on to an SAP system
Once connected, right click on the connection created and select Options
In the Options window, in the Data Explorer area, use the Table name LIKE field to select only a subset of data.
Type the full or partial name of the tables you are looking for
Use the percentage sign (%) to denote any number of characters
Use the underscore (_) to denote one characters
Once done, click OK to accept the change.
Back to the Database Expert window, right click on the connection and select Refresh
Regards,
H -
How to create a clickable Table of contents using Crystal Reports 8.5
How to create a clickable Table of contents using Crystal Reports 8.5. I was able to create the table of contents using subreport and temporary table. but not able to link to the pages.
how to make it clickable ?
-VivekHi Vivek,
To you may create on demand sub report.
In main report only the link will be shown when you click on the link the sub report will be opened in a new tab.
It can be placed in a Group header and to show the data for that particular group only.
Click on the Help menu in the crystal Reports Designer and open the Crystal Reports Help
Go to Index tab and type in subreport
Select Creating On demand you will get lot of information on that.
Please let us know if that is enough to solve your problem
Regards,
Aditya Joshi -
Using crystal reports to generate invoices
Post Author: samme
CA Forum: General
I'm writing a report for a client who wants to print multiple invoices using crystal reports. The invoice needs to sort in date order, one date and information associated with that date on each page. Each page has a subtotal since multiple items/services are linked ot one date. The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal. Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
The client wants the normal invoice information on the first page of the invoice: Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
I have the report grouped by invoice number and then by a date formula. I cannot seem to get where I need to be with this invoice and have been working on it for some time. Can anyone give me some direction please.....
Thanks in advance!On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
<[email protected]> wrote:
>I know. We thought that the Report Builder would be the way to go,
since
>ART didn't do too much for us. You guys poorly document it, and,
show no
>examples of using it to build a report. In addition, it'd be nice if
>SOMEONE would come up with a list of what tables show what. While
Novell
>may have a detailed list of things in the ZFD docs, it's pretty much
so
>detailed and complex that, it's next to useless. I've resorted to
doing
>huge dumps of things to a csv, then, using CR or Excel to generate
some kind
>of report.
>
>The whole process is not as easy as it should be, seeing that we paid
money
>to get a reporting vehicle.
>
>As comparison, SMS isn't any easier, but, there's more documentation
on it,
>so, when you're forced to roll your own report, it's a clearer
path...
I do understand, I'm not a programmer either :-(
the company who wrote report builder is Digital Metaphors, they have a
very good
training application and additional detailed information of how to
write
reports.
The CIM schema is I agree Cr** (well not easy) and without the detail
that
Novell provide it doesn't work.
I hope that a friend of mine is going to provide the compromise that
you and I
are looking for. Namely the ability to create the SQL queries that
ART can
make, with a simple report system. Keep an eye on caledonia.net for
an
announcement for ART4 (Derived from but unrelated to Salford
Software's
product) :-)
Tim
No Direct e-Mail Please!
Tim Heywood
Independent Consultant
Scotland
Novell Support Connection SYSOP
In theory, practice and theory are the same,
In practice they are different! -
Not able to get the tables in crystal report 2008
Hi,
I am using crystal report 2008 and trying to connect MS SQL using OLE DB (ADO) connection. After giving all DB credentials data base tables are not appearing in the connection. how to get the tables for selection in crystal report 2008.
Regards,
SreeIn the CR Designer, select the connection and press the right mouse button. Select Options in the context menu and check if there is an entry in the Table name fiel. Maybe you have a placeholder there that does not match the names of the tables in the database. Just remove it, close the window by pressing OK and refresh the connection browser (press F5). Unfold the connection again and check if you can see the tables now.
Regards,
Stratos -
Print Preview using crystal report in SAP B1 slow.
Dear all,
I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
Thanks in advance
bodhi86Hello,
How do you answered to this question ?
Malika
Edited by: Malika Sanoune on May 13, 2011 1:48 PM -
Get error when preview marketing documents by using crystal report layout
Hi experts,
I want to switch to using Crystal Report for marketing documents layout. I have import Sales Quotation u2013 Generic (CR) layout which provided by XX-1.2.b1p package. I can preview added records but it doesn't work on drafting documents and saved drafts. The system prompt u201CThe system cannot find the path specifiedu201D and u201CObject reference not set to an instance of an objectu201D. On the same server, it was working fine in our other company database. I don't think this is the problem of database location setting in Crystal Report. Can anyone give me advices, thanks!
Regards,
IvanHi! Rahul,
Thank you for your reply first. Your method doesn't work in my case. Can you tell me the steps of creating a new layout for added records and draft documents. I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
2. Insert "CardName" field to report > Create DocKey@ parameter and set it equal to DocEntry in select expert record function
3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
Regards,
Ivan -
How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?
I'm creating reports in Crystal XI. The information being displayed in the reports comes from data tables where the text is formatted in HTML.
I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser. Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags. Here's that workaround:
<!--
stringVar TableName := ;
TableName := Replace (TableName, "<ul>","<br> <br>");
TableName := Replace (TableName, "<li>", "<br> • ");
TableName := Replace (TableName, "</li>", "");
TableName := Replace (TableName, "</ul>","<br> <br>");
TableName := Replace (TableName, "<a", "<u><font color='blue'");
TableName := Replace (TableName, "</a>", "</font></u>");
TableName
-->
QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports? If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?Hi Steven,
To display html text in Crystal Reports follows these steps.
1. Right click on the field and select Paragraph tab.
2. Under 'Text Interpretation' select 'HTML Text' and click OK.
I have tried using the way,but it never works.So reply me if there is any way to solve the issue -
Problems with concurrency tests using Crystal Reports for VS 2005
Post Author: condeagustin
CA Forum: General Feedback
Hi
My name is Agustin and Im using Crystal Reports for VS 2005
and NET 2.0 to generate pdf files. This is the scenario:
I created a COM+ object in c# and everytime the
COM+ creates an instance of this object, the following flow is executed:
it reads an xml file from a database, then it feeds the report with this
xml file, afterwards it generates a pdf file and finally this pdf file is
inserted into the database. Both fields (xml and pdf fields) are varbinary in the
same table in sql server 2005. All the flow from reading the xml to inserting
the pdf into the database is executed in memory, it never goes to the hard
disk. In other words both the xml and the pdf file are stored in memory (the
RAM). That is the only function of that COM+ object and I already have it in a
production server and it works GREAT!!
The PROBLEM is the concurrency tests. I made the following tests
in the same production server:
1. First I went to the registry and I set the PrintJobLimit to
100 in HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.2Report Application
ServerServer
2. I shut down the object in the COM+ and I executed 100
threads all at the same time. Each thread created one instance of the object in
the COM+ and the 100 pdfs were generated SUCCESFULLY in 5 minutes!!
3. Then I executed again 100 threads (WITHOUT shutting down the
object in the com+). 10 pdfs were generated succesfully but the rest were
never generated and there was no exception because my object was NEVER
INSTANTIADED in the COM+, I mean, the 90 instances were never created in the
COM+, so my object was never executed, THAT IS MY PROBLEM!! Do I have to
modify something in the registry files of crystal reports to fix this? What can
I do? I have revised the code in that object a LOT OF TIMES and believe me,
everything is being closed and disposed at the end (the memory streams, the
ReportClass objects, the connection to the database, even the dataset used to
store the data of the xml file!
So to sum up the problem is not with the execution of my object
(cause once is created the object works great and the pdf is generated
perfectly!), the problem is with the com+ TRYING to create another instance
of my object given that test scenario. Help me please, What do you
suggest?
The production server has this specifications:
Operative System: Windows Server 2003 Enterprise Edition with Service Pack 2
Processor: Dual Core AMD Opteron 2212 2.00GHz
RAM: 820MB
Hard drive: It is partitioned in 2 drives --> C
drive has 20GB and D has 60GB
Note: Each generated pdf has only one page and if you bring it
to disk its maximum size is 56KB
I hope your answer and thank you
Agustín Conde MartíPost Author: John Werner Enoksen
CA Forum: General Feedback
Hi, im about to write a simular solution where I will use VS2008/Com+ to be in compliance to an existing solition written in VB6.0, so I was googling to look for bumps. Did you figure this one out?
Best regards,
John Werner -
Connect to SAP R/3 using Crystal Reports 2008
How to connect to SAP R/3 using Crystal Reports 2008 from Crystal Designer?
thanks, I can get the data from SAP R/3 to crystal report.
but still dont know how to do the second question mentioned in previous message:
once the table I want to get the data from is a cluster, and have found the mapping data dictionary of this data cluster, which displayed in crystal report connection as well, however, the data is not what I wanted. -
Again: Using Crystal Report to export excel sheet.
Morning every one, first Iu2019d like to apologize for my last question see Using Crystal Report to export excel sheet. Itu2019s pretty hard to understand and wastes your precious time. Now here is a new one hopefully it will do myself a lot of help:)
First, we have a table called HOURLY_PORTUTIL in the Database:
Column Name...........Data Type
STARTTIME ................DATE
CIRCLE.......................VARCHAR2
SERVICENAME...........VARCHAR2
PORTUTIL....................NUMBER
The data in this table looks like:
9/25/2008 00:00:00 AM...AP...(456)...0.01
9/25/2008 01:00:00 AM...AP...(456)...0.04
9/25/2008 02:00:00 AM...AP...(456)...5.04
9/25/2008 12:00:00 PM...AP...(456)...0.02
9/25/2008 00:00:00 AM...AP...AL-MOD...0.01
9/25/2008 01:00:00 AM...AP...AL-MOD...0.04
9/25/2008 02:00:00 AM...AP...AL-MOD...0.04
9/25/2008 12:00:00 PM...AP...AL-MOD...0.02
9/26/2008 00:00:00 AM...AP...(456)...1.01
9/26/2008 01:00:00 AM...AP...(456)...0.34
9/26/2008 02:00:00 AM...AP...(456)...5.24
9/26/2008 12:00:00 PM...AP...(456)...7.72
9/26/2008 00:00:00 AM...AP...AL-MOD...12.0
9/26/2008 01:00:00 AM...AP...AL-MOD...0.23
9/26/2008 02:00:00 AM...AP...AL-MOD...0.44
9/26/2008 12:00:00 PM...AP...AL-MOD...8.11
9/25/2008 00:00:00 AM...Delhi...(456)...1.01
9/25/2008 01:00:00 AM...Delhi...(456)...2.04
9/25/2008 02:00:00 AM...Delhi...(456)...6.04
9/25/2008 12:00:00 PM...Delhi...(456)...7.02
Then we have a Cross-Table:
Columns:
.............HOURLY_PORTUTIL.SERVICENAME
Rows:
............HOURLY_PORTUTIL.CIRCLE
............HOURLY_PORTUTIL.STARTTIME
............@hourly
Summarized Fields:
..............................Sum HOURLY_PORTUTIL.PORTUTIL
The Formula @hourly converts, say, '9/25/2008 01:00:00 AM' to '01:00-02:00'.
The above all is the information of our Cross-Table configuration, but the outcome is not what we want. I find that this forum doesn't want the user to post image, so I post the actually outcome and the outcome we want in my Picasa.
Actually outcome:
[http://picasaweb.google.com/enel.guo/ForWork#5288743968250408770]
What we want:
[http://picasaweb.google.com/enel.guo/ForWork#5288743974292750610]
I know that the outcome looks good enough, but our customers don't think so. They want export the report to Excel sheet and have every row with exact CIRCLE and STARTTIME.
Thanks again guys:)Hi Ashwini Yadav,
Thanks for your reply:)
I'm afraid that your answer is not perfectly right. Again I'm sorry for my vague description. The suggestion you gave us is already adopted. The total and grand total part disappeared but we still can't get what we want.
Please have a look at the new image link below, Hopefully it will give you a clear picture of what's going on:)
Cross-table:
[http://picasaweb.google.com/enel.guo/ForWork#5289122850514299506]
Cross-Table configuration:
[http://picasaweb.google.com/enel.guo/ForWork#5289123604007267826]
Cross-Table configuration::
[http://picasaweb.google.com/enel.guo/ForWork#5289122854967734466]
The original output:
[http://picasaweb.google.com/enel.guo/ForWork#5289120017105336914]
The output we want:
[http://picasaweb.google.com/enel.guo/ForWork#5289120018508824882]
Edited by: Yu-Lin Liang on Jan 9, 2009 3:51 AM -
How to use crystal report in php
hello
i need help for how to use crystal report for view the database report spacilly crosstab report i need it very much to complete my project ill be very thank full for help
from farooqHello sir
i am sudeep and i need to deploy crstal reports in php
i want to integrate it in sugar crm (open source project(
can u plz tell me how to do it
i have written this code
<?php
//echo phpinfo();exit;
$ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
$crapp = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");
//$crapp = new COM("CrystalRuntime.Application.10");
$reportToRun="C:\Report4.rpt";
$creport = $crapp->OpenReport($reportToRun, 1);
//reportToRun=full path to *.rpt file
$creport->Database->Tables->
Item(1)->ConnectionProperties['User ID'] = $user;
$creport->Database->Tables->
Item(1)->ConnectionProperties['Password'] = $pass;
//fomatType = integer 22=xls, 31=pdf etc
$creport->ExportOptions->FormatType = $formatType;
//type 1 is to output to a file I think 2 is email
$creport->ExportOptions->DestinationType = 1;
//location = full path to report output file
$creport->ExportOptions->DiskFileName = $location;
$creport->DiscardSavedData();
$creport->Export(False);
?>
thanks in advance -
Using Crystal Report to create reports from ABAP
Hello,
We are currently using Jetform as the designer for our outputs like Invoice, Order confirmation, etc.....
We would like to switch to Crystal instead, but don't really know where to start from.
- We already have crystal on our B/W instance
- The additional need for Crystal is in R/3, and would be triggered trough ABAPs.
What I am looking for. I guess, is the equivalent to when:
we call up smartforms from ABAP using the generated function modules
we call up sapscript from ABAP using the predefine function call (write_form open_form close_form, etc)
we call up Jetform using special control code along with the data, sent to a jetform configured printer
=> What kind of call would we then make to send data to Crystal Reports place holder and print them?
=> What kind basis set-up is needed to have to comunication between Crystal and SAP established?
Thank you in advance for yours hintsHi,
You will likely be able to access the tables directly using the Opensql driver using Crystal Reports. I don't understand why you are assuming that an Infoset is necessary. Can you point me to the documentation that states that an Infoset is necessary?
In any case, if you want to create an Infoset, this is done in SQ02. You need to make sure that you belong to a user group in order for Crystal Report to see the infoset. -
Need help in creating table in crystal report for visual studio 2010
Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
I have a datatable and I need to show that in crystal report in table structure.
I have tried using lines and boxes to generate the table but it is not working perfectly.
How can I export the report in excel format in read/write mode saving all the formatting in the reportHi,
Check sample codes from following:
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
Thanks,
Saurabh -
Make CFL for user defined tables in Crystal Report 8.8 ?
Hi Experts
Use Follwing qry for CFL ( user defined tables) in Crystal Report But its not Show CFL after run the Report in SAP B1 8.8
Period@Select T0.* from @OICC T0
Thanks & Regards
Dinesh LadeHi,
As far as i know, SBO can't figure out in such instance what are you doing, try linking it to an original table.
I usually use OADM for this purpose.
Hope this helps.
Regards,
Daniel
Maybe you are looking for
-
How do you I change the default e-mail address within a contact in Address Book
My v-card (My Card) information has 3 e-mail addresses. My work e-mail address is the default used whenever I use autofill on a web page. I am trying to change the default e-mail within my contact to my home e-mail address but there is no informati
-
How to disable player controls when embedding mp4 video?
I am trying to embed a mp4 video in a web page. Is there a tag for hiding the player's controls? I want my video to loop without any display of the player controls. Also, if anyone knows of some sample code for embedding .mp4 with all available tags
-
Is it possible to find and Replace a string inside a textfile using JSP?
FileInputStream fs = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/listpass"); DataInputStream in1 = new DataInputStream(fs); while (in1.available() !=0) String str1=in1.readLine(); StringTokenizer st1 = new StringTokenizer(str1); St
-
Hp prime Copy and pasting problems
Does any one know why the HP prime copy and paste function does not work properly. For example when I copy and past form the spreadsheet to the statistics 1 var app nothing happens. Perhaps there is a work around that will allow me to avoid this prob
-
What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?
What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?