Parameterized Report - how to clear parameter

I have a quick question with probably a quick answer ...
I have a page that has two regions on it. The first region has parameter fields which you can use to add searchable values ( i.e., serial number ). The second region is a report which uses that parameter to get the appropriate rows. Everything works fine. However, when I call the page from a different one or from a tab it retains the value from the last search. I'd like it to first always clear the last value but also not execute the page/report until the user has clicked on the GO/SUBMIT button. Right now when I call the page it has the prior value already executed at time of page load.
thanks
John

Probably I am too late to answer to your question. But I have implemented what you want.
Suppose you have
tab1 -> page1
tab2 -> page2
tab3 -> page3
And you want that whenever you revisit your tab1 (after navigating to other tabs), the items on page1 are cleared. For that, you can create a process of type "session state" on page 2 and page 3 and process point can be "On load-before header" and in that process pick "clear cache on page...." . Here you can specify page 1 . So as a result, whenever you go to page2 or page3, items on page1 will be cleared and when you come to page1, the values selected on page1 previously would be cleared already.
MG

Similar Messages

  • How to Clear Parameter IDs in ABAP?

    Hi folks,
    How to clear SET parameter ID Field ccccc.
    Can anyone explain.
    Thanks,
    Matt

    Just set the field to SPACE.
    SET PARAMETER ID 'SOME_PID' FIELD space.
    Regards,
    Rich Heilman

  • HOW TO CLEAR PARAMETER ID?

    Hey experts,
    I use alv hotspot to call transaction tm_53 as follows:
      SET PARAMETER ID 'BUK' FIELD P_CCODE .
      SET PARAMETER ID 'FAN' FIELD P_LIST-DEAL_NUMBER .
      CALL TRANSACTION 'TM_53' .
    the first P_LIST-DEAL_NUMBER = 11.
    and it is successed.
    the second time the P_LIST-DEAL_NUMBER = 12.
    but  in the screen of tm_53,
    the field P_LIST-DEAL_NUMBER is also 11.
    how can i do?
    i used free momery id P_LIST-DEAL_NUMBER ,
    but it's not gone.
    thanks.

    hi,
    check this link
    clear the field you are using in the SET PARAMETER statement
    Clearing Parameter ID
    regards
    lakshmi

  • Filters in Web intelligence reports(How to give parameter in WebI)

    Hi
    i am having a proble with webintelligent where, In webintelligence report i need to show the employee monthly sales wise report with bar graph in that same report i want to show the comparison of previous years of sales for ex: if i select employee name, month name, year (amy ablert, december, 2003)
    1. In first block  i need yearly comparision of employee sales report in line graph it should show previous year like 2001, 2002 and 2003 comparision in that report,
    2.In second report block it should be show me only december month of same year 2003 report in bar graph, In that report it will give detail of product category,sales and month.
    3. In third report it should give me information of sales order no, product category and sales(sum) in table formate. And all three blocks of report i want to show on in single report with the filter of (employee name, month name, year)
    i am new in business objects
    need assitants on this i will post the screen shot of that report hope you all can understand
    here is the url: [http://errorsbusinessobjectsxir3.blogspot.com/2010/10/blog-post.html]
    in that blog you can see the sql server reporting where 1st image will yearly comparison of employy,
    2nd will show you the december product category and sales and third will show you the sales order,sales, product category
    in last report you can see the selection of there filter month,year,employee
    Edited by: prasadboxir3 on Oct 12, 2010 11:10 AM

    Hey prasadboxir3,
    I solved the same issue for Quarters earlier and my DB is SQL Server, Hope it will helps you a lot.
    The solution is to add a condition to your query filter. Conditions have the yellow funnel Icon and are listed under the class in the Data Tab.
    Adding a Class Condition Filter in done in the Universe Designer. Defining a condition object is described in the Universe Designer Guide, Chapter 5.
    While in designer, right click a class and choose Condition. Name your condition and provide the Where logic to get the last four quarters of data. Since the logic can be complex, here's two MS SQL Server examples of quarter based conditions:
    Name: Case Begin Date This Quarter:
    WHERE: Code:
    @Select(CaseProgram\Case Begin Date) BETWEEN DATEADD(qq, DATEDIFF(qq,0,getdate()), 0) AND DATEADD(ms, -2, DATEADD(qq, DATEDIFF(qq, -1, GETDATE()), 0))
    Name: Case Begin Date Last Quarter:
    Where: Code:
    @Select(CaseProgram\Case Begin Date) BETWEEN DATEADD(qq, -1, DATEADD(qq, DATEDIFF(qq, 0, GETDATE()), 0)) AND DATEADD(ms, -2, DATEADD(qq, DATEDIFF(qq, 0, GETDATE()), 0))
    Conditions based on the current date/time provide the point of reference for your date calculations. Use the GetDate function along with the Between function. If your date field includes the time, don't forget to include the time (23:59:59) on the second date. This is done by subtracting the 2 milliseconds.
    Once the conditions are in the universe, drag the condition into the query filters area of the Edit Query screen. The advantage of using conditions is that your report can now be scheduled and does not require a user prompt.
    Just do it for Month/Year object for your req.
    Let me know if you have any concerns.
    Gracias...!!

  • How to get parameter value from report in event of value-request?

    Hi everyone,
    The customer want to use particular F4 help on report, but some input value before press enter key are not used in event of "at selection-screen on value-request for xxx", How to get parameter value in this event?
    many thanks!
    Jack

    You probably want to look at function module DYNP_VALUES_READ to allow you to read the values of the other screen fields during the F4 event... below is a simple demo of this - when you press F4 the value from the p_field is read and returned in the p_desc field.
    Jonathan
    report zlocal_jc_sdn_f4_value_read.
    parameters:
      p_field(10)           type c obligatory,  "field with F4
      p_desc(40)            type c lower case.
    at selection-screen output.
      perform lock_p_desc_field.
    at selection-screen on value-request for p_field.
      perform f4_field.
    *&      Form  f4_field
    form f4_field.
    *" Quick demo custom pick list...
      data:
        l_desc             like p_desc,
        l_dyname           like d020s-prog,
        l_dynumb           like d020s-dnum,
        ls_dynpfields      like dynpread,
        lt_dynpfields      like dynpread occurs 10.
      l_dynumb = sy-dynnr.
      l_dyname = sy-repid.
    *" Read screen value of P_FIELD
      ls_dynpfields-fieldname  = 'P_FIELD'.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_READ'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 1.
      check sy-subrc is initial.
    *" See what user typed in P_FIELD:
      read table lt_dynpfields into ls_dynpfields
        with key fieldname = 'P_FIELD'.
    *" normally you would then build your own search list
    *" based on value of P_FIELD and call F4IF_INT_TABLE_VALUE_REQUEST
    *" but this is just a demo of writing back to the screen...
    *" so just put the value from p_field into P_DESC plus some text...
      concatenate 'This is a description for' ls_dynpfields-fieldvalue
        into l_desc separated by space.
    *" Pop a variable value back into screen
      clear: ls_dynpfields.
      ls_dynpfields-fieldname  = 'P_DESC'.
      ls_dynpfields-fieldvalue = l_desc.
      append ls_dynpfields to lt_dynpfields.
      call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname     = l_dyname
          dynumb     = l_dynumb
        tables
          dynpfields = lt_dynpfields
        exceptions
          others     = 0.
    endform.                                                    "f4_field
    *&      Form  lock_p_desc_field
    form lock_p_desc_field.
    *" Make P_DESC into a display field
      loop at screen.
        if screen-name = 'P_DESC'.
          screen-input = '0'.
          modify screen.
          exit.
        endif.
      endloop.
    endform.                    "lock_p_desc_field

  • How to clear parameters defined in selection screen on back button

    Hi,
    I have a report with parameters, few being input fields, and check boxes. After report is executed when user selects the back button, the selection screen is displayed again but with the old selection values. I want to clear them.
    So in the Initialization even I added the code to clear all these parameters;
    CLEAR: p_aaa, p_bbb, p_ccc.
    I debugged and control passes through this code but still the fields are not cleared and they retain the old input values.
    How to clear them ?
    thnks

    >
    Rob Burbank wrote:
    > Yes he did. My mistake.
    >
    > But isn't this what he wants? To clear the Selection screen so that something has to be entered?
    >
    > Rob
    IMO, he only wants to clear the selection screen parameters on the click of 'BACK' button
    in the list screen. If the OP clears the selection screen variables in AT SELECTION-SCREEN OUTPUT
    even, the values assinged to the selection parameters in the INITIALIZATION and with the DEFAULT addition of the PARAMETERS and SELECTION-OPTIONS statements will also be overwritten even when the report is executed for the
    first time.
    -Rajesh.

  • [Forum FAQ] How to use parameter to control the Expand/Collapse drill-down options in SSRS report?

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

  • How to pass parameter from FM to report without changing interface of FM

    Hello experts,
    How can I pass a table name from a FM to the report calling the FM, without changing the existing interface of the FM.
    Thanks,
    Ajay.

    Hi,
    I f you want to pass any parameter from FM to Report or Vice-versa, parameter should me maintained in the FM otherwoise you can't pass any other than existing parameters.
    Otherwise create a custom FM.
    Regards,
    Sunil

  • How to clear Global Parameter ID.

    Hello Friends.
    How can I get clear Parameter ID value, which was set in the program. suppose, if value is set to 'X', How can I make it to '  '.
    Sathish Kumar

    hi
    good
    use like this
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    SET PARAMETER ID <pid> FIELD <f>.
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID <pid> FIELD <f>.
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    thanks
    mrutyun^

  • How to call a Report 10g from a parameter form..?

    Hello,
    pls i wanna know the procedure of :
    How to call a Report 10g from a parameter form..?
    regards,
    Abdetu..

    hopes it work for you.
    procedure get_report is
    pl_id paramlist;
    p_year varchar2(4);
    param_name varchar2(10) :'param';
    begin
    pl_id := get_parameter_list(param_name);
    if not id_null(pl_id_)then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list(param_name);
    p_year := year -- assign the value.
    add_parameter(pl_id,'p_year',text_parameter,p_year);
    execute_report('report_name',pl_id);
    end;

  • How to handle multiple reports with single hyperlink parameter

    Please suggest in my drill down report
    i have two reports linked with one hyperlink
    parameter, how to handle this?
    please suggest for popup window with sample solution.
    for example
    report A--->B--->Chosse Report c or D
    based on parameter hyperlink at report B.
    Thanks in advance
    Raj

    Yes U R correct, that
    I'm using srw.set_hyperlink in plsql format trigger
    to open other reports , now the problem is
    how to carry over the hyperlink parameter to popup window
    and allow user to choose any reports based on the
    parameter value.
    for example
    report A (Sales person summmary report)
    |
    | (choose sales person drilled to orders report B)
    |
    B (report has the hyperlink on order no)
    |
    |
    C,D,E (many reports based on order no
    customer,order details,pending items
    to be shipped)
    Now how to handle the situation from b to c,d,e
    I suggest use hyperlink at B to open popup to show
    reports C,D,E with the order no has parameter.
    please suggest for javascript to open popup window
    for reports c,d,e.
    Thanks
    Raj

  • How to   Pass Parameter from BIP  to Dashboard  Report

    Hi,
    Parameter from BIP to Dashboard Report
    If I select BIP report paremeter should pass value to dashboard report
    thanks in advance.
    CHEERS ,
    Jel

    Hi Saichand,
    I hav gone through above link its passing values from Dashboard prompt to BIP report only..
    just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
    Thanks in advance
    Cheers,
    Jel

  • HT1338 Hi, does anyone know how to clear a icon saying Microsoft Error Report?

    Hi, Does anyone know how to clear an icon saying Microsoft Error Reporting?

    Where do you see this icon?
    What are you doing when the icon appears?

  • How to clear a buffer memory in a report program?

    Hi Gurus,
    How to clear a buffer memory in a report program?
    Regards,
    Amit Kumar Singh

    Yes i am using USER__COMMAND like this
          FORM USER_COMMAND                                             *
    FORM user_command USING u_ucomm     TYPE sy-ucomm
                            us_selfield TYPE slis_selfield.     "#EC CALLED
    data : l_memory_id(20) type c value 'BSVA_BUFFER'.
    free memory ID l_memory_id.
      CASE u_ucomm.
        WHEN gc_refresh.
          PERFORM clear_data.
         CONCATENATE '-' p_months INTO p_months.
          PERFORM populate_z01.    "List of Plants and Materials
          PERFORM populate_z02.    "List of Periods and dates
          PERFORM populate_z03.    "Report Contents
          PERFORM add_data.
          us_selfield-refresh    = c_x.
          us_selfield-col_stable = c_x.
          us_selfield-row_stable = c_x.
      ENDCASE.
    ENDFORM.                    "user_command
          FORM PF_STATUS_SET                                            *
    FORM pf_status_set USING ut_extab TYPE slis_t_extab.        "#EC CALLED
      DELETE ut_extab WHERE fcode = gc_refresh.
      SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
          EXCLUDING ut_extab.
    ENDFORM.                    "pf_status_set
    Where   gc_refresh is defined as
    constants : gc_refresh TYPE syucomm VALUE '&REFRESH'.

  • How to clear in the report

    I have some delivery numbers delivery
    I have triggered GI to site, but there are still some items pending at GIT report. 
    Could you help to check the reason and indicate how to clear them in the report.

    This would be your path
    <install_dir>/bobje/data/<cms_port/storage//docs

Maybe you are looking for