on ‎2006 Jun 18 5:11 PM
Hello,
I understand that to set filter values in template, I can use <param> or sap_bw_url.
What I am unclear is how to apply sap_bw_url. Does using it mean I need to write JS code?
Are the 2 commands equivalent of each other?
And what does setting filter values really mean?
Does it mean the filtered value will become the default or cannot be set with other values once I restrict by the command? Is it just the initial default value and changeable when user selects a dropdown list?
Please help me if possible.
Alfonso.
Request clarification before answering.
Hi,
Usually we use this feature to put a default/ initial selection, so the user doesn't have to get prompted with the selection screen, mostly on cockpit scenario. the filter value still can be changed if you refresh the query, etc.
For the implementation we use JS to generate the url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alfonso,
When you add the value in the <param> tag , it means that the valule is fixed , however , if you want to change the value at runtime , like the user selecting a value from the dropdown and then generating a template based on the value selected , you could use the command URL. teh command URL has to be generated using JScript , but then it involves mainly string operations and is pretty simple.
Arun
Arun,
I tried the restriction using <param...filter_value..>
But this simply set it as initial value when report is launched. When filtering is set by using the dropdownlist, in another tab, this <param...filter_value...> is overwritten. So, it is not a solution.
My requirement is dynamic. it the restriction must be reverted back to original as set in <param...filter_value...> whenever this tab is clicked.
Could anyone pls share with me the JS command to dynamically set filter value for an infoobject whenever a particular tab is selected?
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.