Multiple Selection Check Bo
Hello Developers,
I need to create a report which will display the sales for the stores based on check box clicked.
I have created check box for each store using a LOV (select distinct store from sales_table order by 1). Suppose I checked store 1,3,5 then the report should give the the sales for the store 1,3,5. Can anyone help me with this one.
Thanks
NS
Hi,
This might help, even it is for shuttle item
How to enable user to pick which row without using filter in interact. rpt?
Code works without modification for checkbox
Regards,
Jari
Similar Messages
-
How to Save the multiple selection check box values into the database
i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.
You can access the values using listbinding and can then store them as a string by using a delimiter.
-
How can I create multiple selection check boxes in a report row?
Hello,
I'd like to know how a multiple selection checkbox can be created in report rows. In brief, I need to create a questionnaire template and each one of the questions will have multple options checkboxes, that means that the user can select more than one of the answers.
Should I use apex_item.checkbox ?. I have no clue here.
Please advice.
Thank you
Edited by: user9982480 on Jul 23, 2012 10:58 AMHi,
This might save your effort
http://www.apexsolution.de/questionnaire/
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Hi
I want to allow the user to select multiple items via a checkbox displayed as LOV.
I've managed to display all the LOV entries as check boxes just by selecting a LOV but it only stores one of the items I've selected in that LOV.
I need a checkbox system that stores data like a shuttle control, i.e. 1:2:4:9 etc
Is this possible without using Add-on JavaScript library's?
Thanks
AdamYou can access the values using listbinding and can then store them as a string by using a delimiter.
-
Help with POST data if multiple selections are chosen
I've created a form with a menu (list) that includes all 50
states. I'm using the POST option, along with PHP, to process the
form data, which will be emailed to me. The list-menu looks like
this:
http://askdave.info/help/states_menu.gif
and I have "Allow Multiple Selections" checked in the Property
Inspector.
If the user chooses multiple states, I want
EACH of those states to be listed in the email that I
receive. Right now, if I check multiple states, I only get
the very last state that's selected. For example, here's the
email I get after I check 5 different states.
http://askdave.info/help/formdata.gif
Problem--> In this email, only one state is listed
(Hawaii) even though I selected 5 different states. How do I get
the form data to list ALL states that are checked?
Here is what I have:
<form name="form1" method="post" action="process.php">
<input type="hidden" name="required"
value="name,phone,email,states,capital" />
And then for the menu that lists the states, I have:
<label>
<select name="states" size="7" multiple id="states">
<option>All States</option>
<option>Alabama</option>
<option>Alaska</option>
<option>Arizona</option>
<option>Arkansas</option>
and so on...
What am I missing? How do I get the PHP script to send
multiple values, if multiple values are chosen? (I'm new to PHP, so
go easy on me. I can post my code, if necessary.) Is this a PHP
issue, or do I need to add something to the HTML form?Hi,
>>
I think DynaForm stands for Dynamic Form
>>
this makes some sense ;-) I was just wondering because there
is a pre-made script called DynaForm
here, but
it has a different "logistics" than yours.
However, both "DynaForm" versions are pretty basic, as they
just deal with non-multiple values - form fields like single line
input fields, texareas and non-multiple select´s. Your script
e.g. just loops through all existing form fields using the
"foreach" method:
//Pulls form fields & values.
foreach ($this->post as $field => $value) { // looping
through all form fields
if ( $field == 'required' ) continue;
$this->_addLine($field, $value); // here´s where the
field´s name/value consolidation happens
...and simply consolidates a field´s "value" with its
associated "name". The problem is : this method just works for
fields having just 1 value -- but any "multiple value" form fields
(e.g. your "states" select or checkbox groups which can pass
multiple values as well) actually require a separate "foreach"
treatment within the script, and this hasn´t been incorporated
here.
That said, I suggest using an other pre-made solution like
PHP
Form Mail script that´s capable to handle your multiple
values - scenario innately. -
Check Box in Tree (tree multiple selection)
I need to create a 2 level hierarchy tree, where the user is allowed to make multiple selection on leaf node. One way is to use TableTree (TreeByNestingTableColumn), but with this I am unable to get the same look and feel of a simple Tree view.
My questions are:
1. Is there a way to enable multiple selection on a simple Tree?
2. If the answer to question 1 is no, then is there a way to add check boxes to the Tree elements (be it parent or leaf)?
3. Is there anything that can be done to solve this issue without using TableTree?
Thanks in advance.Hi,
Please go through Multiselection in Tree control thread.
The solution outline is like this:
1. When you click on a leaf, you mark it as selected and you can also store it in the context.
2. Click as many leaves as you like and the onAction will mark each of them as selected.
3. There's no need to do a CTRL+click, only normal clicks.
4. Once done you can find out all the marked leaves.
Regards,
Satyajit. -
How to display F4 check list where can be multiple selection ?
Hi exports,
Using Function module "HELP_VALUES_GET_WITH_TABLE", is it possible to list a multiple selection value ?
Thank you very much.
Best regards,
Sap leanerHi
See this and use
For F4 Values on Screen:
PROCESS ON VALUE_REQUEST
using module call starting with FIELD i.e FIELD field MODULE module
There are number of function modules that can be used for the purpose, but these
can fullfill the task easily or combination of them.
DYNP_VALUE_READ
F4IF_FIELD_VALUE_REQUEST
F4IF_INT_TABLE_VALUE_REQUEST
POPUP_WITH_TABLE_DISPLAY
DYNP_VALUE_READ
This function module is used to read values in the screen fields. Use of this
FM causes forced transfer of data from screen fields to ABAP fields.
There are 3 exporting parameters
DYNAME = program name = SY-CPROG
DYNUMB = Screen number = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
and one importing TABLE parameter
DYNPFIELDS = Table of TYPE DYNPREAD
The DYNPFIELDS parameter is used to pass internal table of type DYNPREAD
to this FM and the values read from the screen will be stored in this table.This
table consists of two fields:
FIELDNAME : Used to pass the name of screen field for which the value is to
be read.
FIELDVALUE : Used to read the value of the field in the screen.
e.g.
DATA: SCREEN_VALUES TYPE TABLE OF DYNPREAD ,
SCREEN_VALUE LIKE LINE OF SCREEN_VALUES.
SCREEN_VALUE-FIELDNAME = 'KUNNR' . * Field to be read
APPEND SCREEN_VALUE TO SCREEN_VALUES. * Fill the table
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-CPROG
DYNUMB = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
TABLES
DYNPFIELDS = SCREEN_VALUES.
READ TABLE SCREEN_VALUES INDEX 1 INTO SCREEN_VALUE.Now the screen value for field KUNNR is in the SCREEN_VALUE-FIELDVALUE and can be used for further processing like using it to fill the internal table to be used as parameter in F4IF_INT_TABLE_VALUE_REQUEST ETC.
F4IF_FIELD_VALUE_REQUEST
This FM is used to display value help or input from ABAP dictionary.We have to pass the name of the structure or table(TABNAME) along with the field name(FIELDNAME) . The selection can be returned to the specified screen field if three
parameters DYNPNR,DYNPPROG,DYNPROFIELD are also specified or to a table if RETRN_TAB is specified.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = table/structure
FIELDNAME = 'field name'
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNR
DYNPROFIELD = 'screen field'
IMPORTING
RETURN_TAB = table of type DYNPREAD
F4IF_INT_TABLE_VALUE_REQUEST
This FM is used to dsiplay values stored in an internal table as input
help.This FM is used to program our own custom help if no such input help
exists in ABAP dictionary for a particular field. The parameter VALUE_TAB is used to pass the internal table containing input values.The parameter RETFIELD
is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.
If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = field from int table whose value will be returned
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'screen field'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = internal table whose values will be shown.
RETURN_TAB = internal table of type DDSHRETVAL
EXCEPTIONS
parameter_error = 1
no_values_found = 2
others = 3.
POPUP_WITH_TABLE_DISPLAY
This FM is used to display the contents of an internal table in a popup window.The user can select a row and the index of that is returned in the CHOISE
parameter.The VALUETAB is used to pass the internal table.
A suitable title can be set using TITLETEXT parameter. The starting and end position of the popup can be specified by the parameters STARTPOS_COL / ROW and ENDPOS_ROW / COL .
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL =
ENDPOS_ROW =
STARTPOS_COL =
STARTPOS_ROW =
TITLETEXT = 'title text'
IMPORTING
CHOISE =
TABLES
VALUETAB =
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
e.g.
DATA: w_choice TYPE SY-TABIX.
DATA: BEGIN OF i_values OCCURS 0 WITH HEADER LINE,
values TYPE I,
END OF i_values.
PARAMETRS : id TYPE I.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR id
i_values-values = '0001'.
APPEND i_values.
i_values-values = '0002'.
APPEND i_values.
i_values-values = '0003'.
APPEND i_values.
i_values-values = '0004'.
APPEND i_values.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 40
ENDPOS_ROW = 12
STARTPOS_COL = 20
STARTPOS_ROW = 5
TITLETEXT = 'Select an ID'
IMPORTING
CHOISE = w_choice
TABLES
VALUETAB = i_values
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
CHECK w_choice > 0.
READ TABLE i_values INDEX w_choice....now we can process the selection as it is contained
...in the structure i_values.
Other FM that may be used to provide input help is HELP_START .
Reward points if useful
Regards
Anji -
Checked some items of multiple-selection list box when form loaded in infopath
Hi
I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
Thanks.Hi,
According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
I recommend to follow the steps below to achieve this goal:
Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
Set the Default Value of the Multiple-Selection List Box field.
Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
Repeat step3 based on the number of the items that you want to be pre-selected.
More information are provided in the link below:
http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Multiple selection should enable the check box item next to the field
Hi,
I want multiple selection for " Environment" field in the Form. Once muliple values are selected, user needs to see a checkbox next to all the values selected in Environment field.
Checkbox field should be called as ' Implemented'.
For ex. In Environment Field, I selected three values, I should see checkbox against each selected environments:
col 1:I Environment col:2 Implemented
Env1 X
Env2 X
Env2 X
X-> refers to checkbox.
Please suggest something if anyone have tried this one.
Thanks in advance.
Regards,
Ramyahello Ramya,
In Environment Field, I selected three values, I should see checkbox against each selected environmentsyou can write Post-Change trigger or When-Validate-Item trigger on Column 1 say: txt_environment and in the trigger, write down the following code
set_item_property('BLOCK.TXT_CHECKBOX',VISIBLE,PROPERTY_TRUE);
set_item_property('BLOCK.TXT_CHECKBOX',ENABLED,PROPERTY_TRUE);
set_item_property('BLOCK.TXT_CHECKBOX',NAVIGABLE,PROPERTY_TRUE);
If someone's response is helpful or correct, please mark it accordingly. -
Check box in Grid for multiple selection
Hi,
Right now i am using dynamic code to generate grid for checkboxs(multiple selection) it is working fine but it is taking time to generate grid.Is there any method(MII 12.0 option) to display data along in the gird
Thanks
RameshIn MII 12.2 we added the "checkbox" display option/feature for the MII iGrid applet for displaying boolean values using the checkbox icon. If you want something more robust and interactive the iGrid may not be the best choice and leveraging an XSLT to generate HTML dynamically from your XML data , HTML 5 libraries, or dHTMLx can all be options for supporting more robust UI displays.
Perhaps this link will help you along with understanding the XSLT route:
Interfacing MII and the dHTMLx Editable Grid The following document will discuss in detail how to create a working interface from the dHTMLx Editable Grid to MII Query Templates. It also includes a sample project with a working example and content to illustrate how this interface can be achieved.
Sam
PS: Please remember that the MII UI is intended to be a mash-up design so just about any web technology will work...I say just about because .aspx will not as there isn't a .NET backed for NetWeaver. -
'Checking' and 'Un-checking' multiple selected items
Would like to check my entire 'Holiday' playlist without doing it one at a time.
I forgot how and this new version of iTunes may not have this capability(?)
Please help.Select the playlist by clicking on it. Now go to "edit/select all" and that will highlight the songs in blue.
Now right click on them and select "check selection". -
Get Selections From ALV on Multiple Selection Mode
Hi,
How can i get values of selected rows from ALV that has selection '0..n' (multiple selection) ?
Can somebody help me pls?
Thanks.Hi Nurullah,
Steps to make multiple rows selectable in ALV:
1) Create the selection property of the node that you are binding to the DATA node as o..n
2) Un-check the, "Initialization Lead Selection" checkbox for the node which you are using to bind to the DATA node
3) In the WDDOINIT method specify the ALV's selection mode as MULTI_NO_LEAD. It is important that you set the selection mode to MULTI_NO_LEAD or else in the end you would be capturing 1 row lesser than the total number of rows the user has selected. This is because 1 of the rows would have the LeadSelection property & our logic wouldnt be reading the data for that row. Check the example code fragment as shown below:
DATA lo_value TYPE REF TO cl_salv_wd_config_table.
lo_value = lo_interfacecontroller->get_model( ).
CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
EXPORTING
value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
Steps to get the multiple rows selected by the user
In order to get the multiple rows which were selected by the user you will just have to call the get_selected_elements method of if_wd_context_node. So as you can see its no different from how you would get the multiple rows selected by the user in a table ui element. First get the reference of the node which you have used to bind to the ALV & then call this method on it. Check the example code fragment below:
METHOD get_selected_rows .
DATA: temp TYPE string.
DATA: lr_node TYPE REF TO if_wd_context_node,
wa_temp TYPE REF TO if_wd_context_element,
ls_node1 TYPE wd_this->element_node_flighttab,
lt_node1 TYPE wd_this->elements_node_flighttab.
lr_node = wd_context->get_child_node( name = 'NODE_FLIGHTTAB' ).
" This would now contain the references of all the selected rows
lt_temp = lr_node->get_selected_elements( ).
LOOP AT lt_temp INTO wa_temp.
" Use the references to get the exact row data
CALL METHOD wa_temp->get_static_attributes
IMPORTING
static_attributes = ls_node1.
APPEND ls_node1 TO lt_node1.
CLEAR ls_node1.
ENDLOOP.
ENDMETHOD.
Hope this helps resolve your problem.
Regards,
Uday -
Passing multiple select value from BI publisher to PL/SQL functions
Hi - I have designed a report which pass parameters (Multi select) into a function to get the output result. When a single parameter value is passed to the function, report is being displayed. When multi select value is passed to the function it is returning the error `wrong number or types of arguments in call to 'F_PROCESS_WAVE_DATA'. When i checked the parameters passed to the function, i can see each multi select value is treated as different value and is assigned to different parameter in the function.
Any help on passing the multi select parameter into function will be helpful.
Regards,
Vikram.All - Issue was resolved. I followed the following steps to resolve the issue
1. Create a PL/SQL table type variable as VARCHAR2 in the database - Say as Larray
2. Create PL/SQL type record and table for the record in database. Lrec, Ltable
3. In BI report pass multiple select LOV variable as Larray(variable).
4. In DB function, Parameter should be defined as LARRAY.
5. Return PL/SQL table type Ltable from the function.
Regards,
Vikram. -
How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!
Try this general troubleshooting procedure:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
User/Home/Library/ Preferences folder.
2 - delete the contents the following folder: User/Library/Containers/com.apple.iPhoto
3 - reboot, launch iPhoto and try again.
NOTE: For Mavericks and Yosemite, go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
where you can check the Show Library Folder checkbox. -
Hi, I'm using SP13 and InfoPath2013.
I created a custom form and published it to SP13 document library. This form has many MSLB. Depending on the checkboxes selected in the 1st MSLB, the other MSLB will either hide or show. Each MSLB is in its own section. The requirement
is to have each MSLB to have at least one checkbox selected. Well, the problem is that when that MSLB isnot checked in the 1st MSLB it is not visible and shouldn't require any checkbox to be selected. However, the form can't get submitted instead
an error dialog would pop up and ask user to make a selection for MSLB that is not even displayed. Is there any way to fix this besides unchecking all MSLB to be not required at least one selection? Thank you.Eric,
I follow your reply post here and still doesn't work. I also noticed your screen shot of selecting a field is not the same as what I see in InfoPath 2013.
Here is what I did,
1.Check At least one selection required for
these Multiple-selection List Boxes
as you want .
2.Create a Formatting rule for the 2nd
Multiple-selection List Box.
3.Add a Condition as below:
4. I get a validation error if I don't
select at least one checkbox in the hidden MSLB control when submitting.
I think I'm following all the steps correctly
but please let me know if I'm not.
Maybe you are looking for
-
Work item never shows up in the approver queue
Hi All, This is a specific issue to a particular user - approver. requisitioners are creating carts and are able to see that it is in approval queue. But the approver is not able to see the approval items in his queue. We are in SRM 5.0 ECS SP15
-
Disk Utility Error "no valid packages"
Hi, I have a PowerBook G4 with 1GB RAM. I've noticed a significant system slowdown lately. Programs take longer to open and respond, and it's rather annoying. I came to the forums to seek some remedy, and tried to run a Disk Utility to check that eve
-
How can i create a new Adminstrator user account ?
How can i create a new Adminstrator user account ?
-
Hi evrybody, I have a requirement which seems very wierd to me, I m unable to clue it also. Please help me in writing the same. I have a column in a table which contains the data with spaces and everythng same as below: SUBSCRIBER LINE TEST VERSION 2
-
Okay friends seriously- has anyone ever restored their iPod?
I'm going on almost an hour of my iPod restoring itself to factory settings. Im thinking that something is wrong because the status has said "waiting" for about an hour.