In Crystal Reports 2020, I have a dynamic parameter. Since there can be 100000's of values, the user does not want to scroll through all of them,but wants an option to enter the value in a search box (like when we set Static parameter) and then add it to Selected Values box.
Is it possible?
Here is the relevant portion of a KnowledgeBase Article:
https://userapps.support.sap.com/sap/support/knowledge/en/1381361
SAP Knowledge Base Article - Public
1381361 - Dynamic Parameter List of Values are displayed in batches in Crystal Reports and in SAP BI LaunchPad
Symptom
How to change the batch size?
Crystal Reports dynamic prompt list of values are displayed in blocks of values. How to change the number of values per block?
Dynamic Parameter Lists of Values are displayed in a list of pages, is there any way to change the number of values displayed per page?
When refreshing a report in Crystal Reports, or in SAP BI LaunchPad, Dynamic Parameter shows the List of values in batches, how to display the List of Values in one single list instead of multiple groups?
Environment
SAP Crystal Reports 2013
SAP Crystal Reports 2016
SAP Crystal Reports 2020
SAP BusinessObjects Business Intelligence Platform 4.1
SAP BusinessObjects Business Intelligence Platform 4.2
SAP BusinessObjects Business Intelligence Platform 4.3
Reproducing the Issue
In Crystal Reports designer, create a report off any data source.
Create a a Dynamic Parameter, and add it to the report.
Save the report to the SAP BusinessObjects Enterprise Repository.
Refresh the report in Crystal Reports, or in SAP BI LaunchPad.
When prompted by the parameter, notice that not all values displayed in one list, it displays in multiple batch.
How to only show one list with all the values?
Cause
Large list of values for dynamic parameter are displayed in batch of 200 values.
Resolution
There is no option to turn off the functionality of displaying dynamic parameter list of values in batch, but it is possible to increase the number of values per batch by modifying the following options:
For Crystal Reports: PromptingLOVBatchSize
For the SAP BusinessObjects Business Intelligence Platform: crystal_max_number_list_of_values
Therefore, to display all the values in one batch, increase the value of the batch to be greater than the maximum number of values you expect for your largest list of values.
WARNING The following resolution involves editing the Microsoft Registry. Using the Microsoft Registry Editor incorrectly can cause serious problems. Use the Microsoft Registry Editor at your own risk. For more information see the SAP Knowledge Base Article 1323322
For Crystal Reports designer:
Close the Crystal Reports designer.
Open the Microsoft Registry Editor. ( regedit )
In the Microsoft Registry Editor, navigate to the following path:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\ReportView
Modify the value for the option: PromptingLOVBatchSize from the default value of 200, to a greater value like: 5000
Related
I am stepping into a new reporting environment and I don't have a lot of background info yet. But my company utilizes a series of crystal reports.
I want to compare two reports that are identical except that they connect to different data sources. I can click on both reports in the Crystal Reports viewer, go to Database > Set Database Location and I am able to see the data source. If I do this for both reports in question, I can see that they both connect to different data sources, as expected.
However, when I export the two Crystal Reports as text files and then compare them using Notepad++, I don't see the datasource / connection string in the report files, so when I do a compare, they are exactly the same.
If the exported text files are exactly the same, how does Crystal Reports Viewer know to point one report towards a prod data source and another report towards the dev data source? It does not appear to be embedded in the exported metadata / report definition file.
Thank you!!
The connection info is simply not part of the exported report definition text.
But, obviously, it is part of the report definition.
If you need to export more detailed report definition information, including connection properties, consider getting a documentation utility. Ken Hamady maintains a list of those here.
I am developing a report in Crystal Reports 2013 to publish to a Business Objects server. The user wants it to be able to run to HTML, PDF, Excel, or CSV. If I make it compatible with CSV (a raw data dump with one row per record -- for use downstream by a machine) it will be too wide to fit on one page for the PDF output. We have no direct control of the Business Objects server. This is all done through the cloud application.
...and I'm new to Crystal Reports...
Is there a way to create two sections in the report -- one for CSV and one for PDF -- and have one render (or hide) when the report is run to Excel or CSV and the other render (or hide) when the report is run to HTML or PDF? How?
No, but you can create a parameter that prompts the user for desired layout ("For PDF", "For CSV") and use that parameter in the dynamic expression for section suppress attribute.
Assuming they don't, you can always go to plan B and simply create 2 different reports.
I've got a parametrized report built with Crystal running on a BusinessObjects server.
I would like to get the report to auto-populate the location parameter based on the user name or Active Directory group name.
How do I implement this logic? Ideally I'd have a lookup in the report itself going if AD Group= Kansas Workers then parameter=Kansas...
Looking for any solution that will not require me creating a separate report for every location and placing them in different folders on BO....
Hi I developed one report which is taking parameters dynamically with help of Data driven subscription.
but when I did subscription it is exporting all users reports into Excel and keeping it into windows file share folder.
here my issue is my client doesn't want the report if report is empty for a particular user.
but I have to fix this issue in SSRS itself instead of doing changes in Procedure (database) level.
i used the below expression in SP Level
i.e
if(##rowcoun>0)
raiserror("nodata",16,1)
Note: but the same procedure is using for multiple purpose and my db developer is not accepting to do changes in SP levle.
in reports level i am using the below expression to hide the column headers if report is empty
iif(countrows()>0,"true","false")
but the above expression showing blank report and it is exporting empty excel sheet for the user.
Thanks in advance
Since you are already using a Data Driven Subscription, what you need to do is edit the subscription query so that it creates a list of recipient emails based on those with data. The way I do this is to join the table of recipients with the dataset to be returned.
I've developed a report in Crystal Reports 2011 (v14), and I need to get it to work in an application that's built on the reader for Crystal Reports XI (v11). I'm working on procuring XI, so I can adapt the report there, but in the mean time, it would be nice if I could just get the report as developed in 2011 to work. I was hoping this would work due to the forward compatibility note quoted in this answer.
When I try to run my report in the XI-based application, I get
ERROR: -2147206429
Invalid TLV Record.
In module: Crystal Reports ActiveX Designer
My suspicion is that my report is using some feature in 2011 that's not present in XI and somehow stumping the XI reader engine. When I took a report that had been developed in XI and opened and saved it in 2011, it opened with no trouble in XI.
What features are there in 2011 and not XI that could be tripping me up here? What should I check my report for to make it most likely that it will run in XI?
UPDATE:
I tried rebuilding my report, one feature at a time, to see when the error kicks in on XI. It does as soon as I make a parameter's prompt group a dynamic list that queries a stored procedure or a table, even if I don't set any special characteristics of the prompt group. Given that dynamic parameter prompt groups came in with XI, shouldn't this work?
There aren't many- and as you state- i've always found them to be fully backward compatible.
The main things that spring to mind are the dynamic sort control and the ability to create optional parameters.
If you wish to attach the report I can try opening/saving/checking.