CR XI Cascading Prompt on Dynamic Parameter Value

Hi friends need a help related to Cascading prompt parameter in CR XI.
I need to modify an existing report wherein Stored Procedure having a parameter is used as a datasource. Now in Report when I go in edit mode for that parameter under the value section of it a query (&select col1,col2 from tbl where userid='value coming from front end app') is written which populates the value to select the particluar value to pass as a parameter. First of all what this functionality is termed as I am not aware of it please help me with it if somebody knows it. Also in the select list its mention 2 columns but when we run the report at that time the col2 data is only being displayed in dropdown and col1 which is a id field is passed in record selection formula.
Now as per our requirement we need to introduce 1 more parameter for record filtering i.e. based on the above parameter value. This can be achieve through Dynamic Cascading Prompt. But the challenge is to use Cascading Prompt funcionality its necessary that both the parent & child field should be populate from db but here the parent value is populate using a query as I stated so in that case how to achieve this.
Sorry if I am not able to explain the scenario properly.
Please friends help as soon as possible.

Looking at the Prompt text you have mentioned, it looks like you guys might have a front end SDK solution which passes the prompt values to the 'Report'. The cascading 'imitation if you will' might be happening on the front end page and not really using the report(s) cascading prompts. To help better i think you should answer following.
1. where are users viewing this report.
2. In your CR designer, do you see cascading prompt on existing prompts?
3. what version of Crystal reports are you using and where is it hosted ?

Similar Messages

  • Crystal Report Prompt For Enter Parameter Values

    Hi,
    I did a report with 2 subreports embeded in VS2005 using VB and it worked fine but when I ported the whole application to VS2008 the above problem occurs. Here are some codes:
        Private Sub btnPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPreview.Click
            Dim viewer As New frmReportPreview
            Dim rpt As New ReportDocument
            Try
                rpt.Load("C:\Report\crptMain.rpt")
                rpt.SetParameterValue("Code", Me.cbxCode.Text)
                rpt.SetParameterValue("Code", Me.cbxCode.Text, "crptSubReport1.rpt")
                rpt.SetParameterValue("Code", Me.cbxCode.Text, "crptSubReport2.rpt")
                viewer.report = rpt
                viewer.WindowState = FormWindowState.Maximized
                viewer.ShowDialog()
            Catch crptEx As CrystalDecisions.CrystalReports.Engine.EngineException
                MessageBox.Show(crptEx.Message, "Crystal Report Errors...")
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Crystal Report Errors...")
            End Try
        End Sub
    Private Sub frmReportPreview_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            Try
                Me.CrystalReportViewer.ReportSource = m_report
                Me.CrystalReportViewer.RefreshReport()
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Error...")
            End Try
        End Sub

    Subreport Parameters are contained within the Main Report's ParameterFieldDefinitions collection. Passing Subreport Parameter values directly to the Subreport will result in the values not being applied and the user being prompted at runtime to provide new values.
    Ludek

  • Prompts with dynamic default values

    I have a request from my client to modify several reports so that two date prompts will have default values populated with the first and last day of the previous month.  All of the reports are currently using custom sql so I have to be able get the dynamic default value in the extended @prompt syntax.  However, I am not able to use any of the sql functions since the functions merely appear as plain text as the default value itself. 
    I have found a few work arounds to achieve the functionality of the dynamic prompts, but I cannot get the actual default value displayed to the user to be dynamic.  Is it possible to achieve this by using only the custom sql?

    Hi Sandeep ,
    Below blog may answer your query .
    Dave’s Adventures in Business Intelligence » Dynamic Dates Part III: Monthly Date Ranges
    Search for And for Last Month?

  • Uploading reports that use dynamic parameter values

    Post Author: singhal
    CA Forum: Deployment
    Hi,
    I am having difficulty using Crystal Reports Server XI to deploy reports that were made in Crystal Reports XI.
    When I create a report that uses a dynamic parameter listing, I get the follow error when I try to install it onto the server:
    Failed to read data from report file C:\WINDOWS\Temp\myreport.rpt. Reason: Failed to read parameter object
    But if I were to use a static parameter listing, the server will load up the report just fine.  Can you please tell me what I am doing wrong and I need to do to fix the problem.  As many details as possible would be helpful.
    Thanks,
    Back

    Post Author: TAZ
    CA Forum: Deployment
    Does the issue happen with the built in administrator account? I believe this is a permissions issue and the permissions need to be set in business views.
    Regards,
    Tim

  • How to get dynamic paramete value in the context node?

    Hi, experts,
    There are some attributes in the node context(ee_node) that contained the attribute named "ANSSA" in the view(test_view) in the WDA for abap. In the method WDDOMODIFYVIEW of the view(test_view), there is dynamically string , ex."ANSSA". How can I get the value of the "ANSSA" from the node(ee_node)?
    I try to use the following code to get the value in the method WDDOMODIFYVIEW of the view(test_view):
    Method wddomodifyview.
    *importing   para    type   string.
      data:
        Node_Ee_Address                     type ref to If_Wd_Context_Node,
        Elem_Ee_Address                     type ref to If_Wd_Context_Element.
    navigate from <CONTEXT> to <EE_ADDRESS> via lead selection
      Node_Ee_Address = wd_Context->get_Child_Node( Name = IF_ADDR_AUTO_DISP_VIEW=>wdctx_Ee_Address ).
    get element via lead selection
      Elem_Ee_Address = Node_Ee_Address->get_Element(  ).
    get single attribute
      Elem_Ee_Address->get_Attribute(
        exporting
          Name =  para
        importing
          Value = ??? ).
    But I don't know how to replace the "???"   .
    endmethod
    I don't know how to replace the "???"  in the method wddomodifyview? Do you give me some hint for it?
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks.
    Best regards,
    tao

    Hello Neha,
    Thank you for your help in advance.
    I am very sorry that the above method name ought to be "modifyview", not "wddomodifyview"(I write the error word in the question so that I am very sorry.). I am very sorry the error method name occuring your misunderstand.
    The "para" is the transfered parameter that it is supposed to represent the name of "ANSSA". Actually, the "para" may represent other attribute in the node context, ex. "ENDDA"(date type) attribute.
    I don't write such code in the method modifyview: lv_anssa like ls_ee_node-anssa. Because I am not sure that the  "para"  represent the name of "ANSSA", and the "para" may represent other attribute in the node context, ex. "ENDDA"(date type) attribute.  The  "para" is only the transfered parameter from other method for representing the name of attribute.
    Method modifyview.
    *importing para type string.
    DATA:
    lo_nd_ee_node type ref to if_wd_context_node,
    lo_el_ee_node type ref to if_wd_context_element,
    ls_ee_node type wd_this->element_ee_node.
    I cann't write such code. Because I am not sure that the para represent the name of "ANSSA"******************
    data lv_anssa like ls_ee_node-anssa.
    lo_nd_ee_node = wd_context->get_child_node( name = wd_this->wdctx_ee_node ).
    lo_el_ee_node = lo_nd_ee_node->get_element( ).
    lo_el_ee_node->get_attribute(
    exporting
    name = para
    importing
    value = ??? ).
    endmethod.
    I don't know how to replace the "???". Do you give me more hints?
    Thanks a million.
    Regards,
    Neha

  • Scheduling a Report with Dynamic Parameter Values

    Post Author: etlag
    CA Forum: Publishing
    I have created a report using a parameter that has dynamic values - meaning the user can choose a date from a specific field. It works fine once published in InfoView, but when I schedule the report, when I try to enter the parameter I get promted for a login for the database, even though I have already entered this in the CMC report properties.
    I have other reports that are using static values and they can be scheduled without entering the database login.
    Any ideas what I am missing?

    Post Author: amr_foci
    CA Forum: Publishing
    dear etlag
    its known issues, you've to set the default database connection to this report from the "CMC" web-bases appliaction , find this object click it go to "process" tab and then click the "database" tab,,, set your default database connection there and finally dont forget to set "Use same database logon as when report is run" at the end of the page
    and cilck ok
    try it ,, good luck
    Amr

  • Sender JDBC Dynamic parameter value in select query

    Hi All,
    I have a scnario where i have read only acess to a table and We cannot use stored procedures..
    Interface is JDBC to file.
    Now there is one filed in the table which holdes the system date and time.Ex filed name as Sysdate.
    now can i use  query as select * from table1 where Sysdate = x+1.
    where X is the last process Sysdate field value.. is there any work arround to store the value in a file and check dynamically every time from that file to get the value of x and after that X+1 value has to be updated back to that file..
    main aim is to eliminate duplicate entries.
    Regards
    Vijay

    Hi suraj,
    thanks for the reply i have proposed the same for the requirement but there is no acess to update the table all we have is to read only the table.. so i get out one other way round to ensure the proper data has to be flow..
    Similarly there is one more where i have datetime field value  i need to break all entires on base of time and pick the values ...
    Even i proposed if you thre is no authorization to update the flag give me in flat file so that i can split the file by uisng java mapping..
    But its was badluck i have a table with few lak entries read only aces to the table and ensure data has to be properly flow with out any duplications and miss entries.. any approach that we can achive this..
    Regards
    Vijay
    Edited by: vijay Kumar on Apr 12, 2010 1:36 PM

  • How get the dynamic parameter values

    <p>Hi everyone. <br /><br />I have made an application to show the Crystal Report . Because the input interface is not very good, so I write an interface by myself. Now this funcation can show all static parameters. But I have some troubles with the dynamic parameters.  How to get the values of the dynamic parameters?</p><p>By the way, if I add a dynamic parameters , it will show the dadabase logon window twice. How to add the logon infomations for dynamic parameters using .net?</p><p>My develop entironment is : Crystal Report XI, RAS XI, Visual Studio 2003 c#.</p>

    See note number 1412611 in the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Ludek

  • Date parameter values cleared when dynamically populating string parameter

    Software: Crystal Reports XI Release 1 with SP4, with MS SQL Server 2008
    I've created a report that asks for three parameters, 2 dates, and a string which is dynamically populated. The report has two tables added in the database expert.
    The first table in the database expert is a command object which passes the two date parameters to a stored procedure:
    exec sp_MyStoredProcedure {?startdate},{?enddate}
    The second table in the database expert is a stored procedure object used to populate the string parameter {?_users}. The criteria for the string parameter are:
    Prompt with Description only: False
    Allow multiple values: True
    Allow discrete values: True
    Allow range values: False
    This stored procedure object requires nothing to be passed, it was originally a view in the database, but the same problem occurs whether i dynamically populate the string parameter options from either a view or a stored procedure.
    The string parameter is used for defining the record selection formula:
    IF {Command.user_name} in {?_users} THEN true ELSE false.
    The two table objects are not linked in the database expert, but linking them does not seem to solve the problem I am having with this report, the problem being this:
    No matter which order I set the parameters, it always first displays a form showing only the prompts for the date values. After entering these, it then shows a form prompting for the date values again (the previously selected date information now cleared), along with the list of users from which to select. On this 2nd form, the parameters are displayed in the order I set using the field explorer option presented when I right click on the Paramter Fields heading. After entering the date parameter values a 2nd time, and selecting the users from the dynamically generated list, the report performs as intended. After subsequently running the report  (prompting for new parameter values by pressing F5),  it does not clear the date parameters on the 2nd form's appearance.
    What I need is to be able to enter in these values the first time around, without having the date parameters cleared. Am i going about this incorrectly, or is this a bug?

    What you are experiencing is not a bug... Passing a multi-valued parameter to a Command or SP is not supported in any version of CR prior to CR 2008.
    Your options are #1) Upgrade to CR 2008 or #2) Jump through the necessary hoops to make it work in CR XI
    Check out this link...[SQL Command Parameter - Multiple Value|Re: SQL Command Parameter - Multiple Value]
    It has some good examples a good step by step.
    HTH,
    Jason

  • Error using CR 11.5 with dynamic cascading prompts and SAP Integr.Kit XI R2

    Hi,
    we are using the SAP Integration Kit XI R2 (patched up to FP4.3) in order to report SAP BW data (BW 3.5) in Crystal Reports 11.5 (SP 4). In order to access the stored BEx Queries we use either the SAP BW Query or the SAP BW MDX Query Driver (_we DO NOT use any universes_). Everything seems to work fine ex cept when we want to use dynamic cascading LOVs within CR. For example when a user runs a report she/he should select first a customer group (0CUST_GROUP prompt) and then the customer (0DEBITOR). Defining the cascading prompts with dynamic LOVs is no problem in CR and when the report runs (either in CR Designer or in InfoView) both prompts appear. Still when we do a selection for the first prompt (0CUST_GROUP) we get a 0x8004380D error with the text message stating that the system is not able to retrieve the LOV data (I guess for the 0DEBITOR prompt). Please note that we do not get a corba error and no firewalls are activated. We checked the trace files of the page server and found out that there was an error calling the createRowsetCursor function within enginekernel.cpp.
    Any hints on our case will be mostly appreciated. We have the feeling that we are hitting a bug here but maybe we are overseeing something.
    Cheers
    Stratos
    PS: Please note that if we access directly the ODS Object (SAP ODS driver) the dynamic cascading prompts on exactly the same InfoObject (or better their keys in the ODS) work without a problem.

    Hi Stratos
    You can define LOV's in universes but unfortunately you can not use universes based on SAP in Crystal Reports.
    You can define parameters in the Bex query which are passed on to Crystal Reports, so you don't need to define them in the Business Objects tools. Please have a look at the SAP Integration Kit user's guide
    Roland

  • Missing Parameter Values in autoprinting

    I am not sure if this question was posted and answered already, so here goes...
    I created an equivalent of the Outgoing Payment PLD using Crystal Reports. There are quite a number of fields our users require to be printed out so we opted to have it via Crystal Report.
    Now, I loaded the report already and assigned as the default. So users:
    1. If user click the automatic print - Print button, a prompt says Missing Parameter Values
    2. If user uses the print - preview, it prompt for the DocEntry@ (which is my parameter in Crystal Report). How do you get rid of the prompt? I mean, it will automatically does a print preview of the current document open.
    My selection formula is: {Command.DocEntry} = {?DocEntry@} - if that helps.
    Thanks!

    Figured it already. The parameter should have been DocKey@.

  • Static or Dynamic parameter

    hi all,
    please help me regarding this....
    1)How to know whether a given parameter is a static parameter or dynamic parameter.
    2)If we change dynamic parameter value using "alter system statment .." we no need to bounce the database right , that parameter change will apply to the database.
    am i right???????
    3)If we change static parameter value using "alter system statment .." we need to bounce the database right , than only the parameter change will apply to the database.
    am i right???????????
    Regards,
    Vamsi.

    Hi Vamsi,
    1) for the parameters which can be altered by "SCOPE=BOTH" are the Dynamic parameters right,
    Right
    Eg:
    SQL> SHO PARAMETER %PGA%
    NAME TYPE VALUE
    pga_aggregate_target big integer 0
    SQL> ALTER SYSTEM SET PGA_AGGREGATE_TARGET=700 SCOPE=BOTH;
    SQL> SHO PARAMETER %PGA%
    NAME TYPE VALUE
    pga_aggregate_target big integer 700
    2)for the parameters which can be altered by "SCOPE=SPFILE" or "SCOPE=PFILE" are the static parameters.
    yes
    SQL> SHOW PARAMETER %CONTROL_FILE%
    The parameters are written into the pfile as a text and the changes take affects after restarting the database.
    But the SPFILE can not be change without issuing the dynamic parameter during run time of the database.There are so many parameters that can not be changed dynamically,we have to use the PFILE to make the changes.In that situation,we perform the following this to make the changes in SPFILE using PFILE.
    First,open the PFILE and write the changes as a static parameter and save the changes .Now enter the following command to reflect the chnage into SPFILE :
    SQL> CREATE SPFILE FROM PFILE;
    NOTE: The database should be in shut mode to make changes in the SPFILE otherwise,it can occur the error message.
    Hope your all doubts are clear.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Edited by: Rafi (Oracle DBA) on Apr 12, 2011 1:52 AM

  • How to include a default value in Dynamic cascading prompt from 2nd Level.

    Hi,
      I use Command Object in 'Datbase Expert' to create 'Custom Tables'  and use these tables to fetch LoVs. I use Dynamic Cascading Prompts in the reports.  I have a peculiar requirement using DCP.
      There are Four Levels as in the Example:
      Continent
       Country
       State
       City
      In the Custom Table, requirement is to create an additinal row with '' that represents 'All Values selected' for that level starting from second.  and The default selection should be '' . I defined that '*' means 'All Vales Selected in the report' This si not a problem. But the problem how to show a default value in a Dynamic Cascading Prompt i.e. how we can make sure in an default value can be selected in DCP from Second Level?
    how can the examples 1,2,3 can be achieved detaisled below beacsuse we need to show a default value in Casacading Propmt
    Eg of Schedules with DCP:
    Schedule 1   
      Continent: Europe
       Country: *
       State: *
        City:  *
      Schedule2:
       Continent: Europe
       Country: England
        State: *
         City: *
    Schedule 3:
        Continent: Europe
       Country: England
        State: Greater London
         City: *
    Schedule 4:
    Continent: Europe
       Country: England
        State: Greater London
         City: City of london

    You won't be able to have a true "default" value in the various cascading levels, since there aren't default values in a dynamic cascading parameter.  That being said, I've created a sample report in Crystal Reports 2008 that has a Command-driven DCP with '*' values for the 2nd and 3rd levels of my 3-tier DCP and have accounted for them in the record selection criteria.  You can find the sample here at https://www.box.net/shared/mav5qp337j

  • Prompt Group Text value for parameter that has cascading prompts.

    <p>Does anyone know how to get a Prompt Group Text value for parameter that has cascading prompts. C# sample would be great.</p>

    Hi Sateeesh,
             I delete main memory, but does not work. if I display prompt value in list box, it shows as text value, but in 'query prompt selector', it shows as key value. I am using SAP BO 4.0

  • Dynamic Cascading Prompt based on Universe

    Hi,
    I am attempting to build a universe-query-based report which allows the user to select inputs based on a dynamic cascading prompt. I have created the cascading LOVs in the Universe design. However, when the user is asked to select inputs, the prompts do not appear to cascade. They show all possible values independent of each input(there are 3 inputs). When I try to manually create the dynamic cascading prompt on the actual report, I select dynamic parameter but it does not show any values under the Choose Data Source option. All it shows is "(None)". Any suggestions on how I can get this cascading prompt to work? I am using CR 2008 also.
    Thanks for you help!
    David

    Hey David,
    Steps to create connection in Business View Manager:
    1) Go to Start -> Program files > Business objects xir2> business objects enterprise > businessview manager.
    2) Click on New >
    3) Steps to create is Create a Data connection > Select Data Connection > Data sources > Save the data foundation.
    4) Second is to create a data foundation.
    Click New > Data foundation > Select the Data Connection and Select the Table.
    5) Third is to create a data element.
    Click New >Data Element > Select the Data Foundation Select the required fields for Lov from the table.
    6) Is to create a business view > New > Business View >select the data element > save the business view.
    7) Is to create a Lov> New > LOV > Select the business view > Select the fields for dynamic cascading parameter fields and save the LOV
    8) Open the crystal report designer > connect to the repository > create a new parameter > select dynamic> Select Existing > Select the LOV created through the business view manager.
    Note : Should Save all the Connection, data Foundation, business elements, business view and LOV separately and instantly.
    Let me know if any.
    Regards,
    Naveen.

Maybe you are looking for

  • Flash CC Publish Animated Gif ignores looping sequences?

    I'm just learning Flash so apologies in advance. I can't seem to get an animated gif that won't loop--I only want it to play once. Here is what I'm doing, using Flash CC Pro (latest): Create an .fla file, all set to go, looks good Go to Publish Setti

  • VAT Register for Poland (S_ALR_87012385)

    Dear Experts, I would like to seek your assistance with regards to a new requirement. We need to add new columns to the existing layout of the Polish VAT Register report. May I know your opinion on how to go about this the SAP standard way, if any, p

  • SC - Item in transfer process - PO is not get created

    We are in extended classic senario , SC is showing status as Item in transfer process - PO is not get created . Could you please give me any pointer for the same Thanks in advance .

  • After Quantum upgrade client box channels won't change & press C to change modes message?

    I press the remote and it just stays on the same channel. The only fix is a reboot. The issue comes back after a time even after reboots. Also what is the message on the info banner after you change channels that says press c to change modes? Who tes

  • SRM-ECC org structure integration

    Hi, Can anyone suggest an RFC/BAPI to fetch SRM organisational structure in ECC.We do not have HR implemented and therefore there is no org strucuture in ECC but it does exist in SRM. I have Z-table in ECC with fields sap id,manager id,Role(mgr,VP et