Crystal Reports Variable Parameters

I have a client attempting to build a sales report where it will pull the data from the previous week / month / quarter only. 
For example, if I have a report that I run on Monday, then it will pull all the data from the last 7 days (so the from the previous monday to sunday - day before I run the report). 
What parameters or coding will I have to include to do that scheduling as I understand I will need to create that in the report and once that report is initially scheduled to be built in, then I can upload it into Crystla Reports Server to run on a weekly basis.  Your prompt response is greatly appreciated.

Thanks for your prompt response.  Is there a specific section that covers the scheduling of reports?  The guide and area is quite extensive so if you can refer to a specific page or section of the forum it'd be greatly appreciated.
Can the report not be built to be 'parameterized' to only view for a certain period, and then the CR Server would run the reports based off that parameter or can it only be done within the Crystal Reports Server / Enterprise?  How will the report recognize to only pull data from the last week or so?  Would it not be required in the report that's built?
I have a client that is attempting this, and noted that the CR Server asks for hard coded dates for report scheduling.  Please advise.

Similar Messages

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • Crystal Reports Dynamic Parameters with SAP Business One

    Okay, I've got this very strange issue with dynamic parameters in Crystal Reports connected to SAP Business One.
    Let's start with the software versions:
    - Crystal Reports 12.3.0.601
    - SAP Business One 8.8 (8.80.231) SP: 00 PL: 13
    - Windows XP SP3
    (SBO Server on Windows 2003 and SQL 2005)
    What I'm about to describe is something I've tried in several reports and for which I created a very, very simple test report to see if it was reproducible in a very simple situation.
    - I connected to a Business One server through CR's SBO connection type. Logon is successful, tables are shown.
    - I pick OCRD and plac CardCode and CardName in the details section on the report. Previewing the report shows data.
    - I create a dynamic parameter on CardCode and in the Select Expert I select the CardCode field and define that that should be equal to the parameter.
    - I preview the report again. Now it asks me in such a parameter screen for logon credentials. It shows the server and database it tries to connect to and in the username it shows the SQL Server username I used to connect to the SQL Server in the first place. However, the password for that user is not accepted. I also tried to login with the Windows administrator user and with the SBO manager user, but no success with any attempt.
    I also tried to add a static parameter and add all database values to the list. Same screen, different result:
    Crystal Reports 2008 wrote:
    Logon Failed.
    Error in File UNKNOWN.RPT:
    Unable to connect: incorrect log on parameters. (rptcontrollers.dll)
    (On a side note: the report is saved as report1.rpt)
    Anyone else got similar issues and found a solution?

    Hi,
    When you have fixed your crystal installation following the note posted earlier, please take a look at the [how to guide|http://service.sap.com/sapidb/011000358700000882232009E.pdf] and also at the [e-learning|http://service.sap.com/sapidb/011000358700001370262010E] about SAP Business One 8.8 and Crystal Reports.
    There are so called "tokens" which you need to use instead of dynamic parameters.
    Dynamic paramters don't work in SAP Business One 8.8, if they are not defined as a static paramter with token.
    Best regards,
    Darius

  • Crystal Report Viewer & Parameters

    Hello,
    I have designed a report n Crystal Reports and works on my machine fine.  When I preview the report it ask me what parameters I want to search for.  When I tried to view this report in Crystal Reports viewer it doesn't ask me.  So I learned that I need Crystal Report Server (using 2013 for both Server and Report Writer) and now I am stuck what I need to do.  I have downloaded a trail version (intent to purchase it works as I need to) of Crystal Server and used it defaults.  I just need some help in direction in what I need to do on Server and Report side to make this report work on the View Side to prompt the user to enter in parameters.  When I saved my report I deselected the Save Data to Report.  I have tried to look for documents in what I need and came up with a road block or not sure what I really looking for.  And I am sorry that I still a newbie for this software.
    Thank you,
    Gerald

    Hi,
    Try to use the parameter panel to change the parameter value of the report in the Viewer:
    Open the report in Crystal Reports Designer.
    Edit the parameter.
    Change the Show on (Viewer) Panel value to Editable
    Republish to Enterprise
    Regards,
    Amine.

  • Crystal Reports dynamic parameters data source

    Database: Sybase ASA 9
    Crystal: Developer 11 SP4 , activex viewer
    Application: Powerbuilder 11
    I am embedding crystal reports into a powerbuilder 11 application. The crystal reports (.rpt files) are created in Crystal reports developer 11 sp4. The application programmatically change the DSN for the crystal reports to connect to the database that the customer is using. This works fine except when the report contains dynamic parameters (parameter select values from table in database to select from). The dynamic parameter(s) still references the DSN used in development as appose to the new (changed) DSN , although the rest of the report use the "new" DSN. I have spend many many hours on this and are at a lost on how to fix this ?
    Following is in short the code I use:
    FOR li_table = 1 TO iole_crx_report.database.tables.count
    // get connection properties collection for this table
    iole_crx_connection_info = iole_crx_report.database.tables[li_table].connectionproperties
    iole_crx_connection_info.DeleteAll()
    iole_crx_connection_info.add("DSN",itrx_database_info.Lock )
    iole_crx_connection_info.add("User ID",itrx_database_info.userid)
    iole_crx_connection_info.add("Password", itrx_database_info.dbpass)
                                                  iole_crx_connection_info.add("UseDSNProperties",TRUE)
                                  iole_crx_connection_info.add("AllowCustomConnection", TRUE)
    NEXT
    iole_crx_Database.Verify()

    Hi, Johan;
    There is no SDK option to change the datasource that the dynamic parameters are based on. Your only option would be to change the DSN itself to point to the new database. Or, not use dynamic parmeters.
    Regards,
    Jonathan

  • Crystal Report "some parameters are missing values" while exporting/printin

    I am able to pass parameters from a JSP to a crystal report through CrystalReportViewer and view the report. (I tried doing it using the code provided on this help forum. I was getting a message: "Some Parameters are missing values". I had to add 1 line: pfield1.setReportName(""); for every parameter field. And It worked..)
    Now I can see the "Print" and "Export" buttons. But when I try to print or export the report, I get the same message "Some Parameters are missing values".

    see posting "parameter driven export to excel" on April 26th

  • Crystal Reports 2008 - Parameters Performance

    I am designing areport which has 8 parameters.. All are dropdowns and have more than 1000 values atleast..
    It takes 5 minutes to display parameter pop up window.. Can you tell me is there anything meiising or it is usual..

    I would recommed posting this query to the [Report Design|SAP Crystal Reports;  forum. However, I do wonder if you really want to get yor users to scroll through 1000+ calues for eight parameter prompts? E.g.; you may want to rething your approach to this report(?).
    Ludek
    Edited by: Ludek Uher on Nov 17, 2009 2:13 PM

  • Crystal Reports - Variables

    2007 B
    Crystal Reports
    How to map variables in CR, like we do in the PLD's ?
    vijay

    Please check this thread:
    Re: Crystal report based on specific id
    Thanks,
    Gordon

  • Crystal report with Parameters failed on Sybase

    I have created the report in crystal report 2008 which accept the parameter. I have used the SybaseServer provider. The report worked fine in Crystal report designer. However when I run the same report through the .net application it fails saying "Logon Failed."  I have set the connection like
    foreach (CrystalDecisions.Shared.IConnectionInfo reportConnectionInfo in reportDocument.DataSourceConnections)
                    if (useTrustedConnection)
                        reportConnectionInfo.SetConnection(dbServerName, databaseName, true);
                    else
                        reportConnectionInfo.SetConnection(dbServerName, databaseName, userId, password);
    The above code work for SQL Server but failed with Sybase.

    First make sure you have SP 2 for CR 2008;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Next, I'm not sure if the connection you want to use is trusted or not. If it is, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b021e47e-be1d-2b10-c6b2-efa9db3abd6b] article. If it is not, see the code documented in the following resources to log on  to the database;
    sample apps;
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    (see vbnet_win_dbengine)
    Article;
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true
    (the above applies to most versions of CR)
    Also, see the following article for general help on db connectivity:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Jan 4, 2010 6:57 AM

  • Visual Studio 2013 Crystal Report passing parameters

    Hello Everyone,
    I am simply trying to pass a parameter from my textbox called "StockID" to my crystal report which is called "testlbl.rpt". There is only one parameter in this report and it is called "m_stockid". I am using a crystal report viewer
    and I have imported the report into the project so I am not loading it from outside. Below is an example of what I have tried. I have also attempted loading the report and using "SetParameterValue(...)". Can anyone please help me with this?
    ParameterFields paramFields = new ParameterFields();
    ParameterField pfStock = new ParameterField();
    pfStock.ParameterFieldName = "m_stockid";
    pfStock.CurrentValues.Add(0);
    paramFields.Add(pfStock);
    crystalReportViewer1.ParameterFieldInfo = paramFields;
    crRpt.SetParameterValue(":m_rec", 0);
    crRpt.SetParameterValue("@m_rec", 0);
    crRpt.SetParameterValue("?m_rec", 0);
    crRpt.SetParameterValue(testlbl1.Parameter_m_rec.ParameterFieldName, 0);
    crRpt.SetParameterValue(0, 0);
    crystalReportViewer1.ParameterFieldInfo = paramFields;
    M.N.

    Hi Boa_nerges,
    Thank you for your post.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So I’m afraid that it is not the
    correct forum for this issue.
    I suggest you can ask your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
    for better solution and support
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with opening a Crystal Report containing parameters in InfoView

    Hello everybody.
    Here's the situation.
    I've created a Report in CR2008 wich contains parameters to reduce the shown data. The user should be able to select one or more years. I've realized this by using a dynamic parameter that gets its values out of an data field (part of a SAP BW query, connected with the BW MDX driver of the SAP Integration Kit).
    Then I've published this report using the SAP Integration Kit toolbar button.
    Now there's a copy of this report in the BW Repository and in the BO Repository as well.
    But here comes the problem. If I want to open this report it asks for the parameters to choose. But theres nothing to choose. Searching isn't working because it brings no results. So I couldn't open because it needs a parameter to go on that I can't choose or type in manually. Even that ones I've chosen while saving aren't offered or used by default.
    It doesn't matter from where I want to open it. Double click on report in SAP BW or on that one in InfoView. Same result. Stop at the discribed point.
    Open this report in the Crystal Viewer 2008 works just fine.
    Changing the viewer engine to ActiveX, Java or standard wasn't successfull.
    Any suggestions?
    Would be nice.
    Thanks a lot in advance.
    Greetings,
    Sebastian

    Anyone?
    Here's a screenshot of this empty listbox:
    [http://img106.imagevenue.com/img.php?image=72973_03.03_122_525lo.jpg]

  • Retain value of Crystal Report variable during drill-down

    Dear expert,
    In CR, how to have a variable whose value is retained during drill-down? In other words, a variable whose value remains across drill-downs.
    I've tried both Global and Shared variables but their values are not retained when drilingl-down (the value is gone or removed).
    Thank you very much.
    Kind regards,
    aswin
    Edited by: Aswin Setyawan Margono on Jan 27, 2011 1:28 PM

    Not enough info to determine the result or what the cause may be.

  • Embedding Crystal Reports with parameters in web page

    Hi,
    I have created a sample report file and configured it with a parameter field. On embedding this report file in the web page, as expected I am prompted to enter value for the parameter. After entering value and clicking OK, CrystalReportViewerServlet delegates the call to the custom JDBC connector implementation which is the data provider. However, the web page doesnu2019t show the retrieved resultset but shows a page with some text like this:
    {"update":{"children":[{"children":[
    {"args":{"curPage":1,"numPages":"1"},"cons":"bobj.crv.newSelectPageControl"},{"args":{"searchText":""},"cons":"bobj.crv.newSearchTextControl"}
    ],"cons":"bobj.crv.newToolbar"},{"args":{"displayDrilldownTab":true,"initTabIdx":0},"children":[{"args":{"isMainReport":true,"label":"Main Report","viewStateId":"1"},"children":[{"args":{"content":"\r\n 
    On debugging I could see, that the parameter value from the prompt is correctly passed from the CrystalReportViewerServlet to the custom Connector (i.e., the sql query is updated with the parameter value) and the connector fetches the data also.
    I also tried embedding another .rpt file with few parameter fields configured (where user input values are just passed to the details section of the report for display). However on running this web page also I get the same error.
    Report files with no parameter fields configured are working fine when embedded in web page.
    Any thoughts would be appreciated.
    Regards,
    Ria

    I would take a look at running our simple [sample application |http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/307224d2-3d11-2c10-fe86-d87bab901bee&overridelayout=true]that views reports to see if you have the issue there.

  • Default Parameters in Crystal Report

    Hi all visitors
    I have created one crystal report and now i want to set the parameters to my report by using parameters in Crystal Report(  the parameters not from sql).My parameters are datetime datatype. in my report, i create one formula( get date from DocDate field from sql).How can i set the default "Todate" parameter as current date?
    Best Regards,

    Hi,
    So all of the seleciton is done using selecct expert.  They have alot of default values there...but if you go to advanced then you can do much more still.  So if you just want to only use the currentdate then you can just do something like
    date({IT_ChangeManagement.Deployment Date/Time}) = currentdate
    In the above case there would be no parameters needed and would show the currentdates information. You could of course do a varity of >= or <= using the above method. 
    If you want more flexability then you could create a parameter or two . Here is an example.  This is again done in select expert....
    if {?Start Date} <= date("01/01/2000") then
    date({IT_ChangeManagement.Deployment Date/Time}) = currentdate
    else
          {IT_ChangeManagement.Deployment Date/Time} >= {?Start Date} and
          {IT_ChangeManagement.Deployment Date/Time} <= {?End Date}
    The above defaults to the current date if the start date is older than 2000, otherwise it uses the start & end date parmeters.
    Make sense?

  • IPhone App Crystal Reports Parameters

    Hi,
    Is there a way to publish Crystal Reports with parameters on the iPhone App.  I can only publish reports with no parameters.  If I try to publish one with parameters, it fails to display.
    thanks,

    My consultant(Vision-33) told me  SAP B1 doesn't support on this version. maybe next version.
    Thanks

Maybe you are looking for

  • ICal All Day Events One Day Off

    Once again, I am unable to use my Calendar... This time because any All Day event, subscribed or synced from gmail, are one day off. Seems like a problem that has been around for some time but I just ran into on an update to iOS-5. Any ideas? Switchi

  • Indicated Image Orientation is Incorrect

    Hi all: Aperture 2.1.1 has begun to incorrectly tag images in the portrait orientation as "Landscape," even though the images were correctly oriented as portrait during import and when viewing them in the Browser or Full screen mode. Doesn't matter w

  • How to make a histogram with NI TestStand

    Hi everybody, I'm working on several PCB testing. The analog output will be given by a VI, then several analoginput will be measured, it seems like that PCB1 AO1=4V (AI1,AI2,AI3,...AI8) will be measured AO2=5V (AI1,AI2,AI3....AI8) will be measured PC

  • How to configure Adobe LiveCycle designer on my SAP Server?

    Dear friends. I have installed SAP ECC 6.0 and Adobe LiveCycle designer ES 8.2 on my computer. Now I want to use Adobe LiveCycle designer in SAP by TCODE:SFP. Please tell me how to configure Adobe LiveCycle designer on my SAP Server in details.

  • Optimize BIEE federated query

    I have a federated BIEE query that requires to access Essbase cubes and then lookup code tables from Oracle dbms. The response on cube access only is not a problem, however, when the code tables are lookup to obtain the code description, it takes a v