Multiple Selection Boxes for Data
Hello all,
I need to create a dashboard that will allow me to drill down by two parameters. For example:
I need to see the country in this example USA and then a second critera would be the states.
So I would want to be able to select USA in one combo box potenially and see the totals and then select a specific state in a second combo box and see those totals.
I would then want to do south america and those countries. So South America and then Brazil, mexico, ect.
Any feedback or ideas.
HI Jeffrey....
U can try with the filter option for drilling down to your actual content. For clear picture go through the following link.
http://visualbis.com/blogs/multi-select-combo-box-for-sap-businessobjects-dashboards-xcelsius/
Regrads,
P.Gowri
Similar Messages
-
is there a way to use a multiple selection box and calculate values in a text box.
I did set up a rule to set values but I won't work for my need.
so multiple selection box has pc1, pc2, pc 3. The user can select all of these or just one but no matter what selection is made the price is calculated into another box on the InfoPath form, I assume either a text box or a calculated field box?
any help or guidance would be greatly appreciated!!
RayHi Little_Ghost,
for using a form, seems quite a challenge.
when you select the selection box, or check boxes in the form, you may need to grab the all the selection, and refresh the page with the pre-selected information, so it will be loaded when the page is refreshed.
if you are using infopath template, it may be difficult, since we need 2 infopath form templates associate with list A and B individually, not sure how to interact this cross 2 infopath form template.
my infopath colleague suggest you to try to use one infopath form template with 2 data connections.
i was thinking,
if you could populate the items, for example by using getlistitem()
http://spservices.codeplex.com/wikipage?title=GetListItems
then you may put the result in an array, and ready to compare.
since you would like to use a form, then it may not updated directly, i am not quite sure for this, because as i know you may need to use a button to send out and update/refresh the fields.
http://www.quirksmode.org/js/forms.html
http://www.javaworld.com/article/2077176/scripting-jvm-languages/using-javascript-and-forms.html
or you may have to try to use the data view webpart:
http://www.dotnetcurry.com/showarticle.aspx?ID=581
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How can I see the numbers of lines selected in a Multiple Selection Box?
Hi everybody,
what I want to do is to get in an array of numbers all the lines selected.
For instance, if I select the rows 1,4 and 7 from a Multiple Selection Box
of 10 rows in total, how can I see that array when the rows 1,4 and 7 are
selected?
Because I want to connect this numbers to Case Structure and if the only
rows selected are 1,4 and 7, the Case Structure will only realize this cases,
and the rest will be ignored.
I'm sure there is some way to get what I want.
Thank you for your helpful.THANK YOU VERY MUCH. IT WORKS PERFECTLY!!!
"Dennis Knutson" wrote:
>>If you just wire the list box to an array indicator, you will see that
the>output is an array of the selected items. Auto index the array through
a>for loop that has your case statement inside.>>Dennis Knutson>>"Carlos
Jorge" wrote>>Hi everybody,>>what I want to do is to
get in an array of numbers all the>lines selected.>For instance, if I select
the rows 1,4 and 7 from a Multiple>Selection Box>of 10 rows in total, how
can I see that array when the rows>1,4 and 7 are>selected?>>Because I want
to connect this numbers to Case Structure>and if the only>rows selected are
1,4 and 7, the Case Structure will only>realize this cases,>and
the rest
will be ignored.>>I'm sure there is some>way to get what I want.>>Thank you
for your helpful.>> -
Multiple Select boxes in one form
Does anyone know if it is possible to have multiple select
boxes inside one form? I have six different select boxes that are
generated by six separate queries. The action page for all six
select boxes is the same so I just want one submit button so users
don't get confuse. I don't want to cluster up the page with submit
buttons but I may resort to that option.
My problem is the select boxes generate a number and when
that number is submitted I want to pass two other variables with it
to the action page. I tried putting a "Form" tag around the 6
select boxes. Inside each select box I tried to add an "Input
type="hidden"" and give thte name and values that I needed. That
worked for the first select box but when I tried the second select
box it used the hidden values for the first select box.
If anyone can help, I would greatly appreciate it. Or if you
have any other suggestions I am open to any.
ThanksPaross1,
I wasn't thinking about that and you gave me a great idea.
Here is how I changed my select boxes.
<cfform
action="Resolution_History.cfm?year=#year#&sessiontype=#sessiontype#&btype=res"
name="form">
<select name="SRINPUT">
<option value="">SR
<CFOUTPUT Query="findSR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<select name="HRINPUT">
<option value="">HR
<CFOUTPUT Query="findHR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<select name="SCRINPUT">
<option value="">SCR
<CFOUTPUT Query="findSCR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<br>
<select name="HCRINPUT">
<option value="">HCR
<CFOUTPUT Query="findHCR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<select name="SJRINPUT">
<option value="">SJR
<CFOUTPUT Query="findSJR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<select name="HJRINPUT">
<option value="">HJR
<CFOUTPUT Query="findHJR"><Option
Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
</select>
<INPUT TYPE="Submit" VALUE="Submit" alt="submit
button">
</cfform>
On the action page I need the below IF statement to work so
it will set the variables. It isn't working at this time. Its not
bringing the values of billnumber, houseorig or the billtype.
Do you have any thoughts? I know it is close. I need to set
all of the inputs to input4 to generate my queries.
<cfif form.srinput gt 0>
<cfset houseorig eq "s">
<cfset billtype eq "r">
<cfset srinput eq input4>
<cfelseif form.hrinput gt 0>
<cfset houseorig eq "h">
<cfset billtype eq "r">
<cfset hrinput eq input4>
<cfelseif form.scrinput gt 0>
<cfset houseorig eq "sc">
<cfset billtype eq "r">
<cfset scrinput eq input4>
<cfelseif form.hcrinput gt 0>
<cfset houseorig eq "hc">
<cfset billtype eq "r">
<cfset hcrinput eq input4>
<cfelseif form.sjrinput gt 0>
<cfset houseorig eq "sj">
<cfset billtype eq "r">
<cfset sjrinput eq input4>
<cfelse>
<cfset houseorig eq "hj">
<cfset billtype eq "r">
<cfset hjrinput eq input4>
</cfif> -
i want give default values in select option for date (for a period)
I used
SELECT-OPTIONS y_s_mnth FOR y_v_dt_month default first to last OPTION BT.
first and last are dates.
I am getting error dialog box....specify ranges...
Please give sample code..Hi Suhas,
I hope this code will help you. Reward me if it is helpful.
select-options : y_s_mnth FOR sy-datum.
initialization.
y_s_mnth-sign = 'I'.
y_s_mnth-option = 'BT'.
y_s_mnth-low = sy-datum - 30. "first_day
y_s_mnth-high = sy-datum. "last_day
append y_s_mnth.
clear y_s_mnth.
Regards,
Sagar -
Multiple select options for an input field
Hi All,
We have a requirement where in we need to provide multiple select options for an input field in a BSP application and get output relevant to all the given inputs(do not require range).
Please do let me know how to solve this.
Thanks & Regards,
Lavanya .Hi,
The requirement is : Suppose there is a input field PLANT.
If we give input for plant it gives related output.
Now if it is required to give 5 or 6 inputs..like plant1,plant2...plant6 and get the output related to all 6 inputs.
(Like we implement in ABAP)
Please do let me know how can this be implemented in BSP.
Thanks & Regards,
Lavanya. -
Select-options for date field.
Hi all,
i need to give select options for Date field.How can i give that.
Thanks & Regards
Ravi.Hi Ravi,
Use the Component WDR_SELECT_OPTIONS to include select options in Web Dynpro ABAP. Follow these steps:
1. In your Component , "Used Componet" tab add Component WDR_SELECT_OPTIONS . Component Use can be any name that you want to give, eg SELECT_OPTIONS
2. Go to the View where you want to include the Date Select Options. I am assuming that you already have an Attribute of Type DATS in your context.
3. View: Properties Tab:Create Controller Usage and select
SELECT_OPTIONS WDR_SELECT_OPTIONS
SELECT_OPTIONS WDR_SELECT_OPTIONS INTERFACECONTROLLER
4. View Layout Tab:Include a View Container. In this view container we will show the Date Select Options.
5. View Attributes Tab: Create Following two attributes:
M_HANDLER type IF_WD_SELECT_OPTIONS
M_WD_SELECT_OPTIONS type IWCI_WDR_SELECT_OPTIONS
6: View Methods Tab: Create a method eg CREATE_SELECTION_SCREEN. Call this method in the WDDOINIT of the view.
7:CREATE_SELECTION_SCREEN: Write following Code:
* Data Declaration
data:
lt_range_table TYPE REF TO DATA.
data:
lr_componentcontroller TYPE REF TO IG_COMPONENTCONTROLLER,
lr_componentusage TYPE REF TO IF_WD_COMPONENT_USAGE.
* Execution
* Create Used Component
lr_componentusage = wd_this->wd_cpuse_select_options( ).
if LR_COMPONENTUSAGE->HAS_ACTIVE_COMPONENT( ) is initial.
lr_componentusage->create_component( ).
endif.
* Get pointer to interface controller of select options
wd_this->M_WD_SELECT_OPTIONS = wd_this->wd_cpifc_select_options( ).
* initialize selction screen
wd_this->M_HANDLER = wd_this->M_WD_SELECT_OPTIONS->init_selection_screen( ).
* Create Range Table for: Date
CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
EXPORTING
I_TYPENAME = 'DATS'
RECEIVING
RT_RANGE_TABLE = lt_range_table.
* Add Selection Field for: Date
CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
EXPORTING
I_ID = '<name of date attribute in the context>'
* I_WITHIN_BLOCK = MC_ID_MAIN_BLOCK
* I_DESCRIPTION =
* I_IS_AUTO_DESCRIPTION = ABAP_TRUE
IT_RESULT = lt_range_table
* I_OBLIGATORY = ABAP_FALSE
* I_COMPLEX_RESTRICTIONS =
* I_USE_COMPLEX_RESTRICTION = ABAP_FALSE
* I_NO_COMPLEX_RESTRICTIONS = ABAP_FALSE
* I_VALUE_HELP_TYPE = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE
* I_VALUE_HELP_ID =
* I_VALUE_HELP_MODE =
* I_VALUE_HELP_STRUCTURE =
* I_VALUE_HELP_STRUCTURE_FIELD =
* I_HELP_REQUEST_HANDLER =
* I_LOWER_CASE =
* I_MEMORY_ID =
* I_NO_EXTENSION = ABAP_FALSE
* I_NO_INTERVALS = ABAP_FALSE
* I_AS_CHECKBOX = ABAP_FALSE
* I_AS_DROPDOWN = ABAP_FALSE
* IT_VALUE_SET =
* I_READ_ONLY = ABAP_FALSE
* I_DONT_CARE_VALUE =
* I_EXPLANATION =
I_TOOLTIP = 'Select Date'.
8: To Fetch Data entered in the selection field, write following code on action of button click:
data:
lt_date type REF TO DATA.
FIELD-SYMBOLS:
<fs_date> TYPE table.
* retrieve Date from Select Options
CALL METHOD WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD
EXPORTING
I_ID = '<attrib_name>'
RECEIVING
RT_RANGE_TABLE = lt_date.
* assign Date Field Symbol
ASSIGN lt_date->* to <fs_date>.
9: Windows Window Tab: In the View Conatiner, embed the WND_SELECTION_SCREEN view from SELECT_OPTIONS component Usage of WDR_SELECT_OPTIONS component.
Regards,
Reema. -
Query to find first and last call made by selected number for date range
Hi,
query to find first and last call made by selected number for date range
according to filter:
mobile_no : 989.....
call_date_from : 25-april-2013
call_date_to : 26-april-2013
Please helpHi,
It sounds like you want a Top-N Query , something like this:
WITH got_nums AS
SELECT table_x.* -- or list columns wanted
, ROW_NUMBER () OVER (ORDER BY call_date ) AS a_num
, ROW_NUMBER () OVER (ORDER BY call_date DESC) AS d_num
FROM table_x
WHERE mobile_no = 989
AND call_date >= DATE '2013-04-25'
AND call_date < DATE '2013-04-26' + 1
SELECT * -- or list all columns except a_num and d_num
FROM got_nums
WHERE 1 IN (a_num, d_num)
;This forum is devoted to the SQL*Plus and iSQL*Plus front ends. This question doesn't have anything to do with any front end, does it? In the future, you'll get better response if you post questions like this in the PL/SQL.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the SQL forum FAQ {message:id=9360002} -
Display in multiple selection box
Hi
I have two multiple selection boxes.When i select few items in the first box and click a button it should appear on the second box.
how can it be achieved? any help would be appreciated.You could do this or using Javascript or updating the page by passing a parameter.
It depends on what u have to implement.
Ing. Steva -
Multiple Sound Card for data acquisition gives read buffer error
I am using 6 usb based sound cards for voltages and currents mearuments of a three phase delta system.. Hardware is working well. but in labview when i use builtin Input=>sound box for data acquisition it also works well upto 4 inputs... but when i use more i.e. 6 it starts giving error "cannt perform action, read buffer is full" some thing like this... som times it goes to "not responding"...i have tried to find the solution and found in another post of this fourm to varry the sampling rate... i did it upto 96000 that is maximum ... but still problem is same...i need to know, how to manually increase the read buffer. if not possible then.. is there any way that labview stop giving any type of error during simulation?
thnx i hv solved that problem ... now there is another problem... i am getting all my signals in computer but problem comes when i use phase detector. it keep on showing different values in phase measurement block.. how can i manage the signal with correct phase. i cannt send code cz it has many VIs and they are spread in computer. so i am pasting come photos that are showing different. look in picture...it is from same signal and the phase is different..
Attachments:
Capturexcvxccxvxcvcxvvxcvxcv.JPG 11 KB
Capturexcvxcvxcvxcv.JPG 11 KB -
Drop Down Box for Date Range Selection
I have multiple queries on the same worksheet with different variables for each. To simplify changing the one consistent variable, the date range, I have added a drop down box tied to all infoproviders in the query. This would work if I wanted to select a single date but I cannot determiine how to select a date range (01/2010 - 12/2010). Any ideas on how I might accomplish this? I am using Netweaver 7.1.
You can use two single-input variables: one for DATE FROM and the other for DATE TO and use them in query definition to restrict the date (restriction type: Range between DATE FROM and DATE TO).
Then you create two dropdown boxes, one for each variable.
Regards,
Dorota -
Select Multiple into array for data insertion
I have a form that contains a menu/list that allows multiple selections. The list is bound to a dynamic source with label = to a name and value = to the names record ID. The code DW CS4 generates is:
<select name="vVol_id" size="20" multiple="MULTIPLE" id="vVol_id">
<?php
do { ?>
<option value="<?php echo $row_rsGetStaff['vol_id']?>"><?php echo $row_rsGetStaff['full_name']?></option>
<?php
} while ($row_rsGetStaff = mysql_fetch_assoc($rsGetStaff));
$rows = mysql_num_rows($rsGetStaff);
if($rows > 0) {
mysql_data_seek($rsGetStaff, 0);
$row_rsGetStaff = mysql_fetch_assoc($rsGetStaff);
?>
</select>
What additional code do I need to get the selected items into an array that can be 'foreach'd' to insert the selections into another table when the submit button is clicked? This one has been driving me nuts.You just need the square brackets, something like: <select name="vVol_id[]"
vVol_id will then be an array if items are selected.
Ed -
Multiple select list for one field in form
Friends,
I have a form , which is having many fields. One of the field are day/date. In this field i have to take 3 dropdown lists. like one for date, one for day and another for year. I have created three lov's for the day,date and year but for the field day/date i am able to apply only one lov. Any way so that i can display all the three lov for one field
example
day/date: day -- (dropdown list)
date -- (dropdown list)
year -- (dropdown list)
thanks in advance
adi
Edited by: Adi's on Feb 16, 2010 11:46 PM
Edited by: Adi's on Feb 16, 2010 11:47 PM
Edited by: Adi's on Feb 16, 2010 11:52 PMnope, I just gave u an example to combime day , date and year fields in one select list, it does not matter whether they are in one table or multiple table and you dont require to create any tables for this, I assumed your lov for day / date / year are dynamic not static.
Regards,
Shijesh -
Multiple selection limitation for SE16
Dear Experts,
I have a question regarding the table search using the transaction SE16.
I have a table zzz and i want to search some data in this table zzz. So I fill in the document field the accounts that I what to do the search.
But the search is not base on a range of accounts, I want some specific accounts... so next to the document field there's a arrow for e multiple selection and then i place the x numbers of accounts I want to search in the "Select Single Values" tab.
So i can place:
1
2
3
N entries
But looks like it's limited up to 4095 entries, if I exceed more than 4095 entries, it will just return no data found!!!
If I load 4095 entries it does return the data I want...
So, is there any configuration for this kind of limitation?
Regards
ChunHi All,
thank you for the interest you had to solve my problem, but actually the problem persist.
I just noticed something... it only happens when i use 2 fields for search criteria.
for example.
Field 1 is the range of the date.
Filed 2 is the document number.
So i fill up the range of the date, using 4095 registries in the filed 2 it will show me for example 1000 results. But if I add a additional registry(4096) to the field 2 in the multiple selection, it will return 0 results.
That's pretty weird.
Regards,
Chun -
Multiple selection box + Substracting cascading dropdown list
I have a multi-select boxe and a drop down but instead of ADDING the choices made in the multi select box to the list of selectable items in the drop down list, I want to SUBSTRACT them.
I'll try to clearify it: if in the multi-slection box you have:
Option A and option B and
in the drop down list, you (depending on you selection) have 2 4 6 8 (options for A) or 4 8 10 12 (options for B).
When selecting BOTH A and B, the drop down liast should ONLY display the values that overlap/exist in both A and B (e.g 4 8).
This would have to work for X number of options in both the multi select box and the drop down list.
Doess anybody know how to make that work?
Thanks in advanced and kind regards!Hi Little_Ghost,
for using a form, seems quite a challenge.
when you select the selection box, or check boxes in the form, you may need to grab the all the selection, and refresh the page with the pre-selected information, so it will be loaded when the page is refreshed.
if you are using infopath template, it may be difficult, since we need 2 infopath form templates associate with list A and B individually, not sure how to interact this cross 2 infopath form template.
my infopath colleague suggest you to try to use one infopath form template with 2 data connections.
i was thinking,
if you could populate the items, for example by using getlistitem()
http://spservices.codeplex.com/wikipage?title=GetListItems
then you may put the result in an array, and ready to compare.
since you would like to use a form, then it may not updated directly, i am not quite sure for this, because as i know you may need to use a button to send out and update/refresh the fields.
http://www.quirksmode.org/js/forms.html
http://www.javaworld.com/article/2077176/scripting-jvm-languages/using-javascript-and-forms.html
or you may have to try to use the data view webpart:
http://www.dotnetcurry.com/showarticle.aspx?ID=581
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Maybe you are looking for
-
Cam no longer works with new version
i have installed the latest version of flashplayer but now my webcam no longer works on video chat sites like chatoulette what should i do please?
-
How to pass one lookup value to another lookups
Hi All, I've two relational sources with a join condition,added lookup and kept join condition too.I've to pass this lookup value to another lookup. let me know how we can handle this in odi. Thanks
-
CPU wait events on ADDM report
Hello, My Oracle version is: Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 Yesterday I was taking a look on an ADDM report and spot the following: Rationale SQL statement with SQL_ID "0mgk8gx9hj71d" was executed 777
-
When i am install a standard querys of 0TCT_MCA1 getting error
Hi, we are newly upgraded from BW 3.5 to BI 7,we are install BI Administrator cockpit (BI Statistics).While install 0TCT_MCA1 standard querys i am getting Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC I have selected 'only Necessary objects' whil
-
Displaying images in HTML Forms inside Servlets
Dear friends How are you? I am developing Servlets in WebGain Studio Pro V4.1 VisualCafe V4.1 to display dynamic HTML forms with embedded images (*.jpg and *.gif). Please see the following s