Nested Parameters Dates dependant on earlier parameter-Crystal Reports

I am writing a production Activity report which combines Production orders, purchase orders and MRP run recomendations.
The user has to select the MRP scenario and then a start and end date range for the report.  The date range must be within the start and end date for the chosen MRP scenario.
I can create the first parameter
name: MRPScen@select AbsEntry,MsnCode from OMSN
This happily allows the user to select the MRP scenario.
Now I want to select a start date using the AbsEntry returned from the parameter above to return the startdate and end date for that record in OMSN.
My current parameter is
StartDate@select Startdate from OMSN
but this allows the user to select a date from a different MRPscenario.
I have tried the name below, but it also does not work. 
StartDate@select Startdate from OMSN where AbsEntry=MRPScen@select AbsEntry,MsnCode from OMSN
Idealy I would like it to select the start date from the scenario and then allow the user to change it to any day up to the EndDate
Any ideas please
Thanks
Chris

Gordon,
you say tokens only work for key fields.  By that do you mean they have to be a database primary key or do secondary keys also work for tokens?  Also do multi field keys also work?  Is the token name the key field name followed by the @?
Also do you know how to make a hierarchy of parameters work
eg select country is 1st parameter
second parameter is state where it will only select valid states for the country chosen
third parameter is area where the area belongs to the state chosen.
In each case no option is available that is invalid.  If the country is USA then only USA states can be selected from the drop down, states in Australia for example are not visible etc.
thanks Chris

Similar Messages

  • How to get data from function module in crystal report

    Hi,
    I installed Crystal Reports 2008 and BO SAP Integration kit for CR.
    I connected successfully to SAP system from CR but unable to get the data into Report ...
    But data is present in function module.
    Could you please tell me what may be the reason ...!!
    Thanks
    Raghavendra

    Hi,
    I connected successfully to SAP system from CR but unable to get the data into Report with all the Input parameters and data is present in function module.
    Note: - If we take Start date as input parameter in Crystal report data is coming for single parameter, whereas we take input parameters like Partner function, Region and Customer - we are not getting data. (These fields we created parameters in Crystal report)
    In Function Module IMPORT Parameters are below mentioned and Export parameter is Blank
                                                                                    Start Date (Mandatory field)
                                                                                    Partner Function (Mandatory)
                                                                                    Region
                                                                                    Customer
    Please let us know if required any information.
    Regards,
    Raghavendra

  • How to get the parameter from Java Script into the Parameter crystal Report

    Hi All,
    Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
    My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
    FYI.
    Java script sends the right parameter value.There is no issue in java script.
    This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.

    Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
    If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
    Please clarify?

  • Passing parameters from vb form to a crystal report with stored procedure

    Can someone give me an idea how to use data inputted on vb form to be use as basis of crystal report generation which loads data from a stored procedure. Stored procedure has parameters that was also set in the crystal report. viewing on crystal report is ok but i am having difficulty running the report from vb.

    Hi John,
                  If Not CRRpt.ParameterFields("AgeType") Is Nothing Then
                        CRRpt.ParameterFields("AgeType").CurrentValues.Clear()
                        Dim ParamValue As new CrystalDecisions.Shared.ParameterDiscreteValue
                        ParamValue.Value = AgeType.ToString 
                        CRRpt.ParameterFields("AgeType").CurrentValues.Add(ParamValue)
                    End If
    Note that the ParamValue.Value should be assigned with exact same data type as you declared it in CR.
    If it is string, Convert your Variable to string first.
    If it is date, make sure you are passing a date variable.
    and so on...
    Regards
    Edy

  • Data missing while running a crystal report from SAP B1 2007A

    Dear All,
    I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
    Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.

    Dear All,
    I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
    using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
    Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
    facing issues in running it. Rest of the reports are running fine.
    I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
    Client machines, but the problem is not resolved yet.
    Server Machine Details
    Version : SAP B1 2007A Server SP01 PL08
    OS: Windows Server 2008 R2 (64-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Client Machine Details
    Workstation 1
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows Vista Enterprise (32-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Workstation 2
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows XP
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio

  • How to supress/Minimise space if no data is given  in a crystal report

    Dear members,
    I have designed a report through crystal report and in that,i have a field namely remarks in group section.
    during the generation of report if there is no remarks given there is a empty space shown in that place. which i need to avoid. please can anyone help me in this regard as how to minimize the space if no data is given to the field of remarks.
    Thanks to all,
    Venkatesh.R

    Hi Venkatesh.R,
    Right click on the section you want to supress and check on the box labelled Suppress blank section.
    I highly suggest you search Crystal Reports Help before posting questions like this. Simply press the F1 key and the help menu will appear.
    Thank you
    Don

  • Question - Best practice data source for Vs2008 and Crystal Reports 2008

    I have posted a question here
    CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL)
    but think that perhaps I need general community advise on best practice with data sources.
    In Crystal reports I can choose the data source location from any number of connection types, eg ado.net(xml), com, oledb, odbc.
    Now in regard to the post, the reports have all been created in Crxi 6.3, upgraded to Crystal XI and now Im using the latest and greatest. I wrote the Crystal Reports 6.3/ XI reports back in the day to do the following: The Reports use a function from COM Object which returns an ADO recordset which is then consumed fine.
    So I don't want to rewrite all these reports, of which there are many.
    I would like to know if any developers are actually using .NET Class libraries to return ADO.NET datasets via the method call or if you are connecting directly to XML data via whatever source ( disk, web service, http request etc).
    I have not been able to eliminate the problem listed in the post mentioned above, which is that the Crystal Report is calling the .NET class library method twice before displaying the data. I have confirmed this by debugging the class lib.
    So any guidance or tips is appreciated.
    Thanks

    This is already being discuss in one of your other threads. Let's close this one out and concentrate on the one I've already replied to.
    Thanks

  • Data not  shown in my Crystal report

    Hi,
    I have created a price list using crystal reports. My database is an excel spreadsheet. Everything works excep that some codes do not show up for some reason? I have a colum that is Manyfacturer number, and certain codes that are on in my database are not reflected in my CR report?
    Can anyone help me?
    Thanks
    Vince

    Hi Vince,   Check to make sure the data is in Excel, also, if you have any joins at all, make sure they are the correct type.
    check to make sure your select statement is not filtering something,  I can give you a better answer, with a few more details.
    Say, the line the data is missing on, is the whole line missing? is it part of the detail section or a group? if you sort this
    data in excel, is there any missing data anywhere on the excel spreadsheet?   any way, for a better answer, we will need more details.

  • Need help adding data to Preview Tab of Crystal Report

    Hi!  I'm hoping someone can help me with an issue I'm having with a crystal report I use daily.  I work in accounting and the crystal report i use pulls data for a ton of different general ledger accounts on our system.  However, somehow the crystal report only shows a handful of accounts in the 'preview tab' of my report, which happen to be the accounts I reconcile.  I need to add a few accounts to my report, but no one seems to know how to add new accounts to show up on my preview tab.  I'm thinking there must be some sort of filter in the crystal, version 9.0 or 11.0.  The filter must have been put in place to either only include certain accounts or excluse certain accounts.  Help!  Thanks for your time.

    hi Jeff,
    first we need to determine if you have a full version of crystal reports designer (i.e. crw32.exe) or if you're using a version which is embedded into an accounting application.
    if you're using the latter then you need to contact the company that manufactures the accounting software.
    if you do have a full version of crystal reports then you can go to the Report menu > Selection Formulas > Record and check to see how the record filter is determined. my guess though is that you're using an embedded version.
    -jamie

  • Failed to retrieve data from the database using Crystal Reports XI R2

    I am using Crystal reports XI R2 and using the Universal Web Connector (connecting to Coghead).  When I put some some of the fields from the database and run Preview I get "Failed to retrieve data from the database." .   Where is this message coming from and how can I track down what the issue is?

    Hi Jamie,
    When you are trying to Browse Data of a field it is not poping up any window menas, it is unable to interact with database and get the data from database.
    Try to create a new report using ODBC with Xtreem Sample Database.  If you get the data in your report without any error then your connector is not working / unable to pull the data into your report.
    You can find the supported platforms document in below link
    http://support.businessobjects.com/documentation/supported_platforms/xi_release2/default.asp
    Thanks,
    Sastry

  • Can ODBC configuration data be stored in a Crystal Report?

    Post Author: Gary W
    CA Forum: Crystal Reports
    We've been running some SQL statements in Access pulling data from a server/database.  I decided to see if I could do the same thing in a Crystal Report with the intention of scheduling the report to run in our scheduler.  I set up the ODBC on my workstation.  I connected to it for my new report and used Add Command to enter the SQL statements.  I added the command to my report and it ran fine.  However, whenever I open the report to run it again I have to enter the password (which was initially entered when I set up the ODBC) to get it to run.  I'm guessing this has something to do with the security on the server and, that said, I'm not going to be able to change it.  Is there any way I can store the ODBC connection data including the user id and password in my report so it's there when needed?  I can do this in Access, but can't figure out how to do it in Crystal Reports.
    I use Crystal Reports XI.
    In Access the line I use is:
    ODBC;Description=Employee Badge system;DRIVER=SQL Server;SERVER=pmc-rfd-ap19;UID=userID;PWD=password;DATABASE=OF_SiteData
    where userID and password are replaced with the actual values.
    Thank you.

    Post Author: V361
    CA Forum: Crystal Reports
    When you setup the connection in ODBC, Select the "Enter connection string and add the following   (Substitute your connection information of course)
    DSN=RPTPROD;Server=RPTPROD;User ID=USER;PWD=USERPASS
    This should work.

  • Passing parameters (range) to ABAP function from Crystal report

    Hello experts,
    Iu2019ve created an ABAP function which receives parameters from a Crystal report . It works very well with simple parameters.
    In my crystal report I can see the fields with the prefix u201CI_u201D in the field explorer, and I can use this fields  in my Function Modules perfectly.
    The problem is to pass parameters like range or multiples values.
    I would like to know how to put this parameters into the low and high values of the range and receive them in my Function Module in the ABAP layer.
    Thanks in Advance,
    Carlos Henrique Matos da Silva and Silvio Meurer - SAP BusinessObjects BI Team - Brazil.

    I got the answer of this question under SAP Integration Kit
    How to pass parameters to ABAP function in Crystal report

  • How to get data from MS CRM into Crystal Reports

    Hello All,
    Can anybody tell me how to get data into   crystal XI reports with MS CRM.
    Thanks in Advance
    Ramesh

    First you should refer to the Rules of Engagement and then add more info.
    Start off by telling us what version of CR are you using and what is MS CRM?
    Thank you
    Don

  • Displaying the Data Source Name on a Crystal Report

    Does anyone know a way to display in the report header the Datasource name. We have Identical reports that get run on Identical databases with different Datasource names for our different manufacturing facilities. This would make it easier to Identify what Plant database the report was run against.
    Thanks

    there is a function in sql where you can use DB_NAME()
    this will produce in a stored procedure, not sure if you can use it in a sql expression or not

  • No data in Crystal report from SProc

    Hi,
    I have a SProc with 10 temporary tables.
    The first temp table has a @StartDate and @EndDate as parameters. The data from each table flows to the next table and so on of the single SProc.
    The 10th table has the data which are required on Crystal Report (CR).
    I have chosen the SProc as the only data source on CR. When I refresh the CR, the CR is blank. However, when I execute the SProc in SQL with the parameters, I get all the rows in the results correctly.
    [SProc] '20101001', '20101031'
    What should I do to get the result data in CR too?
    Thanks,
    Ajay Audich

    Ajay,
    The only way I can see this working is to have the final SP populate a "Global" temp table, so that it's available to other processes.
    You could then write a Command that looks something like this...
    EXEC FirstSP ('{?BeginDate}', '{?EndDate}');
    SELECT * FROM ##Temp;
    This is just a theory, but it may be worth testing.
    To create a global temp table in SQL Server, simply use two #'s instead of 1 (CREATE TABLE ##Temp).
    If you aren't using SQL Server, a little Google searching should find you the equivalent for your database.
    Greg's idea will also work... If you are allowed to add an actual table to your database. If not the Global should work.
    HTH,
    Jason
    Edited by: Jason Long on Nov 22, 2010 9:37 AM

Maybe you are looking for

  • Can't share photos using shared Photo Stream with iCloud Control Panel for Windows

    BACKSTORY: My friend took pictures of my family. I want to see the pictures he took. We live about 2.5 hours apart by car. Gas prices are too high for me to just drive down with an external hard drive to get the pictures and I might as well throw my

  • Problem with AppletViewer in Forte

    Hi, my applet runs fine when the 1.4 appletviewer is called from the command line, it also runs fine when executing the forte-generated html-file from forte, but the appletviewer won't start from forte (applet debugging and applet execution set) when

  • Populate data in text field

    Hi all, I am a bit confused here. In my page I have three text boxes, they are - P10_YEAR, P10_MONTH, P10_TOTAL. I am using LOV for year and months field. LOV is like for year 2000;2000, 2001;2001 and for month June;June,July;July and so on. Month fi

  • BPC cannot connect to ABAP server

    Hello Experts, I'm facing the following issue when installing SAP BPC NW 7.5 SP04 When the installation is done (succesfully) I try to login to the server manager and get following error message: "Cannot connect to ABAP server; Check your ABAP server

  • Questions about ABAP Unit (Integrate in class / encapsulate DB access)

    Hi, i have allready done some Unit Tests. Till this post i have created a report and put my test class definition / implementation there. The report is just a wrapper for testing. The functionallity is impelemented in classes. My first Question is ho