How do I script a listbox so multiple selections can be recognized?
I have a pdf project that lets the user make selections from a listbox, and then those selections determine which fields on the page are shown or hidden. I've made sure the listbox allows for multiple selections but I can't get the scripting to recognize and show multiple fields. So far it only works when one item is selected. How do I make it so when the user selects multiple entries that it will actually cause multiple fields to show?
I've included file to show what I've gotten done so far.
Sorry, realized my other posts question wasn't phrased very well and I figured you thought my question had been answered. So I posted it again with a better explanation of what I needed.
Thanks for your help.
Aaron
Similar Messages
-
How do i take one layer with multiple selections...
how do i take one layer with multiple selections and make those selections their own layer?
Yes sir. It w was really hard to explain. It is discontiguous segments that are separated by transparent areas. And I want those non transparent areas to be on their own layer. I have a photo shop file that has a bunch of buttons on them and they are on a transparent background. It is one layer. I want to select all the buttons and put them on their own layers. I can do this manually by selecting a button and cmd Just to a new layer, but when I have 200 buttons it is a daunting task.
Sent by MailWise<http://www.mail-wise.com/installation/4> – Your emails, with style. -
How to create a parameter to allow multiple selection
Hi,
I am developing report in Oracle EBusiness suite. I use concurrent program to develop the report. My question is how to create a parameter to allow multiple selection for such kind of report?
thanks
LeiI dont think, we have multiple selection in the parameters of Concurrent Program :).
-
Listbox with multiple selection in interactive forms
Hello experts.
I'd like to use a listbox in my form with enabled multiple selection.
The form is part of a WebDynpro ABAP Application.
Reading the context to get the content of the form fields works fine as long as I don't use a list box where
multiple selection is enabled.
When I use the box I only get the values of all other fields, but not the selected values of the box.
My context node for the pdf looks like this:
- *Node for PDF* (Cardinality 1..1; Selection 0..1)
-- Attribute 1
-- Attribute2
-- Node for Listbox (Cardinality 0..n; Selection 0..n)
--- Attribute for Listbox
Please help!
Regards
Frank
Edited by: Frank Mueller on Feb 6, 2008 10:31 AMHi,
is there really nobody who knows, how to give more when one selected item of a list box back to ABAP?
Please help!
Regards
Frank -
How to set billing doc parameter for multiple selection ?????
Hi all,
Output for Billing
VF31, SD70AV3A
i would like to add Multiple selection to the Billing Document parameter. multiple Currently, it would only give data for one of the documents in the selection.
According to me the billing parameter can be changed for multiple selection, need your suggestion for how to proceed with this..
Thx in adv
MeghaVF31 <b>does</b> have multiple selection option for Billing document, at least in my world (4.7).
-
How to return the result set of multiple select statements as one result set?
Hi All,
I have multiple select statements in my stored procedure that I want to return as one result set
for instance
select id from tableA
union
select name from table b
but union will not work because the result sets datatypes are not identical so how to go about this ?
ThanksYou have to CAST or CONVERT (or implicitly convert) the columns to the same datatype. You must find a datatype that both columns can be converted to without error. In your example I'm guessing id is an int and name is a varchar or nvarchar.
Since you didn't convert the datatypes, SQL will use its data precedence rules and attempt to convert name to an int. If any row contains a row that has a value in name that cannot be converted to an int, you will get an error. The solution is
to force SQL to convert the int to varchar. So you want something like
select cast(id as varchar(12)) from tableA
union
select name from tableb
If the datatypes are something other that int or varchar, you must find a compatable datatype and then convert one (or both) of the columns to that datatype.
Tom -
How to use JList's ensureIndexIsVisible and multiple selection using CTRL
Hello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
Regards,
WillHello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
Regards,
Will -
How to add a new tab in Multiple Selections of Select Options
Hello Experts
I have a requirement where under the standard select options there is a button "Multiple Selections", when it is clicked there should be a new tab in which there will be a list of options generated based on some condition with checkboxs for the user to select.
Need your help in implementing it.
Thank you in advance.Hi Santosh Kumar,
You just need to follow as what Max mentioned. Neverthless I shall provide you solution for the case which you mentioned.
My Understanding ----
CASE - You need to custom tab at seacrh helpl for Profit center [ as shown in the your screen shots]
Solution -
STEP 1 -You need to create a seacrh help which you need to display as in custom tab you required.
STEP 2 - Figure out the seacrh help used for the standard data element.
In your case profit center, PRCTR --> uses collective search help PRCT.
STEP 3 - Copy the standard search help PRCT into a custom one ,ZPRCT and include the custom search help which you have created in the STEP1.
STEP 4 - Create a prorgam and use the search help which you created as match code object id
Regards,
Siva -
Why the multiple selection can't work in sub screen
hi experts:
when i try to use the sub-screen in the report,why the multiple selection function(SO_BCTXT) can't work normally in screen 1095:
the coding as below.will reward points if solve this issue
the main program in Subscreen:
PROCESS BEFORE OUTPUT.
module status_1005.
CALL SUBSCREEN area INCLUDING sy-repid lv_tab_number.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CALL SUBSCREEN area.
MODULE user_command_1005.
module user_command_1005 input.
my_ok = ok_code.
clear ok_code.
case my_ok.
when 'TAB1'.
mytabstrip-activetab = my_ok .
lv_tab_number = 1095.
when 'TAB2'.
mytabstrip-activetab = my_ok .
lv_tab_number = 1096.
when 'CRET' or 'ONLI'.
perform get_bc_set
using
so_chanb[]
changing
<fs_bcsetfield> .
leave to screen 0.
endcase.
endmodule.
in the screen 1095:
PROCESS BEFORE OUTPUT.
MODULE %_INIT_PBO_J.
MODULE %_PBO_REPORT.
MODULE %_PF_STATUS.
MODULE %_SO_BCTXT.
MODULE %_END_OF_PBO.
PROCESS AFTER INPUT.
MODULE %_INIT_PAI_J.
CHAIN.
FIELD SO_BCTXT-LOW.
FIELD SO_BCTXT-HIGH.
MODULE %_SO_BCTXT.
ENDCHAIN.
FIELD !INCBCTY1 MODULE %_INCBCTY1 .
FIELD !INCBCTY2 MODULE %_INCBCTY2 .
FIELD !INCBCTY3 MODULE %_INCBCTY3 .
FIELD !INCBACT MODULE %_INCBACT .
FIELD !INCBINAC MODULE %_INCBINAC .
FIELD !INCLMAND MODULE %_INCLMAND .
FIELD !INCLOPTI MODULE %_INCLOPTI .
CHAIN.
FIELD SO_BCTXT-LOW.
FIELD SO_BCTXT-HIGH.
FIELD INCBCTY1 .
FIELD INCBCTY2 .
FIELD INCBCTY3 .
FIELD INCBACT .
FIELD INCBINAC .
FIELD INCLMAND .
FIELD INCLOPTI .
MODULE %_BLOCK_1095001.
ENDCHAIN.
CHAIN.
FIELD SO_BCTXT-LOW.
FIELD SO_BCTXT-HIGH.
FIELD INCBCTY1 .
FIELD INCBCTY2 .
FIELD INCBCTY3 .
FIELD INCBACT .
FIELD INCBINAC .
FIELD INCLMAND .
FIELD INCLOPTI .
MODULE %_END_OF_SCREEN.
MODULE %_OK_CODE_1000.
ENDCHAIN.
in the main report
selection-screen begin of screen 1095 as subscreen.
enquire Data
data l_text type as4text.
selection-screen begin of block b1 with frame title text-024.
select-options :
so_bctxt for l_text .
selection-screen skip 1 .
parameters:
incbcty1 type c as checkbox default abap_true ,
incbcty2 type c as checkbox default abap_true ,
incbcty3 type c as checkbox default abap_true .
selection-screen skip 1 .
parameters:
incbact type c as checkbox default abap_true ,
incbinac type c as checkbox default abap_true .
selection-screen skip 1 .
parameters:
inclmand type c as checkbox default abap_true ,
inclopti type c as checkbox default abap_true .
selection-screen end of block b1.
selection-screen end of screen 1095 .Hiii
In main program you have dclared subscreen area.
now First of all you have to declare a selection screen in your main program
selection-screen begin of screen 1005 as subscreen.
SELECT-OPTIONS s_bukrs1 for v_bukrs. "whatever you want in selection screen
selection-screen end of screen 1005.
IN PBO of your main screen (not in 1005) write
call subscreen SUB1 including sy-repid '1005'.
where SUB1 is your subscreen area name. And remember don't touch PBO or PAI of your 1005 screen, otherwise it will give you error. Yuo can just put text in layout of 1005 screen. but don't disturb other things. -
I have placed a listbox on a one page pdf doc to select and display any of several pdf attachments (originally jpegs). What javascripting will do this? I have tried openDataObject and getDataObjectContents (feeding them the listbox "export value" which is the name of the attached file. Code runs without exception, but no attachment displays?
I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
http://links.tedpavlic.com/shell_scripts/skim -
Listbox component, multiple selections and databases
Hello, I have a listbox component bound to a database. It populates alright, but when I want to set the default selections and add an array of String objects to the listbox's selected property, they never appear selected. I set the array in the prerender method. Has anyone done this before? I searched and only found different situations.
TIA,
ScottHere is an excerpt from http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/about_components.html
"One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. ..."
"For the items property, you specify a display label and a return value for each item in the list. The selected property returns an object, or, if the multiple property is selected, an array of objects, of the same type as the return values. "
" If the multiple property is false, the value of the component's selected property matches the return value of the selected list item. If the multiple property is set to true (to enable the user to select more than one item), you must bind selected to an array of Object, an array of primitives, or java.util.List. If you use java.util.List, you must specify a converter for the type of the List members unless they are String objects. The array contains values that match the return values of the selected items." -
How To delete flex datagrid rows using multiple selected checkbox in flex
Hai
I need to delete the rows in the datagrid, using the checkbox slection...
for each row in the datagrid, there is a checkbox..
by slecting multiple checkbox i need to delete those rows by calling a method...
currently i am using this method for delete, but it deletes oly the finally selected checkbox
this is my code
private
function removeTaskRecord():void
//Check if the checkbox for the task is selected
if(generatedReportsgrid.selectedIndex>=0)
//Remove the task record from the Data Grid data provider
tagreportonload.lastResult.Generatedschedule.Generateddate.removeItemAt(generate dReportsgrid.selectedIndex);
can u help need it immediatly pl
Thanks in AdvanceDon't do this by operating on lastresult. Store the data in a collection like ArrayCollection or XMLListCollection, and remove an item from that. If you need to retain availability to the original data, create a copy of the collection.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services -
How to work/ apply a process on multiple selected files ?
Hello,
I want to write abap code which get file information about all the selected files in the cv04n search page. What is happening now is that even if i select multiple files, and execute my abap program it is only executed once, i want a way to get all the selected files and execute the abap program ?
any ideas ?
Thank youHi,
if u r using select-options in selection screen...
then in select statement u have to use like...
<b>select-options: so_doknr for draw-doknr.
select doknr dokst from draw into table i_draw where doknr in so_doknr.</b>
<b>if it not what u mean... then pls paste the code.. we can help u better..</b>
pls close the other threads if the problem is solved and reward to all helpful answers..
Regards
SAB
<b>if it not what u mean... then pls paste the code.. we can help u better..</b>
Message was edited by:
Syed A -
How to "Performing an Action on Multiple Selected Records" using Struts-JSP
Hi all:
How to do "Performing an Action on Multiple Selected Records" through using Struts/JSP solution that is original MVC/UIX customizing example by Jheadstart.
I know how to reason by analogy through tutorial guide on
Model and Control layer of MVC , but for View layer that is torment to me !
have any idea ?
thanks a lot .Ting Rung,
In the table in the JSP page you add a checkbox like this:
<td class="fixed">
<input type="checkbox" name="multiselect" value="<%=index%>"/>
</td>
This will render a checkbox in each row, with index number of that row as value.
When you submit the page the request contains the multiselect parameter when at least one row has the checkbox checked.
You can get the value of the multiselect parameter by calling sessionData.getRequestParameterValues("multiselect") in your action. The value is a string array containing the index numbers of the rows that have the checkboc checked.
Steven Davelaar,
JHeadstart Team. -
Hi All,
There are more than one rows on iGrid and user needs to select multiple rows and send to SAP
But there are many options for multiple selection
1) shift key
2) control key
3) and selecting one row and dragging it to the last row
if user drags and select more than one rows then iGrid event does not recognizes the event and only the last row data goes to SAP
How multiple selection event could be recognized on dragging and selecting
Thanks
NamitaHi Jeremy,
How HTML button will help
If "Allow Multiple Selection " is checked and user selects multiple rows by any method
On click of HTML button how would we come to know how many rows are selected
If he selects by drag and drop how would we make out which rows are selected
Is it something on change of color or any other grid functionality
Thanks in advance
Namita
Maybe you are looking for
-
After upgrading to iOS 8.1 my health data is missing!
I am a diabetic and I was using the health data for tracking my Blood sugar levels in iOS 8.0 . How ever after upgrading to iOS 8.1 all the previous recordings are gone!! Can somebody tell me why this is so?? I am using iPhone 5.
-
How to skip first screen that is not selection screen.
Hi Experts I am working on a module pool program where in I am required to call a transaction with skip first screen. the first screen of this transaction is self made screen with screen painter with input boxes and a submit button with an OK_CODE. n
-
Arabic language for PlayBook os 2
I'm from egypt and i use Arabic language and i heard that there are Arabic language for PlayBook but i can't git or fiend it Please help me to install Arabic language for my PlayBook Thank you
-
Can i transfer iwork from my macbook to my ipad
can i transfer iwork from my macbook to my ipad without having to purchase them on the app store
-
Upgrade video card for Motion 2 in dual 1.8
I would like to upgrade my GeForce FX 5200 for a more efficient and faster card. Could someone please tell me what are the PCI-X options? Thank you