Crystal Report-BW Query free characteristics missing
Hello,
I am working on a crystal report against BW query, I am using SAP menu to build the report. I see that free characteristics not coming into the crystal report.
Question1: Is this an issue or is it designed to work this way?
Question2: As an alternative for this In BW query I have changed all the free characteristics into rows, now I am able to see all the fields but the data is becoming flat, when I try to role up the data for cretain fields it does not work correctly. Example: Role up of Rates (%). With database delegation option in webi role up work fine there but what about in crystal?
Thanks
Hi,
you are most likely using the old driver. make sure in the Settings in the SAP Toolbar you activate the option to use the MDX Driver.
ingo
Similar Messages
-
Hi I would like to ask regarding queries from the database. I have 2 main tables that gets their images from 1 master table.
First is TASK table and Second is ASSET table. Both tables are relational.
Each Task has Asset connected by Task_Asset_ID.
But both tasks and each assets may have also images from the Image table thru Assignment table. But I am wondering how could I query the data to show tasks with images and assets with images in one row.
For example
Task 1 may have Green.jpg
Asset 222 may have Red.jpg
Knowing that Task and Asset are relational, is it possible to show them in one row in crystal report?
Task
TaskID
TaskName
Task_Asset_ID
1
Task1
111
2
Task2
222
3
Task3
111
Asset
AssetID
AssetName
111
Asset1
222
Asset2
Images
imgID
ImgName
1
Red.jpg
2
Yellow.jpg
3
Blue.jpg
4
Green.jpg
Assignment
AssID
TaskOrAssetID
ImgID
Type
1
1
4
X
2
222
1
Z
3
3
3
Z
4
111
2
XOk, this is going to get a bit complicated, but this is possible. The problem is that the Assignment table records can have either TaskID or AssetID, so you're going to have to use some tables twice with aliases.
Here's what I'd do...
In the Database Expert:
1. Add all of the tables to your report.
2. Add a second copy of Assignment and Images - when you do this, Crystal will warn you that the table is already in the report and ask if you want to "alias" it. At that point it will add the table with "_1" at the end of the table name. So, you'll have Assignment_1 and Images_1.
3. On the linking tab, create the following links:
Task.Task_Asset_ID to Asset.AssetID
Task.TaskID to Assignment.TaskOrAssetID - make this a left outer join (see below)
Assignment.ImgID to Images.ImgID - make this a left outer join
Asset.AssetID to Assignment_1.TaskOrAssetID - make this a left outer join
Assignment-1.ImgID to Images_1.ImgID - make this a left outer join.
To make a left outer join, right-click on the join and select "Join Options". Select "Left Outer" and save the join. Left outer joins will provide data even when there is no matching value in the table that you're linking to - the values from that table will be null.
In your report:
1. Put the following column headers on the report:
Task Name
Task Image
Asset Name
Asset Image
2. Put the following fields in the details of the report:
{Task.TaskName}
{Images.ImgName}
{Asset.AssetName}
{Images_1.ImgName}
3. Sort the data by Task Name and Asset Name.
-Dell -
Hi expert,
regarding crystal report query,im still new in crystal report,actually i want to make report join with table opor,por1,opor,oitm,oshp,nnm1,ocrn,por10 and octg.im face difficulty when want to join por10.then i join with por10.docentry = por1.docentry with table por1 and por1.visorder = por10.aftlinenum and im not sure it correct or not.im just want to make condition like this
if (T1.U_CSUS_Size = '') and (t2.LineType = 'T') then it will show (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size) else (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp) and joining (from POR1 T0
INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
inner join por10 T2 on T0.docentry = T2.docentry and T0.visorder = T2.aftlinenum)
for 'u_csus_.....' is for udf i created.can i know how easier step for this condition.i also already try alot of query.sometime can make duplicate column.
regards,
Arif
Edited by: Ahmad Arif on Jan 10, 2012 4:03 AMDear Anmad Arif
Try the below query
SELECT
(CASE WHEN (T1.U_CSUS_Size = '') and (t2.LineType = 'T') THEN
(t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size)AS NVARCHAR(1000))
else T1.[Dscription] End) AS [Description],
T1.VisOrder,
(CASE WHEN T1.[Quantity]<=0 THEN NULL ELSE T1.[Quantity] END) AS Qty,
CAST(ISNULL(T3.UserText, '''') AS VARCHAR(MAX)) As ItemDesc,
T1.Currency, T3.SuppCatNum,
(CASE WHEN T1.linetotal<=0 THEN NULL ELSE T1.linetotal END) as amount,
(CASE WHEN T1.[price]<=0 THEN NULL ELSE T1.[price] END) AS Rate,
T3.UserText,
T0.DocEntry,
ISNULL(T1.U_Unit, T3.SalUnitMsr) AS SaleUnit,
ISNULL(T3.BuyUnitMsr, '''') AS PurchaseUnit,T1.VisOrder,'' LineSeq,'' aftLineNum,
ISNULL(T0.U_QText,'') AS QText,T1.U_QRR as QRR
FROM OPOR T0
RIGHT OUTER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
RIGHT OUTER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
LEFT OUTER JOIN dbo.OSCN AS T4 ON (T0.CardCode=T4.CardCode AND T1.ItemCode=T4.ItemCode)
WHERE T0.Docnum = '4063'
UNION ALL
SELECT CAST(ISNULL(T1.LineText, '') AS VARCHAR(MAX)) AS [Description],
T1.AftLineNum,
NULL Qty,
null,
null ,NULl ,NULL,
null Rate,
NULL,
T0.DocEntry,
null,
null,T1.OrderNum,T1.LineSeq,AftLineNum,'' AS BPCatlog,
null
FROM OPOR T0
RIGHT OUTER JOIN POR10 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.Docnum = '4063'
And T1.LineText IS NOT NULL
Note : Change the DocNum= DocKey When you use Crystal report As per your requied
Regards
Kamlesh -
1) Do Company A (which is a group of companies consisting of Company 1 u2026.. Company N), require the Developer License only, and distribution to its group company is free?
2) If u2018Company 1..Company Nu2019 are sub-companies of Company A then does 'Company 1', u2026.. , 'Company N' require full engine of Crystal Report 2008 or just the run time engine is sufficient?
Do they require license for the same, even if they just use the run time engine?
3) In case where 'Company 1',u2026., 'Company N' purchase a license, in that case, does 'Company A' still needs to purchase the developer license?
4) According to you what would be the best license option, so that there is no burden on 'Company 1',u2026.., 'Company N' and also on parent company A?
Pls advise
Thanks
simmyThese questions are better posed to the sales team; 866-681-3435
To start with, the licensing is different for web apps and win apps. Also licensing is different depending on what version of CR you are using. I'll set you up with a few resources and if these do not answer your questions, you will have to contact sales for more info.
For CR 2008 see the following:
http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/crystalreports/licensing/index.epx
/people/blair.wheadon/blog/2009/02/05/announcing-crystal-reports-developer-advantage-runtime-license
https://ecohub.sdn.sap.com/irj/ecohub/solutions/crystalreportsdevadvantage#pricing
For bundled versions of CR see the following:
http://support.microsoft.com/kb/317789
Also, see the following forum thread from Blair Wheadon who is a PM for CR:
CR 2008 Licensing Question
Ludek -
How to bring Picture from OHEM table into Crystal Report using query
Hi expert
i had a query and which is attached to a crystal report, and its working fine,
the thing what i need is to bring the picture which is stored in OHEM table, (Employee Photo)
to the report. in the query i had attache the picture field. but not able to see it over the Crystal reprot
The below given is the query
select OHEM.empID,isnull(OHEM.firstName,'')+' ' +isnull(OHEM.middleName,'')+ ' '+isnull(OHEM.lastName,'')AS [Employee Name],
OHPS.name AS [Position],OUDP.Name AS [Department],OUBR.Name AS[Branch],OHEM.U_SponsName,OHEM.U_EMPOLD_ID,OCRY.Name AS [Nationality],
OHEM.U_JoinDate As [Joining Date (G)],OHEM.U_JoinDateH As [Joining Date (H)],OHEM.birthDate, (CAST(DATEDIFF(day,OHEM.birthDate,GETDATE())/(365) AS int)) As [AGE],(CAST(DATEDIFF(day,OHEM.startDate,GETDATE())/(365) AS int)) As [Year],
OHEM.startDate As [Emp Contract Start Date (G)],OHEM.U_CEDate As [Emp Contract End Date (G)],OHEM.U_ConType As [Emp Contract Type],
OHEM.U_ContDur AS [Emp Contrat Duration],OHEM.U_CRDate As [Emp Cont Renewal Date (G)],OHEM.U_IQId AS [Iqama ID],OHEM.U_IQIsDate As [Iq Issue Date (G)],
OHEM.U_IQExDate As [Iq Expiry Date (G)],OHEM.U_IQIsDateH As [Iq Issue Date (H)],OHEM.U_IQExDateH As [Iq Expiry Date (H)],OHEM.U_InsType As [Insurance Type],
OHEM.U_InsExpDate AS [Insurance Exp Date],OHEM.U_InsName As [Insurance Company],OHEM.U_DestiCity As [Destination City],
OHEM.U_TicketType As[Ticket Type],OHEM.U_TicketClass As [ Ticket Class], OHEM.U_TravelDate As [Travel Date],OHEM.passportNo,OHEM.U_PassportIsDate AS [Passport Issue Date],
OHEM.passportEx AS [Passport Expiry Date],OHEM.U_BSal As [Basic Salary], OHEM.U_HoAllow As [House Allowance],OHEM.U_TrAllow As [Transport Allowance],
OHEM.U_FoodAllow AS [Food Allowance],OHEM.U_CarAllow AS [Car Allowance],OHEM.U_OthAllow As [Other Allowance],OHEM.U_BonusAllow As [Bonus],
OHEM.U_VacStartDate1 AS [First Vacation Start Date], OHEM.U_VacEndDate As[ First Vacation End Date],OHEM.U_VacResDate As [First Vacation Resume Date],
OHEM.U_VacDur AS [First Vacation Duration],OHEM.U_VacStartDate2 As [Second Vacation Start Date],OHEM.U_VacEndtDate2 AS [Second Vacation End Date],
OHEM.U_VacDur2 As [Second Vacation Duration],OHEM.U_VacResDate2 AS [Second Vacation Resume],OHEM.U_VacStartDate3 AS [Third Vacation Start Date], OHEM.U_VacEndtDate3 As[ Third Vacation End Date],
OHEM.U_VacRestDate3 As [Third Vacation Resume Date],OHEM.U_VacDur3 AS [Third Vacation Duration],OHEM.U_VacStartDate4 AS [Fourth Vacation Start Date],
OHEM.U_VacEndDate4 As[ Fourth Vacation End Date],OHEM.U_VacResumeDate As [Fourth Vacation Resume Date],
OHEM.U_VacDur4 AS [Fourth Vacation Duration],OHEM.U_VisaDuration AS [Visa Duration],OHEM.U_VisaStartDate AS [Visa Start Date],
OHEM.U_VisaEndDate AS [Visa End Date],OHEM.U_VisaType As [Visa Type],OHEM.picture,OHEM.remark,OHEM.attachment,OHEM.mobile AS [Mobile],OHEM.homeTel AS [Residence Tele],OHEM.email AS [E-Mail] from OHEM
left outer join OHPS ON OHEM.position=OHPS.posID
left outer Join OUDP on OHEM.dept=OUDP.Code
left outer join OUBR on OHEM.branch=OUBR.Code
left outer join OCRY on OHEM.citizenshp=OCRY.Code
Pls suggest how to make it appear the photo in the crystal report
regardsHi,
Please refer this how to guide which may give some idea for creation formula:
http://www.pioneerb1.com/wp-content/uploads/2012/04/How-to-work-with-Crystal-Reports-8.8.pdf
Thanks & Regards,
Nagarajan -
Crystal Reports Server XI R2 Samples Missing!
I just did a new install of Crystal Reports Server XI R2 on a Server 2003 box. Everything appeared to install properly. What I discovered is the Samples showing how to use to product are missing! The website was created by the install but when you go to it in IIS it says the folder is missing.
Does anyone have any idea what I need to to do to get these samples? I guess all I need is the samples folder but I can't find it anywhere.
Thanks,
John G.Hi Falk,
Yes, I am downloading it from a Win2003 machine. The browser is IE7.
I can even see what's inside the m293.cab, and it is not the file mentioned on the error message...
This is the m293.cab content (one file):
tslv.dll.7ADA0B91_68E0_4E90_AD3D_23C9E3079BAB
The file doesn't seem to be corrupted, it just doesnt have what was expected by the installer software.
I tried downloading it again and had the same result... These are the installation files that I've already tried with the same result:
- crsxir2win_sp4.exe (from [https://smpdl.sap-ag.de/~sapidp/012002523100009887052008E/crsxir2win_sp4.exe])
- 1401492085.exe (from [https://businessobjects.subscribenet.com/control/bobj/product?cert_num=48316663&child_plneID=30801])
The next one was not the rigth package:
- boXIwin_sp2.zip (from [https://smpdl.sap-ag.de/~sapidb/012002523100005931922008E/boXIwin_sp2.zip])
I uploaded the servicepack4 part of the log where the error appears:
[ftp://ftp.businessobjects.com/pub/incoming/sp4LogPiece.txt]
Thanks,
Marcos -
Crystal Reports 2008 SP3 - "u25azalea.dll" missing
We have installed Crystal Reports 2008 SP3 on our application server.
Windows Server 2008 R2 Standard
64-bit operating system
1. I create a Report and choose a field for barcode
2. Right-click on a that field and choose u201CChange to barcodeu201D
3. I choose "Code39" in the list
4. I change the font of the field to "Barcode EAN13"
5. It shows correctly in Crystal design/preview mode.
6. When I try to run the report from our windows application this message appear: "UFL 'u25azalea.dll' that implements this function is missing"
7. I download the file from http://www.azalea.com/crystal-reports/
8. I copy the file "u25azalea.dll" into the path: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
8. It still shows the message!
What should I do?Hello,
No need to select #3 if you are going to change it to #4. Just edit the field and select your barcode font. You only need that file if you use the Code 39 font.
Odd though that it asked for that ufl. Look for it on your local PC and copy it over, could be the one you downloaded is an older version.
Don -
How to use SAP BEX query Free characteristics in BO Universe?
Folks,
I have a BEX query which has lots of objects listed under free characteristics.
When I create a Universe these objects are not brought in the Universe.
Is there any way to bring those objects into our Universe?
Thanks
BashirHi,
take a look here:
/people/ingo.hilgefort/blog/2008/03/24/businessobjects-and-sap-part-5
Ingo -
Hello,
I am using Crystal reports 10 to design a report using an SQL database source.
There are 2 tables causing problems in that once fields from both of them are added to the detail section, the data is duplicated. The reason for this is table2 has a field (rulename) which can have multiple outcomes such as the basic example below:
table1.id,table2.rulename,table2.decision
1,postcodecheck,accept
1,secuitycheck,notchecked
1,creditcheck,notchecked
2,postcodecheck,accept
2,secuitycheck,accept
3,creditcheck,accept
3,postcodecheck,accept
3,secuitycheck,decline
3,creditcheck,notchecked
If I group the report by table1.ID it removes the duplicated records but only displays one of the 'rulename', usually accepts. A record sort of this field either retain the same result or replaces it with any table2.decision outcome of 'notchecked'. A more lengthy task would be to create formula fields for each rulename but having quite a few of this means its a very manual job.
Is there a better way to do this? I have not used the select expert because I want to display all decisions (table2.decisions).
Also if I create a crosstab report, each record is counted by the number of rulenames per ID, again duplicating each record (table1.id)
Thanks,WAHi Wasim,
Just try to check whether u have used proper link or not.
Database Expert->Link.
Regards,
Misra P. -
Crystal Reports for Eclipse Free Version - What is the status of this tool?
I'm inquiring about the status of this tool now that SAP is on the scene.
I used it about a year ago and am coming back to it - I'm not finding much on the new SAP support site.
Is it being killed by SAP? I don't want to start a new project with a dead SDK...
If not, what is the latest release, where are docs for the latest release, and where can I download the latest release?
Thanks in advance.Well, I tried that link, then tried to get to an article (link) that is behind 'Understanding the relationship between Crystal Reports, Java, and Eclipse' and I cannot get to the link.
I keep getting a SAP -- Expert Weblog Login challenge screen. I'm registered (I think) with all of the new SAP SDN and Business Objects developer networks (I mean - i'm logged in here, right?).
Lastly - I was the administrator and manager for the Business Objects OEM Premier Partner plan for my last company, and I am intimately familiar with this product - what I'm asking for is most likely not behind the scenes on some of these articles. What I need to know is what is SAPs commitment to this product, where is the original development team for it (are they being supported for Ganymede, etc.) and what are the future plans for it? I would prefer answers directly from SAP development management giving definitive direction on this product's future before I recommend taking a chance on it to my firm. -
错误提示为:
Database Connector Error: "BAPI Error #:0 Error occurred when starting the parser: timeout during allocate / CPIC-CALL"
软件版本:
Crystal Reports 2008 sp2
SAP IK 3.1
在SAP NOTES 1369523中找到了相同的症状描述, 但提供的解决方案太笼统了.
顺便提一下, BW系统的结构是 数据库 与 应用 分离的结构, 即数据库在一台服务器,而应用部分在另一台服务器.
请问大家有什么更好的解决方案么?除了楼上所提到的检查点之外
还请确认: CR2008 SP2需要和相应的SAP IK XI31 SP2一起使用,请确认IK也打了SP2, SAP server端也使用上了SP2的transport.
Best Regards
Carlos Chen -
Crystal Report Server 2008 Import Issues - Missing report schedules/history
Hello all,
I have recently on a test machine installed Crystal Report Server 2008 V0. I then created several test reports and put them on the server and created schedules and a history for each one.
Once this was done I exported the information into a BIAR file. Uninstalled CR Server 2008 V0 and installed CR Server 2008 V1 SP3.
I then imported this BIAR file. After the import my reports are there, but all schedules and history are lost? Is there a way around this? How can I ensure all schedules are brought over in the import?
Please note I followed this workflow: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5048d962-8fa6-2c10-e2ae-d32b3562cb9c
Comments on it seem to indicate this is a common issue.
Thanks!
Edited by: Rick J on Jan 5, 2012 9:59 PMGood day Philippe,
You have been able to solve my issue, thank you! In following the instructions I didn't notice the "Import all instances" tick box, I simply assumed hitting select all would work and glazed right over it. So this was certainly user error on my part.
Thank you so much for the information!
- Rick -
Crystal Report: ERROR - Some parameters are missing values
mine report it possesses a single parameter ....
this is the example of like tries of to change the value set up in the report...
ERROR: Some parameters are missing values
thanks help...
EXAMPLE:
<%@ page import="com.crystaldecisions.report.web.viewer.*"%>
<%@ page import="com.crystaldecisions.report.htmlrender.*"%>
<%@ page import="com.crystaldecisions.reports.reportengineinterface.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.crystaldecisions.common.keycode.*"%>
<%@ page import="java.util.*"%>
<%
try {
IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
String report = "report/ReportParametro1.rpt";
IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(report,
request.getLocale());
Fields fields = new Fields();
ParameterField pfield1 = new ParameterField();
Values vals1 = new Values();
ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
pfield1.setName("CICCIA");
pfieldDV1.setValue("SELECT descrizione, validoDa, validoA FROM tariffari");
pfieldDV1.setDescription("Query Dinamica....");
vals1.add(pfieldDV1);
pfield1.setCurrentValues(vals1);
fields.add(pfield1);
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(reportSource);
// layout
viewer.setOwnPage(true);
viewer.setBestFitPage(true);
viewer.setHasLogo(false);
viewer.setHasRefreshButton(true);
// group navigation
viewer.setHasToggleGroupTreeButton(false);
viewer.setDisplayGroupTree(false);
// page navigation:
viewer.setHasGotoPageButton(false);
// print/export
viewer.setHasExportButton(true);
//viewer.setPrintMode(CrPrintMode.PDF);
viewer.setPrintMode(CrPrintMode.ACTIVEX);
viewer.setIgnoreViewStateOnLoad(true);
viewer.setParameterFields(fields);
viewer.setEnableParameterPrompt(false);
viewer.refresh();
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),
out);
viewer.dispose();
}catch(Exception e){
out.println("Errore " + e.getMessage());
%>
I am facing the same problem. After selecting an export option (PDF/RTF), the same error message is coming up.
Also, what needs to be done for displaying export option of EXCEL?
Thanks,
Farzal -
Crystal reports - charting query
Hi.
I have a database with the following fields:
'companyname' which contains the values:
company1
company2
company3
company4
company5
company6
'value' which contains the company values:
11
14
16
13
72
26
and a 'date' field.
I have created a CReport that displays information between the dates specified. I am displaying a bar chart with the company names on the x-axis and values on the y axis.
So i specify a 'from' and 'to' date to display the data and it returns a graph with data.
On the x-axis is company3, company4, company5. This then means that company1, company2 and company6 have a value of zero between the dates specified, thus the graph doesnt display those company names.
Im wondering how i can get it to display all the company names (company1 to company6) and for company 1, company2 and company6, just display a value of zero?
Please can you help me with this?
thank you.
JIf the rest of the report is dependant on filtering the data based on the date but you still want to show company names that have no data for that date range then you could insert a subreport that returns all data (or filters it down to the 6). Create a formula that outputs the value if the datefield falls within the date range and outputs 0 if it does not. Use this formula as the value field in the chart.
-
Grouping Free Characteristics in Query Designer?
Hello,
I have a couple reports that per busniess have many free characteristics. So many that that they do not fit on one page and you must continue scrolling the page down to view all. This makes the report look sloppy but the business owner wants all of these free characteristics. I'm looking for a way to clean up the list of free characteristics without removing any selections. Can they be grouped up or consolidated through Query Designer or WAD?
Thank You,
AlexHi Alex,
Actually use of free characteristic will not slow down the report performance rather free characteristics are used to enable the user for dynamic drilldown and to improve the query performance for initial output display.
What you can suggest your users is to keep only required free characteristics and then remove the rest of the characteristics and from grouping perspective all the free characteristics in query designer output are shown alphabetically so you can not manipulate the group in designer.
Regards,
Durgesh.
Maybe you are looking for
-
How can I extract the data from a Real-time Execution Trace ".log" file?
I would like to get the data for the traces from the Real-time Execution Trace toolkit ".log" file to read in Excel and generate a report.
-
Are my files on my computer twice??
I have videos on a "videos" folder. I drag and drop them into itunes using my windows explorer window. Are they copied to the itunes folder, or is itunes just looking for them in the "videos" folder? If they are copied, can I delete them from the "vi
-
How do you switch apps in a Single App subscription?
Am currently using Id, would like to try Ps, but don't wish to lose access to the latest Id that I'm using. When you switch, are you actually downloading a trial version that you can use simultaneously to the chosen single app already being used? The
-
IPhoto '08 and finder conspire to hide my photos from me!
OK, prior post iPhoto not exporting pics - I could live with it but now I find that the Finder no longer allows me to have access to my own photos on the hard disk. No matter how I try to find where my pics are Finder just executes iPhoto rather than
-
I cannot synchronizing my iphone 5. The problem is during synchronizing contacts, calendars and notes. If I do not mark this step it synchronizes perfectly