Allowing Default Values OR typed values in a SSRS Report Parameter

Hello,
I'm able to set a parameter while designing a SSRS report to use a list of values or I can chose to specify no values.  In the latter scenario when actually running the report the value can be typed instead of selected.
What seems impossible is to allow (while running) the user to type a value but also having the option of using default values.   It seems if the options for default or available values are entered with information while designing the report, the ability
to type values into the report while running it is taken away.

Hi ebs_software,
Per my understanding you want to know if there is any method to type the parameter values and also can select a value from the drop down list, right?
Generally, by default, when you haven't specify the "Available values" you will able to type an value in the parameter input textbox, or you will not able to do this. For the field of "Date/Time" type when you haven't specify the "Available
values", you can pick up the date from the calendar picker and also can type the value in the textbox.
Thanks for your understanding!
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support

Similar Messages

  • SSAS report action to pass multi-value list of dimention key values to a SSRS report parameter

    This was originally posted on StackOverflow and suggested I try here as well.
    I want to create a report action in an SSAS OLAP cube that generates a list of formatted values to pass into an SSRS report parameter that accepts a multi-valued parameter list.  This would be applied at the
    cell level in the SSAS action.  I have found a solution that gets me most of the way:
    How to Pass Multiple Values from an SSAS Report Drill Through Action to an SSRS Multi-Value Parameter, but not quite.  The action does appear in Excel and works
    if I run the action from a cell that is at or below the dimension attribute I am generating the list for, in this case,
    Account Key.
    Below is a link to a screen capture (unable to embed it due to lack of reputation) showing the action and dimension structure in Excel.  The action works as long as I run it at the
    Account Key level or below.  I want to be able to run it at higher levels, such as
    Account Major and still have it generate all then related Account Key values for the SSRS report parameter.  Running it at the higher
    Account Major level does not trigger the report to run.
    Excel Action Screen Shot:
    http://i.stack.imgur.com/QCGSp.png
    Below is the MDX I am using to generate the value for the report parameter:
    UrlEscapeFragment(
    GENERATE(
    DESCENDANTS(
    [Account].[Account Key].CurrentMember,
    [Account].[Account Key].[Account Key]
    [Account].[Account Key].CURRENTMEMBER.Name,
    "&rp:Account="
    I am hoping that I can somehow modify the MDX above to make it return all the
    Account Keys for any attribute of the Account dimension when ran from any measure cell, not just when ran at self and children of
    Account Key in the pivot table.
    Also, if it helps, I can execute the following MDX query on the cube and get the results I am looking for.
    WITH MEMBER [Measures].[Account Key List] as
    GENERATE(
    DESCENDANTS([Account].[Account].CurrentMember, [Account].[Account].[Account]),
    [Account].[Account].CURRENTMEMBER.NAME,
    "&rp:Account=")
    SELECT {[Measures].[Account Key List]} on 0,
    ([Account].[Account Company Number].[Account Company Number],[Account].[Account Major].[Account Major]
    ) on 1
    FROM [Company 10 Action Demo]
    Below are partial results:
    10.116&rp:Account=10.116.010
    10.117&rp:Account=10.117.010&rp:Account=10.117.020
    10.120&rp:Account=10.120.005&rp:Account=10.120.006&rp:Account=10.120.010&rp:Account=10.120.020&rp:Account=10.120.030&rp:Account=10.120.040&rp:Account=10.120.050&rp:Account=10.120.060&rp:Account=10.120.380&rp:Account=10.120.999
    10.123
    Questions
    Any ideas what I might need to do to get Account Key to be returned for any attribute of the
    Account dimension?
    Would I possibly have to alter my Account dimension in the cube to get this to work?
    Thanks in advance.
    Edit 1 - Adventure Works Cube Version
    I was unable to get the suggested answer with the "Exists" function to work.  To better demonstrate this issue, I have recreated it using the Adventure Works Cube.
    I will focus on the Customer dimension, specifically the Customer and
    Education attributes.  I created a report action called Test Report Action.  Below is the XML created for it in the cube.
    <Action xsi:type="ReportAction" dwd:design-time-name="f35ad5ee-5167-4fb8-a0e0-0a74cc6e81c6">
    <ID>Report Action 1</ID>
    <Name>Test Report Action</Name>
    <TargetType>Cells</TargetType>
    <Target></Target>
    <Type>Report</Type>
    <ReportServer>SQLSERVER</ReportServer>
    <Path>ReportServer?/Test Report</Path>
    <ReportParameters>
    <ReportParameter>
    <Name>Test Customer Existing</Name>
    <Value>UrlEscapeFragment(
    GENERATE(
    EXISTING DESCENDANTS(
    [Customer].[Customer].CurrentMember,
    [Customer].[Customer].[Customer]
    [Customer].[Customer].CURRENTMEMBER.Name,
    "&amp;rp:Customer="
    )</Value>
    </ReportParameter>
    </ReportParameters>
    <ReportFormatParameters>
    <ReportFormatParameter>
    <Name>rs:Command</Name>
    <Value>Render</Value>
    </ReportFormatParameter>
    <ReportFormatParameter>
    <Name>rs:Renderer</Name>
    <Value>HTML5</Value>
    </ReportFormatParameter>
    </ReportFormatParameters>
    </Action>
    Below are the steps to re-create the issue.
    Connect to the cube in Excel
    Add dimension Customer -> More Fields -> Customer
    Add measure Internet Sales -> Internet Sales Amount
    Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action" and see customer values created for URL 
    When the action is ran at this point with Customer, I see the values created in the URL shown message box (since there is no SSRS report server at location specified).
    Now the part I'm unable to resolve
    Remove the Customer dimension and add Customer -> Demographic -> Education
    Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action"
    Nothing happens. If I ran the action on the cell next to "Bachelors", I would want it to build up all the list of all the "Customers"  that make up the "Bachelors" in the
    Customer dimension as part of the report parameter.  If no attributes where used in the cube from the
    Customer dimension for that cell, then I would like it to return "All Customers", or something similar to show that all customers are included in the aggregations.
    I am not too MDX savvy, thus far.  I think I need to somehow join the
    Customers to Internet Sales Amount in the Generate function portion.  I have tried several different combinations of the
    Customer dimension and Internet Sales Amount, along with various functions to see if I could get this to work with no success.  I am hoping that someone more knowledgeable the me will have a solution.   If you need more details,
    please ask and I will provide them.

    Simon,
    Thanks for you help with this.  This morning I found a workaround.  Below describes what that is.
    What I ended up doing was getting a list of values from a degenerate dimension that I could use to pass to SSRS to get a list of transactions for a report.  Below is how I did this, in relation to the Adventure Works cube using the degenerate dimension
    Internet Order Details.
    WITH MEMBER [Measures].[Order Param List] AS
    GENERATE(
    EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
    "Internet Sales"),
    [Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
    "&rp:OrderNum=")
    SELECT {[Measures].[Order Param List], [Measures].[Internet Sales Amount]} ON 0
    ,([Date].[Calendar].[Date]) ON 1
    FROM [Adventure Works]
    This will get a list of Sales Order Number in a text string, separated by "&rp:OrderNum=" for each measure of
    Internet Sales. This would allow me to create an SSRS report to bring back detail information for each
    Sales Order Number. Below are some sample results.
    May 16, 2007 SO50493&rp:OrderNum=SO50494&rp:OrderNum=SO50495&rp:OrderNum=SO50496&rp:OrderNum=SO50497&rp:OrderNum=SO50498&rp:OrderNum=SO50499&rp:OrderNum=SO50500 $12,157.80
    May 17, 2007 SO50501&rp:OrderNum=SO50502&rp:OrderNum=SO50503&rp:OrderNum=SO50504&rp:OrderNum=SO50505&rp:OrderNum=SO50506&rp:OrderNum=SO50507&rp:OrderNum=SO50508 $13,231.62
    May 18, 2007 SO50509&rp:OrderNum=SO50510 $4,624.91
    With this, I can then create a Report Action in SSRS with a Parameter Value of
    UrlEscapeFragment(
    GENERATE(
    EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
    "Internet Sales"),
    [Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
    "&rp:OrderNum=")
    The way I was going about it before was flawed, as I was trying to get a list of the granular values from each dimension used to build the measure value and pass each one of those as separate parameters. I just needed to set something unique for each fact
    measure transaction that represents the value and uses that in a query parameter for the SSRS report.

  • How to use a table- valued function as a datasource for SSRS report?

    CREATE FUNCTION [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate smalldatetime)
    RETURNS @RegionNetPerCapitaRow TABLE 
    (WTD1 DECIMAL(18,6),PYWTD1 decimal(18,6),percentDiff1 float,diff1 float,WTD2 decimal(18,6),YTD2 decimal(18,6),percentDiff2 float,Diff2 float,YTD3 decimal(18,6),PYTD3 decimal(18,6),percentDiff3 float,Diff3 float)
    how to use the above function as a data source for SSRS report instead of a stored procedure ?

    Hi,
    In the Dataset - > Query Type - >  Text - >
    SELECT * FROM [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate)
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How do you set up a default Date To based on Date From for report parameter

    I'm working on a report. I have been asked to set up a default Date To based on Date From for the report parameters. I mean when running a report, if an end user selects a value for parameter Date From, system will automatically populate the Date To parameter based on the Date From + 6 days.
    I guess there's gotta be something to do with Value Set. Do any of you guys know how to go about this?
    Any suggestion is greatly appreciated.
    Dennis

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • Problem using default value of report parameter 1 to validate parameter 2 passed in to report

    I am having a problem with an SSRS report using the default value of report parameter 1 to validate parameter 2 passed in to report (via C#) instead of using the value of parameter 1 that is also passed into the report.  Here are the
    simplified details:
    Using SSDT, SQL Server 2008 R2
    SSRS report has 2 parameters:
    P1 -- text, hidden, default value 'R1', ... front-end C# code can pass 'R2' or 'R1'
    P2 -- text, allows multiple values, list of available values provided by stored procedure (sproc_list) that takes P1 value as a parameter.  Hence, sproc_list either provides a list for P1 = 'R1' or P1 = 'R2'.
    List for P1 = 'R1' is 'A', 'B', 'C'
    List for P1 = 'R2' is 'A', 'B', 'D'
    Values for P1 and P2 can be passed in via C# to the report.
    The C# front-end displays 2 report choices to the user, R1 and R2, where both choices call the same RDL; but choice R1 passes in 'R1' for P1, and the choice R2 passes in 'R2' for P1.
    Upon a users 1st time use of the report no parameters are passed in.  Then when the user exits the report, the parameter value for P2 that was chosen is saved off to a file for R1 or R2, and used the next time the user selects the report.
    Everything always works fine for report R1 since the default value for P1 is 'R1'.
    When R2 is chosen and the user selects 'D' as the value for P2, runs the report, then exits, the P2 value of 'D' for R2 is saved to a file.  When the user returns the next day to run report R2, 'R2' is passed for P1, and 'D' is passed for P2.
    This is when the problem occurs.  The value of 'D' for P2 is validated against a list generated for P2 based on the default value of 'R1' for parameter P1.  Hence, SSRS considers 'D' an invalid value for P2 and blanks out the P2 parameter. 
    The user can then use the drop down list for P2 and choose 'D', but this defeats the purpose of saving the parameter values to be used the next time.
    Why is the stored procedure that provides a list of available values for parameter P2 using the default value of 'R1' for parameter P1 instead of using the value of 'R2' passed into the report for parameter P1?

    Hi Tom,
    Sorry for my delay.
    If I understand correctly, you have two parameter in your report. It is a couple of cascading parameter. If we have choose ‘R1’ of P1, the P2 values is A, B, C. ‘R2’ of P1, corresponding P2 values is A, B, D. What your requirement is to save the end use
    select option of these two parameters.
    In SSRS, if we have configure the parameter with default value. When we run the report, the parameter will fill with the default value to filter data. If we want to save the last status we are render the report, we need to update the default value of P1.
    If we are query the default value from database, if possible, we can
    update the database try to resolve the issue.  Alternatively, we can set the dynamic default value for the parameter.
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Problems by holding the typed Values in Fields by using "LEAVE TO SCREEN"

    Hello Experts,
    I have created a Dynpro  with many field.
    Some Fields are Fields without searchhelps and a part of this Fields have searchhelps.
    One of this Field has a special function.
    It is a Field where you can choose a key value ( an ID number) about the searchhelp.
    After choosing I get the other values for this ID-Number in the returnparameter of the Searchhelp function
    ( values like name, surname ....)
    I set this return values  to the Fieldvariables in the PBO.
    For jumping to PBO I use "Leave to Screen" to the same screen.
    But the Problem is I can not hold the values wich I have typed before  in the Dynpro Fields (Field without serachhelps).
    After using the Field with the Searchhelp (for ID)  the Fields with typed Value go away.
    Please Hel me . Thanx in Advance
    Cetin

    Hi,
    In SE80 double click on your Screen Number and go to the Attributes Tab and Select Hold Data Check box,
    The Help Obtained from F1 Help is as follows, Kindly note this is Copied from F1 Help provided by Standard SAP,
    You too can Check it out
    "SAP Says --->
    If you activate this option, the following functions are supported for
    the screen at runtime:
    System -> User profile -> Hold data
                            -> Set data
                            -> Delete data
    The Hold data function allows you to hold onto any entries you have made
    on the screen. When the screen is next processed (even in a different
    mode), the system then automatically redisplays the data in the input
    fields.
    If the option is not activated, these functions are ineffective at
    screen runtime.
    The "Hold Data" option is not supported for include screens
    (subscreens). The automatic insertion of held data is exclusively
    controlled by the main screen.
    Cheerz
    Ram

  • SSRS Cascading Parameter Setting Default Value of Parameter by Expression

    Hi All,
    I need some help on an issue I am running into in SQL server 2008 report parameters. I have the following Report Parameters defined:
    1) @PredefinedDateSelection - Boolean (User Selectable True/False, Default Value - 'False')
    2) @StartDate - Text (User input text box)
    If @PredefinedDateSelection = TRUE, then I would like to provide a particular default value to the StartDate textbox (i.e. @StartDate Default Value), If @PredefinedDateSelection = FALSE, then I would like to provide a different default value.
    I have the following code for the Expression for the Default value of @StartDate: =code.GetStartDate(Parameters!PreDefinedTimeSelection.Value)
    where GetStartDate is a very simple VB function defined as :
    Public Function GetStartDate(x as boolean ) As String
    Dim a as string
    Dim b as string
    a = "Report Uses Predefined Values"
    b = "Please Input Value"
    If (x) then
    Return a
    else
    Return b
    end if
    end function.
    Now the default value of @StartDate stays set as "Please Input Value", and does not change when I toggle @PredefinedDateSelection from False to True and vice versa. I was expecting to see the Default value to change between the two messages depending on my selection in the report preview.
    Another parameter which is a dropdown and uses a dataset to display two different set of selectable items depending on the value of @PredefinedDateSelection is working just fine. I am not sure if I am missing something or I am doing something wrong.
    Instead of using the VB code I also tried : =iif(Parameters!PreDefinedTimeSelection.Value = True,"Report Uses Predefined Values","Please Input Value")
    I also tried changing the default value using a dataset with SQL query and the available value set to NONE, so that the user could input. But the Default value does not refresh or change values.
     I hope I have explained my question clearly. I would really appreciate any thoughts and comments.
    Thanks,
    Arunesh

    Thank you much for your response.
    I tried that and it did work. But my requirement is to have a user input the date. The basic idea is if the user decides on a predefined time range like Day Shift Today or Yesterday and so on... then the report would automatically calculate the values based on predefined date time values. On the other hand, if the intent is to run the report for an arbitrary period then the user supplies the date and time limits.
    What I am trying to achieve is have the same parameter available for user input , but when the User decides he wants Predefined then the "textbox" populates with date and time as per his choice of predefind range.
    I understand that by this the user can still overwrite the date and time on the text box, but the report will run the predefined values as long as he has the @PredefinedDateSelection Set to true.
    Is there a way I can impement this?
    Once again I thank you and appreciate  your input.

  • Report Parameter Default Value at runtime

    Post Author: DMiller
    CA Forum: .NET
    Hi,
    I need to be able to create new parameters at runtime and have been somewhat successful in this endeavor. I have one remaining issue that I am hoping that somebody can help me with. Let me explain.
    When you create a parameter from within the Crystal XI designer, you are able to specify a number of default values that will display as a list box at runtime. Eg. ParameterName is MaritalStatus and default values are ("Married", "Single", "Divorced" etc). There is also the ability to specify the Default Value in the Value Options area of the screen. This value could be set to any one of the default values above - let's say that I set it to "Single". By setting the Default Value, this causes the Parameter Fields screen, at runtime, to "Select" the specific default value set above - in this case "Single", instead of showing "..." as the parameter value.
    The default value setting in the Value Options is beneficial when you have reports that are usually run with certain parameter values and only occasionally these need to change. Instead of having to specify every parameter value, the user only has to set the ones that have not been defaulted or they want to change.
    So, I have been successful in creating the parameters at runtime and successfully running the report. I have been unsuccessful in setting the "Default Value" as seen in the Value Options area. I have tried a number of properties on the report parameter object and have not found anything to set this.
    Does anybody know how to set the "Default Value" as seen in the Value Options area in the designer at runtime?
    Thanks for any help.

    Post Author: JerryB
    CA Forum: .NET
    You have described my scnario to a tee.  Did you ever figure out how to get the single default value that is available in the "value options" area when working within the Crystal Reports development environment.  I am using VB.Net and have a nice report menu form and viewer but recently a user ask me to set the default value in one of my combo boxes and I have been unsuccessful in finding the correct property to use.

  • How to show first parameter value in drop down list as a default value dynamically in ssrs report?

    Hi,
    in my ssrs report i have two parameters, accounts and Manager ,there is a cascading between the accounts parameter and manager parameter, as per the cascading we will get managers names based on the account we selected in the accounts parameter,
    my requirement is the first name in the mangers drop down list  has to get selected as default value.
    please help me with this, it is an urgent requirement.
    Thanks in advance,
    Naveen

    Hi NaveenMSBI,
    According to your description, you want to use cascading parameters in the report, if the accounts are selected when you preview the report, the first manager name will be selected from drop down list as the default value. If so, there can be two scenarios:
    • If manager is single-valued parameter, we can get Available Values and Default Values from the same query as below. Then when the accounts are selected, the first manager name will be selected as default value.
    SELECT managerName FROM table_name WHERE accounts IN (@accounts)
    • If manager is multi-valued parameter, we need to use different query for Available Values and Default Values. In this case, please refer to Patrick’s solution.
    For more information about Adding Cascading Parameters, please refer to the following document:
    http://technet.microsoft.com/en-us/library/aa337498(v=sql.105).aspx
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Default Value in Number field in Travel Expense Report

    Dear All
    I have a requirement from my client's side. In the Expense Report, when I coose an expense receipt, say for TAXI, I get a value in the field "Number". I know that the value can be configured or defualted based upon the "From" and "To" date.
    My client needs the number field to get defaulted, based on the "Expense Receipt" chosen. For example if somone chooses "Parking Fees" the number field should get defaulted automatically by the value 3 and if somone chooses "Telephone Expenses" the number field should get defaulted automatically by the value 2.
    Is there in any user exit or anything that takes care of this?

    You may take your ABAPer's help to enhence the report.it would be small change.Might be you need access key for this change from your Basis team.

  • How to allow user to enter multiple values?

    Hi, can someone tell me how I can allow user to select multiple values from a selection screen. To be more clear, I have to display 4 values on the selection screen and want to allow user to select 2 or 3 values from it. It will be very helpful if someone could tell me how to do it.
    Thanks in advance,
    pushpa

    hi mahesh,
    pls c the code below. this is what i have written in my program. when i run this program it is showing only one value and that too only the first one '1234'. i want that it display all the values that i gave in the initialization part.
    please help.
    thanks,
    pushpa
    SELECTION-SCREEN BEGIN OF BLOCK enter_data WITH FRAME TITLE text-001.
    SELECT-OPTIONS skunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF BLOCK enter_data.
    INITIALIZATION.
    skunnr-low = '1234'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '9824'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '8756'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.
    skunnr-low = '6534'.
    skunnr-sign = 'I'.
    skunnr-option = 'EQ'.
    APPEND skunnr.

  • Multi select prompt defaulting to only 256 values

    Hello All,
    The requirement we have is to have the prompt defaulted it to be picking all the values in the prompt. The prompt has about 700 values. But it's only defaulting to 256 values. Is there a way to increase this. I am on obiee 11.1.1.6.10.
    I have tried using the <MaxDropDownValues>256</MaxDropDownValues> in instanceconfig.xml. but that's off now use. Is there a seperate parameter that would control the values in multi select prompt?
    Kindly help out.
    Regards,
    Deep

    Hello Deep,
    Check this
    Srinivasan Software Solutions Pvt.Ltd.: [OBIEE 11g] Customizing Prompts 'ALL Column Values' To Custom Value
    Thanks,
    Sasi Nagireddy..

  • Extended Edit box loses the typed value when form is resized

    Extended Edit box loses the typed value when form is resized:
    Hi,
    I have added an extended edit box in a system form (SO form). When form is resized, I'm programmatically repositioning the edit box for proper alignment. When I do that, whatever has been typed in the edit box is lost (which is not yet saved).
    If I don't do repositioning of the edit box, then it is working fine - whatever the user typed remains there.
    Why is this happening, and how can I work-around this?
    Thanks for your help.
    Regards,
    Geetha
    Edited by: Rui Pereira on Dec 23, 2008 4:24 PM

    Hi Geeta,
    Try to disable the scroll of Extended Edit text.
    its in the property list of the Extended Edit Textbox's object.
    Actually its also with SBO's own extendedBoxes but whenever we mouse over on the box. it again appears but ita after saving the data.

  • Default selection of dropdown value help in bp search for custom field

    Hi guys,
    i've problem setting a default selection of the value help. I appended a structure containing a field of type CRMT_BOOLEAN to the crmt_bupa_il_header_search and show it at the bp search page.
    The default order of the value help is
    [ ] false
    [x] true
    which means that the first entry (false) is selected by default. I want the second entry to become the default entry. I tried to sort the ddlb_table of this field in the get_v_xxx but this didn't had any effect to the value help.
    DATA:  lt_ddlb TYPE  bsp_wd_dropdown_table,
    lr_ddlb TYPE REF TO cl_crm_uiu_ddlb.
    lt_ddlb = cl_crm_uiu_bt_tools=>get_strcmp_ddlb(
    iv_structure = [structure]
    iv_component = [my_zfield])
    IF NOT lr_ddlb IS BOUND.
    CREATE OBJECT lr_ddlb
    TYPE
    cl_crm_uiu_ddlb
    EXPORTING
    iv_source_type = 'T'.
    ENDIF.
    SORT lt_ddlb DESCENDING BY key.
    lr_ddlb->set_selection_table( it_selection_table = lt_ddlb ).
    rv_valuehelp_descriptor = lr_ddlb.
    Is this approach not working at all? After sorting lt_bblb contains the values in correct sequence, the webui is showing the value help as before.
    Is it possible to set a selected value in any way?
    Thanks and BR,
    Sven

    Hi Sven Wagener,
    what i understand is you want to set the default entry is second value right?
    if this is your requirement then go for this procedure.
    In redefine do_init_context method and fetch the collection in that collection get your field name and value.
    make a condition like this if the value = 'first value of your drop down' then set to second value.
    this method will execute only in the initial stage means when ever you login into your business role this method will execute.
    example:
    lr_col ?= me->typed_context->yournode->collection_wrapper->get_current( ).
    check lr_col is bound.
    lr_col->get_property_as_string( EXPORTING iv_attr_name = 'DROPDONWFIELD' RECEIVING rv_result = lv_dropdownfield ).
    if lv_dropdownfield EQ 'FIRSTFIELDKEY'.
    lv_dropdownfield = 'SECONDFIELDKEY'.
    lr_col->set_property( EXPORTING iv_attr_name = 'DROPDONWFIELD' iv_value = lv_dropdownfield ).
    IF this is not your requirement then give me some screen shorts.
    Thanks & Regards,
    Srinivas.

  • Default value of report parameter

    hi there,
    i want to filter my data with a dynamic report parameter as a combo box. its default value should be "all". If "all" is selected, all of the data should be shown.
    It worked using the filter:
    row["status"] Equal to (params["NewParameter"].value == "all" ? row["status"] : params["NewParameter"].value )
    to make it more dynamic i want to replace "all" by the parameters default value. something like
    row["status"] Equal to (params["NewParameter"].value == params["NewParameter"].defaultValue ? row["status"] : params["NewParameter"].value )
    does anybody know how to get the default value?

    You can use this in script or the expression builder to get the default
    value of a parameter:
    //1stparameter
    reportContext.getDesignHandle().getParameters().get(0).getDe faultValue();
    Jason
    On 8/12/2010 7:52 AM, xoto wrote:
    > hi there,
    >
    > i want to filter my data with a dynamic report parameter. its default
    > value should be "all". If "all" is selected, every data should be shown.
    > It worked using the filter: row["status"] Equal to
    > (params["NewParameter"].value == "all" ? row["status"] :
    > params["NewParameter"].value )
    >
    > to make it more dynamic i want to replace "all" by the parameters
    > default value. something like
    > row["status"] Equal to (params["NewParameter"].value == "all" ?
    > row["status"] : params["NewParameter"].defaultValue )
    >
    > does anybody know how to get the default value?

Maybe you are looking for

  • I'm new to working with soundtrack and final cut simultaneously?

    I have to edit a documentary in the coming week for a project. I want to use soundtrack pro alongside final cut pro. Could someone put simply the process of the two working together? for audio connected to video clips in final cut, is the only way to

  • BAPI_PO_CHANGE document number leading zero problem

    Hi experts, The following code clears the "Delivery Complete" flag on a list of Purchase Orders uploaded from a CSV file. The PO number is 9 digits long, however, in EKPO table it is stored as 10 digits (prefixed with a zero). The BAPI does not recog

  • Shared Libraries and personal security

    Have there been any security issues with Shared Libraries?

  • Application comparisons

    Recently added Mini with 10.6.8 and applications are unfamiliar are Front Row, Photo Booth, Microsoft Silverlight, Time Machine. Programs used in 10.4.11 that I'd like equivalents for but not sure whether or not will work in 10.6.8 any suggestions ap

  • HR TIME TYPES

    Hi Friends how do you assign time management data to time types and define your own additional time types in the SAP system. from where do you get time types in r/3 source system and how do you get it to bw , please guide me its urgent. regards dev