Crystal Report Best Practice Question

Hello All;
I have got a task regarding parameter passing to Crystal Report via Crystal Report, I would like to find best way to achieve it.
Imagine that I have got parameterized and non reports-parameterized. I am developing a report manager that will enable users to subscribe to the reports and schedule them with their parameters. I have got a subscription web page with the list of reports. When a user wants to subscribe to a report and schedule it, if there is no parameter in the report, it is fine but if there is any parameter that needs to be passed to the report(which we can find from rpt file), user should be able to enter these parameters values via a panel in the page. and I will save those parameters' values to the database.
Effectively, I need to create a parameter entry panel to get the parameters and save them to the database with their type, value and so on, then I need to use these parameters programmatically for exporting reports to the different file formats.
Basically, I must develop parameter entry panel run time in accordance with the parameter types that the corresponding report has.
Does anyone have any idea what the best way is to achieve it?
Thanks for your help from now on and please ask for further clarification if needed/
Kind Regards.

Hi, mkosucu,
You can read the parameters out of the report at run time, prompt the user for them, then schedule it with those parameter values.
To get the parameters, use
ReportClientDocument.DataDefController.DataDefinition.ParameterFields
There's a tutorial that can be of some help:
[BOE XI R2 Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
In the left pane select
.NET developer guide and API reference
..Tutorials
....Client Desktop Tutorials
......Scheduling a report containing specific parameter values
Regards,
Bryan

Similar Messages

  • Function Module performance in Crystal Reports - Best practices

    Hi all,
    We are following a function module based approach for our crystal reporting needs. We tried to follow an infoset approach, but found that most of the critical fields required for reports were retrieved from function modules and bapis.
    Our reports contain some project filters/parameter fields based on which the task reports would be created. I was wondering what would be the best approach/best practices to be considered while designing the FM so as not to impact the crystal report performance? 
    We created a sample FM in our test system with just the table descriptions ( without the input parameters) which would retrieve all the projects and found that crystal reports crashed while trying to retrieve all the records. I am not sure if this is the right approach since this is our project in using FMs for crystal reports.
    Thank you
    Vinnie

    yes. We did try following the infoset approach against the tables however since our project reports contain long text fields and status texts ( retrieved via FMs), we opted for the FM approach. Do you know how texts can be handles from ABAP to Crystal reports?

  • Crystal Reports (Best Practice)

    Hi,
    We are currently using Crystal Reports (the built-in one) for SAP 8.8. We are currently maintaining around 400 crystal reports and all of them have been uploaded in SAP under each of the Modules.
    I am trying to sort the reports now, however, the default sorting of the reports is based on which report was first uploaded. Based on best practices, how can I sort the reports in such a way that the users won't have to scroll down through more than 400 reports (of which, these were not sorted alphabetically)?

    Hi,
    As you know, this is designed as is. In other word, there is no option to sort. You have to reload them as the order you need.
    Thanks,
    Gordon

  • Best Practices Question: How to send error message to SSHR web page.

    Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
    For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
    What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
    Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
    Thanks ahead of time for your responses.
    Rich

    We have implemented the same kind of requirement long back.
    We have defined our PL/SQL procedures with two OUT parameters
    1) Result Type (S:Success, E:Error)
    2) Result Message
    In the PL/SQL procedure we always use below construct when we want to raise any message
    hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
    hr_utility.raise_error;
    In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
    EXCEPTION
    WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    WHEN OTHERS THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
    fnd_message.set_token('2',substr(sqlerrm,1,200));
    fnd_msg_pub.add;
    p_result_message := fnd_msg_pub.get_detail;
    After executing the PL/SQL in java
    We have written some thing similar to
    orclStmt.execute();
    OAExceptionUtils.checkErrors (txn);
    String resultFlag = orclStmt.getString(provide the resultflag bind no);
    if ("E".equalsIgnoreCase(resultFlag)){
    String resultMessage = orclStmt.getString(provide the resultMessage bind no);
    orclStmt.close();
    throw new OAException(resultMessage, OAException.ERROR);
    It safely shows the message to the user with all the data in the page.
    We have been using this construct for a long time for all our projects. They are all working as expected.
    Regards,
    Peddi.

  • Best practice question -- copy container, assemble it, build execution plan

    So, this is a design / best practice question:
    I usually copy containers as instructed by docs
    I then set the source system parameters
    I then generate needed parameters / assemble the copied container for ALL subject areas present in the container
    I then build an execution plan JUST FOR THE 4 SUBJECT AREAS and build the execution plan and set whatever is needed before running it.
    QUESTION - When i copy the container, should i delete all not needed subject areas out of it or is it best to do this when building the execution plan? I am basically trying to simplify the container for my own sake and have the container just have few subject areas rather than wait till i build the execution plan and then focus on few subject areas.
    Your thoughts / clarifications are appreciated.
    Regards,

    Hi,
    I would suggest that you leave the subject areas and then just don't include them in the execution plan. Otherwise you have the possibility of running into the situation where you need to include another subject area in the future and you will have to go through the hassle of recreating it in your SSC.
    Regards,
    Matt

  • SAP Adapter Best Practice Question for Deployment to Clustered Environment

    I have a best practices question on the iway Adapters around deployment into a clustered environment.
    According to the documentation, you are supposed to run the installer on both nodes in the cluster but configure on just the first node. See below:
    Install Oracle Application Adapters 11g Release 1 (11.1.1.3.0) on both machines.
    Configure a J2CA configuration as a database repository on the first machine.
    Perform the required changes to the ra.xml and weblogic-ra.xml files before deployment.
    This makes sense to me because once you deploy the adapter rar in the next step it the appropriate rar will get staged and deployed on both nodes in the cluster.
    What is the best practice for the 3rdParty adapter directory on the second node? The installer lays it down with the adapter rar and all. Since we only configure the adapter on node 1, the directory on node 2 will remain with the default installation files/values not the configured ones. Is it best practice to copy node 1's 3rdParty directory to node 2 once configured? If we leave node 2 with the default files/values, I suspect this will lead to confusion to someone later on who is troubleshooting because it will appear it was never configured correctly.
    What do folks typically do in this situation? Obviously everything works to leave it as is, but it seems strange to have the two nodes differ.

    What is the version of operating system. If you are any OS version lower than Windows 2012 then you need to add one more voter for quorum.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • SAP Adapter Best Practice Question for Migration of Channels

    I have a best practice question on the SAP adapter when migrating an OSB project from one environment (DEV) to another (QA).
    If my project includes an adapter channel that (e.g., Inbound SAP Proxy listening on a channel), how do I migrate that project to another environment if the channel in the target environment is different.
    I tried using the search and replace mechanism in the sbconsole, but it doesn't find the channel name in the jca and wsdl files.
    What is the recommended way to migrate from one environment to the other when the channel name changes?

    I have a best practice question on the SAP adapter when migrating an OSB project from one environment (DEV) to another (QA).
    If my project includes an adapter channel that (e.g., Inbound SAP Proxy listening on a channel), how do I migrate that project to another environment if the channel in the target environment is different.
    I tried using the search and replace mechanism in the sbconsole, but it doesn't find the channel name in the jca and wsdl files.
    What is the recommended way to migrate from one environment to the other when the channel name changes?

  • OBIEE Answers (Ad-Hoc Reporting) Best Practices

    Hi All
    Just finish writing about OBIEE Answers (Ad-Hoc Reporting) Best Practices. Thought it would be great to share with extended family.
    Please visit : http://wp.me/pfMKU-3t
    OR
    http://sranka.wordpress.com/2010/01/07/obiee-answers-ad-hoc-reporting-best-practices/
    Hope this helps
    Sunil S Ranka
    Blog :: http://sranka.wordpress.com
    "Superior BI is the antidote to Business Failure"

    hi ranka,
    Nice work and nice post.It would be helpful to many guys out here.
    Thanks,
    By,
    Kranthi.

  • EBusiness Reporting Best Practices

    Hi All,
    I a new to the eBusiness suite and manage our Business Intelligence. I have read bits and pieces about the backend and its schemas. Can anyone tell me and/or send me info about reporting best practices out of the eBusiness backend? It appears that using the APPS views would be the best process to pull data that aligns with the application....I found those points even in the metalink docs, but wanted to get some hints/tips from experienced users.
    Any help/info is greatly appreciated.
    Thanks,
    S

    Generally the Business Views provide the best denormalized views for eBusiness Suite, try generating them via I think Business Views responsibility, Generate Business Views. Check the output/logs for the views generated.
    Gareth

  • Best Practices: Question about Passing DataSet to Crystal through C#

    I have used the tutorial provided by Business Objects and have successfully passed a dataset from C# code to Crystal Reports.
    I have a few questions about "best pratices" though.
    It appears that when passing the dataset to crystal then you no longer have the ability to put SQL Expressions in the report anymore otherwise errors will occur.
    So, I'm trying to come up with a way to have a custom field in the SELECT statement and have it show up on the report as a field. So, in the below example I created a custom SQL field called TIMES7 in the query.
    "Select CLM_ID, CLM, PAID_111X, *(PAID111X * 7) As TIMES7*_ From WIKI.MULCRICKET WHERE CLM_ID < 5"
    If I create a formula field in Crystal and set it's value to {MULCRICKET .TIMES7} then it works like a hybrid SQL Expression at run-time.
    This does work but has issues because the database field doesn't really exist in the design environment which causes error when the formula is saved. But it does work at run-time.
    I was wondering if their was a best practice for this?

    So why are you using a formula that doesn't work? If it errors in the designer it's telling you it's not supported.
    Drop the formula into a filed and hide it if you don't want it displayed, this way it gets into the record selection formula.
    "Best Practices" is don't use formulae that won't verify in the Designer. "If it doesn't work in the designer it won't work in code"
    If you need to add an "unknown" field at run time then use RAS to insert the field.

  • Crystal Reports Server 2008 - Scheduling Reports Best Practice

    What is the best practice for scheduling a report that will be distributed to approximately 30 recipients? I have uploaded a report that has a single parameter for the physician's name.  I need to distribute this report on a daily basis to each physician using their name as the parameter. Should I right-click on the single report that is uploaded and schedule the report with the corresponding parameter and physician e-mail address, or should I create 30 reports each with the physician's name. Basically, I need a way to see all of the scheduled jobs for a given report? Is this possible in Crystal Reports Server 2008? Thanks.

    The way that I handle all of our scheduled reports is to create the report with parameters to cover all of the necessary variations of the same basic report.  For you, that's be a single report with the doctor's name (or other identifier) as a parameter.  I then create an Object Package (I use BOE, so I'm not positive if CR Server has them, but I'd guess so...) for each variation (doctor in your case), and copy the report into the package.  I then set up the destination and schedule for the package, and set the parameter(s) of the report.  Then, schedule the package to run.
    The advantage of using object packages is that it separates the schedule and distribution from the actual report, so if (or I should say, when :->) the report changes, you don't have to copy the schedule and destination to the new version of the report, saving time and reducing errors.  Just copy the new version into the package, set the parameters, delete the old version, and reschedule the package to run.
    HTH,
    Carl

  • Error while Connecting report Best Practices v1.31 with SAP

    Hello experts,
    I'm facing an issue while trying to connect some of my reports from Best Practices for BI with SAP.
    It only happens when it's about info sets, the other ones that are with SAP tables go smoothly without a problem.
    The most interesting is I have already one of the reports connected to SAP info sets.
    I have already verified the document of steps of creation of additional database that comes with BP pack. They seem ok.
    Here goes what Crystal Reports throws to me after changing the data source to SAP:
    For report "GL Statement" one of the Financial Analysis one which uses InfoSet: /KYK/IS_FIGL_I3:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: It wasn't indicated any variant for exercise (something like this after translating) - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    For report "Cost Analysis: Planned vs. Actual Order Costs" one of the Financial Analysis one which uses InfoSet: ZBPBI131_INFO_ODVR and ZBPBI131_INFO_COAS; and also the Query CO_OM_OP_20_Q1:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: check class for selections raised errors - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    Obs.: Those "Z" infosets are already created in SAP environment.
    The one that works fine is one of the Purchasing Analysis reports:
    - Purchasing Group Analysis -> InfoSet: /KYK/IS_MCE1
    I'm kind of lost to solve this, because I'm not sure if it can be in the SAP JCO or some parameter that was done wrongly in SAP and I have already check possible solutions for both.
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

    I re-checked step 3.2.3 - Uploading Crystal User Roles (transaction PFCG) - of the manual where it talks about CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER roles, I noticed in the Authorizations tab that the status was saying it hadn't been generated and I had a yellow sign, so then that was what I did (I generated) as it says in the manual.
    Both statuses are now saying "Authorization profile is generated" and the sign is now green on the tab.
    I had another issue in the User tab (it was yellow as Authorizations one before generating)....all I needed to do to change to green was comparing user (User Comparison button).
    After all that, I tried once more to refresh the Crystal report and I still have the error messages being thrown.
    There's one more issue in one of the tabs of PFCG transaction, it is on the Menu one where it is with a red sign, but there's nothing talking about it in the manual. I just have a folder called "Role menu" without anything in it.
    Can it be the reason why I'm facing errors when connecting the report to SAP infoSets? (remember one of my reports which is connected to an infoSet works good)
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

  • Crystal Report Service Pack Question

    Hi,
      I have some question regarding Crystal Report Service Pack for different version respectively :-
    Crystal Report 9
    1.  I have SP5 and SP7.  Can I just install SP7 without installing SP5 ?
    Crystal Report XI R2
    1.  I have install a distribution of Crystal Report X1 R2 in a non-development server.
    Can I install the latest SP6 into that non-development server ?  Which SP6 I should install, preferably a link to that SP would be great. 
    NOTE: I am a VS.NET 2003 and 2005 developer.
    Best regards
    Joseph

    Crystal Report 9
    1. I have SP5 and SP7. Can I just install SP7 without installing SP5 ?
    - Yes
    Crystal Report XI R2
    1. I have install a distribution of Crystal Report X1 R2 in a non-development server.
    Can I install the latest SP6 into that non-development server ?
    - no. From CR XI on, SPs are only meant to be used on development computers. E.g.; a computer that has the CR designer installed. To update your runtime computer, you will have to uninstall the current runtime and install the SP6 runtime:
    MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100000634042010E/crxir2sp6_net_mm.zip
    MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100000633302010E/crxir2sp6_net_si.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Visual Studio 2005/2008 and Crystal Reports versions/upgrade questions.

    I've tried posting this question on the MSDN forums and gotten no response. 
    I've downloaded and installed VS 2008 Beta 2.   The versions on the Crystal Reports files included are 10.5.0.1806  
    I'm currently using VS 2005, with the included Crystal Reports.  The versions on those files are 10.2.0.xxxx.  I've created an desktop app (in VB) which stores it's data in a database and uses the CR 10 runtime merge modules to generate a report.
    I was considering upgrading the Crystal Reports version to XI.  I would like to allow customers to modify my delivered report with their own licensed copy of CR XI.  I am not providing any functionality within my app to create or modify the delivered .rpt or use it outside my application.
    Questions:
    Do I need to update the runtime files to CR XI to support rpt files modified with CR XI?  Current runtime files are being delivered with the CR 10 merge module.
    I see a Crystal Reports for Visual Studio upgrade to CR XI. 
    Can I update the merge modules to CR XI and still use the CR for VS2005 for development?
    Does it make any sense to update CR for VS 2005?  Or to get the full CR XI Developer edition?  My usage of CR functionality is very limited.
    Would there be any benefit to waiting for the release of VS 2008?   How does that change the scenario?
    How does Crystal Reports for Visual Studio fit in with the Crystal Reports Lifecycle?  It's not mentioned on Business Objects End of Life Dates page . Crystal 10 has a Patch EOL of 31-Dec-07.   Does this apply to CR for VS 2005?  Where does 10.5 fit in?
    My main concern is allowing customers with CR XI to change the format of my delivered .rpt to run with my app.  Adding their company name, logo, etc.   My testing show a CR XI report still works with my current app.  But, going forward, what should I deliver and what do I need to use to continue development?

    To use Reports designed in XI, you need to use XI or higher runtime, running them in older versions may work, but you may encounter unforeseen issues doing so.
    If you are to use VS2005 for development you need to use XI Release 2 (11.5) runtime.
    If you are going to use VS2008 for development you need to use Crystal Reports 2008 with Service Pack 0.
    The support end of life for versions of Crystal Reports bundled with Visual Studio are linked to what Microsoft's lifecycle for the product is.  Generally if there is a workaround for the issue that is simple enough, there will not be a patch created.
    The changes you are expecting the customer to do can be accomplished with our RAS SDK which is available without using enterprise starting with Crystal Reports XIR2 SP2.

  • Best Practice Question

    I have 3 Areas for my DWH
    The first area is Staging then validation and core
    Staging is just do load date from the source systems
    validation is to validate data (every city has to have a countrie ....)
    core is my DWH shema.
    The First step in ETL is to load the data from core to validation, let's say my GEO_DIM Dimension goes to Countries, Cities and Regions in core. Additionaly I build a CRC SUM when I downlaod from Core to Validation and store the CRC Checksum in a Staging table.
    The second step is to load target from the source systems to staging, but only those date that are non equal to the previous downloadet CRC schecksum, so only changed or new data going to staging.
    The third step is do load that new/changed data from staging to core and proof some dependences. It's just validation.
    My Question is, what is the best practic to bring three tables (Countries, cities and region) to one Dimension
    thanks and regards
    Andreas

    Andreas,
    I guess the correct is depends... Without kidding, are you planning to use a flat star table for this dimension? If that is the case you would be joining the sources together and loading this into the table.
    Now this sounds way to simple, so I guess there is something more to the question...
    Jean-Pierre

Maybe you are looking for

  • (wanted) Pop ups open in a new tab

    I'm having trouble with Safari (5.0.4), when I click on a link such as the choose a date link when booking a hotel/flight or using my banks website and the little pop up should appear that allows you to choose a date then disappears once you've done

  • Report F.01 - Financial Statements - Portrait

    Hi Friends, I want to know if it is possible to print report in transaction code F.01 in Portrait. Currently, we can download the report only in Landscape. Please revert soon. Tks & Rgds, Kunal Vichare.

  • WebLogic Apache Plug-in

    I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)           Am I right to assume that this plug-in only works for Apache running on           Solaris? :-(           I'm running Apache (Stronghold actually) on Linux and I need to

  • CRM - Lead Status in BI Report not loading

    Need to do reporting on CRM Customer Leads Management. (for reference we are using BI 7 and CRM 5) In the CRM system I have a field called status (with the data element being CRM_J_STATUS) and it has 6 different status values. E.g. Open, Assigned , i

  • Change of source system - any mass transaction?

    Hi, we have to transfer some programs and stuff from one system to another. Basis people will manually import a transport for this. In target system, I want to change the source system of  the transported objects. Because it is quite a big number, I