Dynamic Command Parameter Prompts twice for Value

I am having trouble in CR 2008 with command parameters.  Whenever I make the command parameter dynamic, I am prompted twice for the value: first I'm prompted to enter the value freehand, then the second prompt is a dropdown list with just the freehand value (or an error if the freehand value does not exist in the db).
I need to use dynamic command parameters for two reasons: 1) to allow users to select the value from a dropdown list rather than a free-text value, and 2) to limit the record set returned from my initial command query.
Any help on how to get dynamic command parameters to display all values in a dropdown list, and in one prompt, is appreciated!

Hi
If you create a parameter in your command it will be always static.  You can't make this as dynamic because, once your command get executed only you will get values in your report or in your list of values (dynamic parameter).
There is a work around for this :
--Create a report with command without any parameters at command level
--Create a dynamic parameter at report level and do not place any fields in your report.
--Now insert your orginal report as sub report in Report footer.
--Right click on your sub report and go in change sub report links and link Main report dynamic parameter to your sub report command parameter.
--Suppress all other section in your main report.
Now when you refresh, it will execute your main report dynamic parameter with pick list.  Once user selects a value it will be passed to your command parameter.
Thanks,
Sastry

Similar Messages

  • TrueCrypt prompts twice for password

    I have an encrypted partition that loads on boot. I'm being asked twice for my passphrase for some reason. I"m guessing they're 2 different services asking since the first one looks like normal terminal text, but the next one is in white.
    I was having trouble setting up it to load on boot so I found a service to ask.
    [Unit]
    Description=Truecrypt volume manager
    DefaultDependencies=no
    Conflicts=umount.target
    Before=umount.target
    After=systemd-readahead-collect.service systemd-readahead-replay.service
    [Service]
    RemainAfterExit=yes
    StandardInput=tty-force
    ExecStart=/usr/bin/truecrypt --filesystem=none %I
    ExecStop=/usr/bin/truecrypt --filesystem=none -d %I
    [Install]
    WantedBy=cryptsetup.target
    $ systemctl |grep crypt
    tmp-.truecrypt_aux_mnt1.mount loaded active mounted /tmp/.truecrypt_aux_mnt1
    [email protected] loaded failed failed Cryptography Setup for truecrypt1
    [email protected] loaded active exited Truecrypt volume manager

    Firstly, please check if she is using the preview Pane feature. If so, turn off it.
    Open a file-> View Tab->Preview Plan
    If it doesn't work, try to use another user account to log on the computer to test this issue, it can help us to narrow down the causes for this issue.
    Best Regards,
    Wind
     

  • Accessing portal application on server prompts twice for username

    Hi,
    1. I have created a web service (BASIC Auth SOAP) using Ejb.
    2. Ejb in turn calls RFC function & returns the result.
    3. Also I have created a flex object, which accesses the WSDL of above web service & will return the result.
    4. Using netweaver Portal perspective, I have created a Simple portal application in which I am using the same Flex object(Using embed view tag)
    5. I am using administrator's username & pwd for this application.
    6. When I run this portal application, first it asks me for Portal login & password.
    7. Then It displays the Flex object which has a Submit button on it.
    8. On click of submit button , I am actually accessing the Web Service.
    9. After clicking on Submit button, again it prompts for username & pwd.
    10. After providing the same username & pwd (administrator), it shows me the required result.
    But I don't want my application to prompt second time for the username & pwd. Is it possible to resolve this issue?

    It sounds like you need to implement SSO across your landscape.  Once you do that, you should be fine, assuming that the id you signed into the portal exists in the backend application.
    See these pages for more information:
    http://help.sap.com/saphelp_nw70/helpdata/en/4e/f5e9422edf7276e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/4d/dd9b9ce80311d5995500508b6b8b11/frameset.htm

  • How to Disable Prompt for Command Parameter Vale

    I have a CR that uses an SQL Command for the report query. There is a parameter in the Command Where clause like the following:
    WHERE  type = '{?type}'
    The "type" parameter is also listed in the Command Parameter List. "Type" is also listed as a report parameter in the Field Explorer under Parameter Fields.
    I am sending the value of "type" to the report from an asp.net web form using the following C# in the code behind:
    string strType = "VENDOR";
    crystalReport.SetParameterValue("type", strType);
    My issue is when the report is run, it still prompts the user for type, even though I am sending a value for the type parameter to the report. Is there a way to disable the prompt for a Command Parameter value?
    I am using CR2011 and VS2010Pro.

    Hi,
    Check if you are refreshing the reportobject after setting the parameter values. if yes, comment it.
    Also create a sample applicationwith below code, drop a CR viewer on the design page and see if the issue can be reproduced.
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    public partial class _Default : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            ReportDocument rd = new ReportDocument();
           rd.Load(Server.MapPath("Report1.rpt"));
          rd.SetParameterValue("Parameter Name", "value");
         CrystalReportViewer1.ReportSource = rd;
    - Bhushan

  • Dynamic Parameter Prompting for Database Connection Password When schedulin

    I'm having problems with Dynamic Parameters when I try to schedule a report in InfoView.
    I create the report in Crystal Reports XI and publish it to the Crystal Server. I go into CMC and under Process:Database set the correct data source and enter the server, database, user and password.
    When the report is run I can choose a dynamic parameter and the reports runs fine - it's when I try to schedule the report and choose the parameter that I am asked to enter the user and password for the database.
    If the parameter is static it's fine and I don't get prompted. Because I want the end-users to schedule their own reports I need to have the user and password embedded in the report.
    From what I've read in the forums, there seems to be a lot of issues with dynamic parameters and database logons, and no real solutions. But this is just weird that it's only failing when I try to schedule the report!

    I am having the same issue. 
    Issue started on 9/25/2008
    Existing BO 11r2 installation including service pack 2
    Windows Server 2003 Service pack 2
    Existing scheduled reports do not exhibit this behaviour and run correctly.
    Add new or update existing report. Log into the CMC as administrator and set process for database and parameters.
    Exit CMC
    log into Infoview.  Click on report and run (as administrator OR as existing user with permissions) NO PROBLEM.
    Log into Infoview as Administrator or existing users with permissions) as attempt to schedule report.  All reports Any dynamic parameter and request for user name and password opens.  Once the correct info is entered the report can be scheduled.
    This is a new issue on our installation, we have been running without problems for over a year.
    Any help appreciated.

  • 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

  • I'm on ff 3.5.5 for Mac. I've been prompted twice to download latest version. Each time I have dragged the ff icon from applications folder to the dock and all seems ok. But next time I start ff it says I'm on 3.5.5 and should update to latest version!

    There was no "update failed" message
    I wonder whether I'm doing the right thing when I drag to the dock. There's only one ff icon in the applications folder. The first time I was prompted to update it showed that days date next to the icon as if the update was successful. The second time was a few days later but I think it was still the same date next to the icon (25/8/10) I've only just noticed that (on 10/9/10) so can't be sure but I'm sure the second time was around 2nd or 3rd of Sept.
    Also, I am running two versions of ff- one is english, the other is the Italian version. They can't be opened at the same time but they seem to talk to eachother in the background, so to speak, because when I open one after a long gap, it opens with all the history and settings of the other one, right up to the last website I went to. I think I closed both when updating because it prompts you to close all programmes and restart (I think/ remember) so I just clicked ok to that prompt.
    By the way, I got the prompt to update twice for ''BOTH'' the Italian and the English version- so 4 times altogether so it would seem that ff does recognise them as separate but still has problems concluding the update for each separate one respectively.
    Thank you very much if you can help.
    Trapperjohn

    Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    Trash the current Firefox application to do a clean reinstall.
    Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Parsley Dynamic Command & Dynamic Object for Soap web services

    Hi,
        <fx:Declarations>
            <s:CallResponder id="getSearchEngineForReferencePageResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="lawPadCommunicationServicesPort"
                                                                             result="lawPadCommunicationServicesPort_resultHandler(event)"       
                                                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getBasePathForFileDownLoadResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="RefLawPadCommunicationServiceGetBasePath"
                                                                             result="RefLawPadCommunicationServiceGetBasePath_resultHandler(event)"
                                                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getXmlPathLinkResult"/>
            <xmlpathcommunicationport:XmlPathCommunicationPort id="xmlPathCommunicationPort"
                                                               fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
        </fx:Declarations>

    Hi,
    I am new to Parsley.....
    Can u refer me some link to understand all features of Parsley.
    Mainly Dynamic Command and object for soap web services....
    I am in confused state with the usage of dynamic command and object for Soap web services.
    <fx:Declarations>
            <s:CallResponder id="getSearchEngineForReferencePageResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="lawPadCommunicationServicesPort"
                                                                               result="lawPadCommunicationServicesPort_resultHandler(event)"        
                                                                               fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getBasePathForFileDownLoadResult"/>
            <lawpadcommunicationservicesport:LawPadCommunicationServicesPort id="RefLawPadCommunicationServiceGetBasePath"
                                                                                result="RefLawPadCommunicationServiceGetBasePath_resultHandler(event) "
                                                                               fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getXmlPathLinkResult"/>
            <xmlpathcommunicationport:XmlPathCommunicationPort id="xmlPathCommunicationPort"
                                                                fault="Alert.show(event.fault.faultString + '\n' +  event.fault.faultDetail)" showBusyCursor="true"/>
      </fx:Declarations>
    Thanks & Regards

  • When I start m/ff browser, the pop-up prompt asking for the master security password appears twice. It was not doing this before. What is wrong?

    When I start the m/ff 3.6.3 browser, the pop-up prompt asking for the master security password appears twice. It was not doing this for the 1st month i had it, and it just started doing it all of a sudden. What could be wrong? O/S = Vista Home Prem.
    == This happened ==
    Every time Firefox opened
    == Afew days ago

    It could be this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=499233 - - multiple master password prompts triggered by filling form logins in multiple tabs
    If you have multiple tabs with form logins restoring when you restart Firefox, that could cause multiple master password prompts.
    There may be other bug(s) causing multiple master password prompts. One way to make the master password a little more usable is the [https://addons.mozilla.org/en-US/firefox/addon/9808/ StartupMaster] add-on, which prompts once for the password at startup, then never bothers you.

  • Generate dynamic DataTable for Values selected from SelectManyListBox

    I want to generate a datatable for values selected in a selectManyListBox,
    DataTable will have three columns
    1serial number
    2.values selected from listbox
    3.inputText for entering some data
    Plz guide me how can i do this...
    Thanx in advance!

    Check http://balusc.xs4all.nl/srv/dev-jep-dat.html how to use datatables.

  • ITunes always prompts me for my password... Twice

    Any time I open iTunes, it will prompt me for my password. I click cancel, and after a few seconds it prompts me again.
    I want to disable this prompting, ideally permanently.
    Anyone know how?
    P.S. I don't need a lecture on security. Thanks!

    i think it's just because of security and that it is really you in your itunes account and not a hacker

  • WEB Application / Dynamic variable input / Prompts

    I've defined a variable on characteristic Currency with the following definition:
    Processing by              : User Entry/ Default Value
    Variable represents        : Single Value
    Variable entry is          : Optional
    Ready for input            : yes
    Can be changed in query nav: yes
    Default Value              : EUR
    This variable ist used in "Currency Translation" as "Target currency" (variables entry: yes)
    The query is used in a Web-Report that performs the following command by selecting currencies from a checkbox:
    url=SAP_BW_URL_Get() +"&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=SL_CURR&VAR_VALUE_EXT_1=";
    url=url+value;
    (value is the code of the selected currency)
    Everything works pretty good, but opening the web-report I get a prompt window for the variable. How can I avoid this ?
    Changing the variable property <Ready for input : no> causes the effect that the dynamically changing of the variable doesn't work anymore. It seems that in this case always the default value of the variable is taken.
    The application should use the default value while opening the report, afterwards it should be possible to set the variable dynamically.
    Thank you very much for your ideas !!

    Hi Stefan,
    you can activate/deactivate the variable screen with parameter "Force Variable Screen" in your web template.
    bye

  • Dynamically populated parameter clears previously entered parameters

    Software: Crystal Reports XI 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 is a command object which passes the two date parameters to a stored procedure:
    exec sp_MyStoredProcedure {?startdate},{?enddate}
    The second table 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 no parameters, and was originally a view in the database, but it the same problem occurs whether i dynamically populate the string parameter options from either a view or a stored procedure. I'd like to go back to using a view, as i do not need to pass any kind of parameters to the 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 tables 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.
    Edited by: Duraplex on Nov 12, 2010 6:26 PM
    Edited by: Duraplex on Nov 12, 2010 6:57 PM - After contacting the tech dept of my employer, they are applying a service pack update to my installation, I am hoping this resolves the issue. Will post an update as soon as I know more.
    Edited by: Duraplex on Nov 12, 2010 7:35 PM - After applying SP4 to my installation, the problem persists. I did note however that removing the string parameter and record selection formula, and then recreating them, does somewhat solve the issue temporarily - i still am presented with two forms, but the second form doesn't clear the previously entered date parameters. However,  once i save the report, and reload it, the problem manifests again and the date parameters are cleared when presented on the 2nd form. Has anyone else encountered a similar problem?
    Edited by: Duraplex on Nov 15, 2010 8:38 PM - Problem resolved by upgrading from Release 1 to Release 2.

    Hi,
    Once record status gets change for block you can not populate/repopulate the list item. Keep those list items as non-database item with different names and create different items as database orignal items. Than assign the values in WHEN-LIST-CHANGE trigger to the actual database items.
    -Ammad

  • Filtering Data returned to a Dynamic generated Parameter

    Hi,
    I have created a Dynamic Parameter - which generates data from a view and allows user's to select within the report.
    I am looking to see if anyone knows any methodology on the control of data presented within this drop down list. All values are already unique.
    The associated table where the data is controlled has a "retired" flag onto the field which hide the option from within the base application - I am trying to replicate this within the parameter prompt when the report is run.
    Is there an ability to run an sql query whilst viewing the options - e.g. select description from tabel where retired='0'.
    Thanks
    Paul

    Paul,
    I'm not sure what exactly you are trying to do here. If you're basing the LOV on a view, the assumption would be that the view has been narrowed down to display only the option you want to display.
    If that's not the case, say for example, the view was created for something else and it just so happened to be a good candidate for the LOV... You can use a Command as the data source of your LOV.  Just create a new Command and enter the SQL that gets you the desired record set.
    HTH,
    Jason

  • Cascading Parameters prompting twice when scheduling report on CMC

    Hi all,
    I am having some difficulty with the Central Management Console (CMC) when scheduling a report I created.
    The report contains one sub-report with a stored procedure to generate the data. This stored procedure has 5 parameters including region and city. In the main report I implemented cascading parameters for region and city and passed their values to the parameters of the stored procedure for the sub-report. All of this works fine within Crystal Reports when I run the report and even when I use the "View" option in CMC. However when I use the "Schedule" option in CMC to schedule the report and I am setting the parameters for the report, there is some odd behavior. The first parameter shows two values, one for region and one for city (this is fine). The next parameter is a string variable. When I try to set this parameter, I am prompted again with the cascading parameters for the region and city. This messes up all the parameters and if I continue to set the other parameters, I am prompted to give a value for the previous parameter.
    Why am I being prompted twice to enter a value for the cascading parameters? How can I fix this?
    Thanks in advance for your help.
    P.S. I thought about using the cascading parameters as filters in the Crystal Report itself but this causes the report to be slow as a lot of data is brought back from the stored procedure before filtering.
    P.P.S. I am using Crystal Reports 2008

    Hi Jevon,
    What version of BO (Service Pack, Patch) are you using?
    Try upgrading the version to a higher Service Pack/Patch on a Test environment to see if that resolves the issue.
    -Abhilash

Maybe you are looking for

  • New Ipad cannot connect to i-Tunes for setup without Wi-fi, but iphone will connect

    I just bought a new Ipad and I keep getting the error message.  I don't have access to wifi, so I have to use Itunes (connected to my computer). Problem is, when I plug in the ipad I get the following error message: "We could not complete your itunes

  • Has anyone written code to read the contents of passivated XML doc

    hello i am trying to do that because this will help me understand how i am going to use the passivate / activate methods to simulate savepoint in situation where Rollback functionality is not an option in my applications Ammar Sajdi

  • DZ Document Showing Future Baseline Date

    We have a DZ document that is showing a future baseline date. The billing document was created 12/14/09 and payment document was generated 12/28/09. The payment terms in OBB8 is net due 55days. However the baseline date in the clearing document is sh

  • Automatic delivery and billing

    Dear Experts, could any one light me how to create an automatic delivery and billing from the sales order? i want to create the sales order , delivery and billing at the same time when creating the sales order

  • Program PIC Controller Using Labview

    Dear Team       I have created an application using LABview, in which i'm testing an Electronic Hardware before and after programming the Microcontroller available in the hardware.I've almost completed the project expect the auto programming Of Micro