Link Tables in Crystal Report
Hi
I am using Crystal report2008 in SAP Business One.
I have made links between OCRD(BP Record) and ORCT(incoming payment). I want to display BP data Opening balance as well as Incoming payment document total. It displays nothing.
Can anyone help me how to display both in a report?
By
Kalai
Hi
Thanks for all who made efforts.
Yes these are the only tables. Account balance from OCRD.Balances
Invoice totals from OINV.DocTotal and Incoming payment total from ORCT.DocTotal.
Now the issue is am getting results, But it gives repetition of vlaues
Eg.
A customer has 1500, 2000, 4000 of Invoice total and 1500, 2000 of Incoming payments.
It gives results like
Cardname OINV.DocTotal ORCT.Total
A 1500 1500
A 2000
A 4000
A 1500 2000
A 2000
A 4000
What will be problem, Plaz give me a solution
By
Kalai
Similar Messages
-
Cannot link tables in Crystal Reports 2013
Hi Forum,
We upgraded to CR 2013 from old 8.5 and i cannot link tables anymore.
I disable Smart Linking and work ok now but i really don't want to keep it disable because some users are used to smart linking.
Is there a seeting or something in the registry that i can add or change to make the smart linking work?...
the error that i was getting is attached:
Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: crw32.exe P2: 14.1.5.1501 P3: 54616206 P4: StackHash_ba3d P5: 6.1.7601.18247 P6: 521ea91c P7: c0000374 P8: 000c3873 P9: P10: Attached files: These files may be available here: C:\Users\TGHAZAL\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_crw32.exe_9cb4f582e912c9a7d84acec8103b1fec3cc260e_121d946b Analysis symbol: Rechecking for solution: 0 Report Id: 9ca8bfab-e867-11e4-8ffc-904ce5e0a392 Report Status: 0
Regards,
Manuel RomanHi,
Rearrange links and then try.
Thanks. -
How to Create a Linked Subreport in Crystal Report for Enterprise
Hi All
I am developing a monthly report grouped by cost centre, I want to create a second table for each cost centre showing year to date, underneath the monthly data for that cost centre. My thoughts on how to achieve this is to create a linked subreport in the group footer of the cost centre grouping. However every time I try to set this up the report crashes. Am I doing something wrong, can this be done in crystal reports for enterprise? Can anyone give me a pointer on how to set up a linked subreport so that it passes the particular cost centre the report is grouped upon into the subreport so it only shows data relevant to that cost centre?
Any help will be appreciated as I am going in circles at the moment.
Thanks
Neil
Edited by: SmiddyLad on Feb 6, 2012 2:49 AMHi Neil,
You are doing right. You can create linked subreport in crystal report for enterprise. Please refer below link to see the elearning tutorial in which a simiar scenario is explained step by step. Here its an unlinked subreport. Enable subreport filter to make it linked and try. It should work.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/200c56fc-5a02-2e10-36a1-ba3d28e31fc2]
Hope it helps you.
Regards,
Nikhil Joy -
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 -
Desgin a smple table in Crystal reports
Hi,
I am trying to design a simple table in crystal reports 2008. like this
|__________________________|____________________________|
|__________________________|____________________________|
|__________________________|____________________________|
|__________________________|____________________________|
is there a way to do it without trying to arange each field for hours?
And when viewing in the crstyalviewer (winforms) (for VS2010) kills once again all formatting and looks terrible.
Please help
Edited by: sadenick on Feb 18, 2011 5:11 PMAs I read this post, I see two queries.
1) report design in CR 2008
2) formatting issue when using the report in VS2010
The former question shoud be posted to the [SAP Crystal Reports Design|SAP Crystal Reports, version for Visual Studio;
For the latter; what version of CR are you using in VS2010?
and
"...formatting and looks terrible" does not tell me much. A picture is worth a thousand words and more in this case. Please provide a link to a screen shot of what you expect and what you get.
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] -
Link to a crystal report with prompt from xcelsius dashboard
Hi
How can we make a link to a crystal reports with a country promt?
If I named the prompt ContryParam in Crystal.
And I want to open this crystal report by sending f.eks UK as countryname to this report.
What will the link be seeing as in xcelsius?
How will the connection be made from xcelsius to this spesific crystal report`?
BR
SadafHey Sadaf,
This example uses prompt# to pass "CA" as a value to the first parameter:
http://<servername>:<port>/CrystalRe
ports/viewrpt.cwr?id=1152&prompt0=CA
search for follwing document title for further reading
Viewing Reports and Documents using URLs -
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 -
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 -
Update the web links on the Crystal Reports start page?
Many of the web links on the Crystal Reports start page are now useless and direct to the general "Welcome to the SAP Support World!" page.
When will / how can these be updated?You should be able to do searches here:
https://www.sdn.sap.com/irj/sdn/businessobjects-articles
https://www.sdn.sap.com/irj/sdn/businessobjects-downloads
Ludek -
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 -
Linking Function Module to R/3 table in Crystal Reports
Hi Experts,
I am creating a report wherin I am linking a function module to a R/3 table. When I try to preview this report, I am getting "Failed to retrieve data from database" and then"Invalid Argument Provided".
If I exclude either FM or Table from report, both return data to the report.
It is Crystal Reports 2008
SAPGUI 720
CRDB OpenSQL dll is 12.3.0.601
Thank you
IMSHi all,
This issue is apparently fixed by applying FP3.1.
Will do so and update the post here.
Cheers
IMS -
How to use function module together with tables in Crystal Report?
Dear all expert,
I have the following situation where I need to use a function module in my crystal report, But how can I link the FM with the tables so that I can pass out some value from the FM to the report?
Thank You.Hi,
Hope the following helps..
1)
LOOP AT IT_OUTPUT.
Call the function module to get the tracking number and store the output in the
variable V_TRACKINGNO.
IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
ENDLOOP.
2) Date conversion
DATA: V_CHAR(10) VALUE '2006.11.17'.
DATA: V_DATE TYPE SYDATUM.
CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
WRITE: / 'MM/DD/YYY Format - ', V_CHAR.
Please make sure to reward points for helpful answers..
Thanks,
Naren -
Hello,
Let me start by apologizing in advance because I am not as technical as most of you that will likely respond. I am working for a company that has partnered with BOBJ and I am trying to develop a report internally, but we do not have any Crystal Reports experts in-house. Here is the background info:
I am using Crystal Reports XI R2 (SP3) and I am accessing the report data from a Universal Web Services Connection (UWSC). Basically, our company pushes reports to a server (in what appears to be a flat .CSV file) and my Crystal Reports designer accesses this data via the USWC after authenticating login credentials for the server. I have four data tables stored on the server, each with ~8,100 records.
Here is what I am trying to do:
I am trying to consolidate the four data tables into one Crystal Report, but I think I am linking the data tables incorrectly. The report would be structured to show all metrics and calculated values (via formulas) for 900 projects grouped by the 9 established date periods. These are my four data tables, with their associated columns, on the server:
1.
Date
Project name
Project ID
Sales Rep
Sales $ (Forecast)
Sales $ (Actual)
Sales $ (Variance)
2.
Date
Project Name
Project ID
Project Manager
3.
Date
Project Name
Project ID
Cost $
4.
Date
Project Name
Project ID
Revenue $
So, as I said, I am trying to link these reports into one comprehensive Crystal Report that may contain formulas that span across each data table. Each table has about 900 projects where each project's values are reported for each of 9 date periods (there are only 9 possible values in the date column), which gives me my ~8,100 records in each table. Think of this as a pivot-table file where each of the 900 projects (and Project IDs) will appear 9 times in each table for each of the 9 established date periods. I tried linking the values Date and Project ID in my Database Expert to the corresponding Date and Project ID columns in report #1 and then grouping the Crystal report by Date from report #1, but I received a database connection error and reading records seemed to take about 3 seconds per record.
If anyone can provide some insight here I would greatly appreciate it. Please be as specific as possible because I have tried a few options and cannot seem to get exactly where I need to be.
Thanks in advance for any responses.@sharon towler: Sorry, I must have not been clear about the end result of my report, so your reply is not specific enough and doesn't seem to get me to the solution that I desire in my report output.
@Brian Dong:
It's a report that would list the records pretty basically with some formula use (addition of fields between reports). The report might apear as below with each column header separated by "|" and the formuals written in the column headers:
(Group Header)
Date
(Details)
Project name | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Variance) | Project Manager | Cost $ | Revenue $ | Sales $ (Actual) minus Cost $ | Revenue $ minus Cost $
In this report, the table listed as #1 in my first post would be the "1 driving or main table" and all the other tables (#2,3 & 4) will supply the supplimental data for each record (table #1).
As for my criteria for a record, I would say that technically, in this Crystal report it is determined by the unique Project ID AND the Date (my Key Fields). More specifically, each project, with its unique Project ID, will appear 9 times in each of my 4 tables for the 9 different date periods, so my records are really determined by the unique Project ID AND the unique Date. In all cases, the Project ID and Date are the same field types in the 4 tables. Here is a simplified example using date input in only table #1 & 2:
1.
Date | Project Name | Project ID | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Var)
9/1/08 | Deployment Test | 5 | Jim Smith | $100 | $75 | $25
8/1/08 | Deployment Test | 5 | Jim Smith | $120 | $50 | $75
9/1/08 | Testing Website | 34 | John Doen | $200 | $50 | $150
8/1/08 | Testing Website | 34 | John Doen | $400 | $125 | $275
2.
Date | Project Name | Project ID | Project Manager
9/1/08 | Deployment Test | 5 | Bob Jones
8/1/08 | Deployment Test | 5 | Bob Jones
9/1/08 | Testing Website | 34 | Bill Carr
8/1/08 | Testing Website | 34 | Bill Carr
In this case, you can see the Projects with IDs 5 and 34 appear in both of the two tables. In my final Crystal report I would just want to display the Project Manager from table #2 above as another column alongside all the other metrcis in the "main table" in table #1 above when the Project ID and Date match. The trial and error method is not exaclty working for me vert well because any field that I add to my report causes the database connection error.
I hope I didn't complicate things even more and please let me know if you have any more advise now that I have provided some specifics. -
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 -
No link after exporting Crystal report as pdf file
Hello,
If my Crystal Report contain link to the .avi file saved on the local hard disk and if I export the Report as .pdf file, pdf file does not contain that link. Why?
The overall scenario is like-
My application fires a query on SQL Server database and result of that query is stored in a Dataset. This dataset is set as a datasource to the Crystal report. Now some, records (returned by the query) have .avi files(i.e. Event Videos which are stored on the local hard disk) associated with them. I have stored these .avi files in a specific path on local Hard disk say "C:/EventVideos/*.avi" . I used a special format in these avi files name. (like - "EventVideo_1.avi" (This is for 1st event), "EventVideo_5.avi" (This is for 5th event)etc. to identify which avi is for which event. All events do not have avi files associated with them)
Now, I take one object in crystal report. Using it's Format editor created a formula for hyperlink as -
"file:///c:/EventVideos/EventVideo_" + {DataTable1.EventID} + ".avi" .
EventID is the field of dataset which has ID's (like 0, 1, 2, 3, 4 etc) of all resulted events. It is of a String data type.
Now when I export, my report as .xls, .rtf, .doc, I can open the avi files. When I bring cursor on this object, cursor get change to Hand and after click on it avi file start to play.
But if I export it as .pdf, it does not contain the link for avi files. When I bring cursor on this object, it does not change to Hand, and after click on it nothing happens. No video play.
I stick to this problem.
Appreciate your help.
Thanks in advance.Taken from CR Help File:
"PDF format is a page-based format. The exported documents are intended for printing and redistribution. PDF format will export both layout and formatting in a manner that is consistent with how the report looks on the Preview tab. PDF format embeds the TrueType fonts that appear in the document. (Non-TrueType fonts are not supported.) This export format does not support Microsoft font-linking technologyu2014which is used to provide support for some extended character sets such as Chinese HKCS. Therefore, the fonts used in the report must contain all of the required glyphs. These URI types are supported for hyperlinks: "http:", "https:" and "mailto:".
Therefore your hyperlink is not working as u are using File type when cr only supports http https and mailto uri types
Maybe you are looking for
-
Allowing user to run an optional test
I'm new to Teststand and Labview. Can anyone tell me a simple way for allowing users to run an optional test sequence at the end of another test sequence. I've played around with the message popup step, hoping that I could just call the optional sequ
-
My macbook pro hard drive issue
hi i have a problem with my macbook pro a1226 cant erase the hard drive also i can't activate the hard drive and when also repair doesn't work. when i startup the Macbook pro i get a grey loading bar after loading it restarts the mbp do someone know
-
Hi all, I'm currently running FCP 6.03 on an iMac 24' 3.06 running OS10.5.3. While digitising at pal 48 from a Sony DSR-40p through firewire to a WD fw800 raid drive I'm getting frequent freezes after about 10 or 12 minutes of digitising. It is fairl
-
After hooking up cable and starting iphoto the pictures will not import....it says it's loading but nothing happens. Does anyone have any suggestions. I've made sure my camera's battery was fully charged.
-
is it possible that apps built for the iPad (specifically iWork for iPad, and iBooks, to name a few) will be updated to support the iPhone and iPod Touch?