Mulitple selection with select option on subscreen
Hi colleagues,
I've the following issue:
I'm programming a dynpro this dynpro contains two subscreens. The lower subscreen will contain another dynpro defined as subscreen with an ALV to display results.
The top subscreen (0150) area will be filled with a generated subscreen with the command
SELECTION-SCREEN BEGIN OF SCREEN 0150 AS SUBSCREEN.
with select options I define my selection area like:
SELECT-OPTIONS: sa_6 FOR gs_rp_attrib_sel-sonr.
If I call my transaction starting up the dynpro containing the two subscreens the result looks quit how I expect it. BUT then I try to start up the multiply selection Pop-UP for the selection field by pressing the button just right behind the HIGH input field, nothing happens. The multiply selection pop-up basicly does not show up.
Any clues what I need to add that it will show up?
Does the mulitply selection not work with
SELECTION-SCREEN BEGIN OF SCREEN 0150 <b>AS SUBSCREEN</b>???
(If I do a simple test program with a selection screen not being a subscreen, the multiply select popup comes up.)
Hi,
A subscreen cannot call another screen.
I guess this is the reason why u are facing this problem.
Thanks,
Rashmi.
Similar Messages
-
Hi
I have a site which has 8 services.each service has it own
page. When the user goes to the service page there will be a link
which will take them to a form. I want the form to be able to
identify which service is there and select that one automatically.
I have done this previously but only with a form. Can you
please help me to fix this.
Link on service page
<a href="moreinfo.cfm?service=WorkGroup Consultancy">Click
here for Further Information</a>
select box in form
<select name="service">
<option value="UK Immigration" <cfif
structKeyExists(form,"UK Immigration") AND form.service eq
"WorkGroup Consultancy">selected="selected"</cfif>>UK
Immigration</option>
<option <cfif structKeyExists(form,"WorkGroup
Consultancy") AND form.service eq "WorkGroup
Consultancy">selected="selected"</cfif>value="WorkGroup
Consultancy">WorkGroup Consultancy</option>
<option value="Legal Managment Software" <cfif
structKeyExists(form,"Legal Managment Software") AND form.service
eq "Legal Managment
Software">selected="selected"</cfif>>Legal Managment
Software</option>
<option value="Search Engine Optimization" <cfif
structKeyExists(form,"Search Engine Optimization") AND form.service
eq "Search Engine
Optimization">selected="selected"</cfif>>Search Engine
Optimization</option>
<option value="Marketing Consultancy" <cfif
structKeyExists(form,"Marketing Consultancy") AND form.service eq
"Marketing
Consultancy">selected="selected"</cfif>>Marketing
Consultancy</option>
<option value="Project Management" <cfif
structKeyExists(form,"Project Management") AND form.service eq
"Project Management">selected="selected"</cfif>>Project
Management</option>
<option value="Training" <cfif
structKeyExists(form,"Training") AND form.service eq
"Training">selected="selected"</cfif>>Training</option>
<option value="Web Design"<cfif
structKeyExists(form,"Web Design") AND form.service eq "Web
Design">selected="selected"</cfif>>Web
Design</option>
</select>I have tried both was and still cannot get it to work. Please
shwo me the correct way to do this
<cfselect name="service" selected="#url.service#">
<option value="UK Immigration" >UK
Immigration</option>
<option value="WorkGroup Consultancy">WorkGroup
Consultancy</option>
<option value="Legal Managment Software" >Legal
Managment Software</option>
<option value="Search Engine Optimization" >Search
Engine Optimization</option>
<option value="Marketing Consultancy" >Marketing
Consultancy</option>
<option value="Project Management">Project
Management</option>
<option value="Training" >Training</option>
<option value="Web Design">Web Design</option>
</cfselect>
And the other way
option value="UK Immigration" <cfif structKeyExists(URL,"UK
Immigration") AND url.service eq "WorkGroup
Consultancy">selected="selected"</cfif>>UK
Immigration</option>
<option <cfif structKeyExists(url,"WorkGroup
Consultancy") AND url.service eq "WorkGroup
Consultancy">selected="selected"</cfif>value="WorkGroup
Consultancy">WorkGroup Consultancy</option>
<option value="Legal Managment Software" <cfif
structKeyExists(url,"Legal Managment Software") AND url.service eq
"Legal Managment
Software">selected="selected"</cfif>>Legal Managment
Software</option>
<option value="Search Engine Optimization" <cfif
structKeyExists(url,"Search Engine Optimization") AND url.service
eq "Search Engine
Optimization">selected="selected"</cfif>>Search Engine
Optimization</option>
<option value="Marketing Consultancy" <cfif
structKeyExists(url,"Marketing Consultancy") AND url.service eq
"Marketing
Consultancy">selected="selected"</cfif>>Marketing
Consultancy</option>
<option value="Project Management" <cfif
structKeyExists(url,"Project Management") AND url.service eq
"Project Management">selected="selected"</cfif>>Project
Management</option>
<option value="Training" <cfif
structKeyExists(url,"Training") AND url.service eq
"Training">selected="selected"</cfif>>Training</option>
<option value="Web Design"<cfif
structKeyExists(url,"Web Design") AND url.service eq "Web
Design">selected="selected"</cfif>>Web
Design</option> -
Checkedlistbox allows multiple selections with Selection mode set to one
I have a simple CheckedListBox with three options. I set Selection Mode to One. When I test the form, it allows me to have more than one box checked. I can clear the other two with a program, but my understanding of Selection Mode was that it would not
allow more than one box to be checked if set on one.Option Strict On
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
CheckedListBox1.SelectionMode = SelectionMode.One
For i = 1 To 10
CheckedListBox1.Items.Add("Number" & i.ToString)
Next
End Sub
Private Sub CheckedListBox1_ItemCheckChanged(sender As Object, e As ItemCheckEventArgs) Handles CheckedListBox1.ItemCheck
Dim ItemIndex As Integer = e.Index
For i = 0 To CheckedListBox1.Items.Count - 1
If i <> ItemIndex Then
CheckedListBox1.SetItemCheckState(i, CheckState.Unchecked)
End If
Next
End Sub
End Class
La vida loca -
How to mimic H.FM GUI Selection with LKM options ?
Hi there,
1. the LKM H.FM data to SQL enables setting options among other on the Entity dimension
2. a web based H.FM GUI enables to extract all level0 or base members linked to another member in the dim hierarchy
as for instance {top_member_value.[Base]}
Is there a way to pass this kind of option to the LKM ?
regards
jldHi,
This is not possible.
You may wish to call it multiple times with each row of your select-option, and consolidate the returned records.
Better is to restrict the select-option with no-extension.
cheers, -
Dynamic select with select-opitons
Hi all,
i have a selction screen with a Select-options : S_monat for bkpf-monat.
Depending on what the user has entered in that selection i need to select the field WOG001 to WOG016 from table COSP.
for example if user has entered Period '01' to Period '12' , then i should do SELECT ( WOG001 to WOG012) from COSP. How to program that dynamic select fields??
Cann anyone help???
Thanks!I hope this will solve your porblem.
SELECt-OPTIONS: monat for bkpf-monat OBLIGATORY.
DATA: BEGIN OF ITAB,
WTG001 TYPE COSP-WTG001,
WTG002 TYPE COSP-WTG002,
WTG003 TYPE COSP-WTG003,
END OF ITAB.
BREAK-POINT.
LOOP AT monat.
if monat-LOW = '01' AND MONAT-HIGH IS INITIAL.
select SINGLE WTG001 FROM cosp INTO CORRESPONDING FIELDS OF ITAB where kstar = '0007110102' and vrgng eq 'COIN' AND BEKNZ = 'H'.
elseif monat-LOW = '01' AND MONAT-HIGH eq '01'.
select SINGLE WTG001 FROM cosp INTO CORRESPONDING FIELDS OF ITAB where kstar = '0007110102' and vrgng eq 'COIN' AND BEKNZ = 'H'.
ELSEIF MONAT-HIGH = '02'.
select SINGLE WTG001 WTG002 INTO CORRESPONDING FIELDS OF ITAB FROM cosp where kstar = '0007110102' and vrgng eq 'COIN' AND BEKNZ = 'H'.
ELSEIF MONAT-HIGH = '03'.
select SINGLE WTG001 WTG002 WTG003 INTO CORRESPONDING FIELDS OF ITAB FROM cosp where kstar = '0007110102' and vrgng eq 'COIN' AND BEKNZ = 'H'.
ENDIF.
ENDLOOP.}
Edited by: ZAHID HAMEED on Aug 9, 2011 12:35 AM
Edited by: ZAHID HAMEED on Aug 9, 2011 12:38 AM -
CS5 Disable Picture Content Select with Selection Tool
I'm not sure if this was added in CS4, because I skipped CS4, but I know it wasn't there in CS3. With my Selection Tool (solid cursor), I can grab the contents of a picture box represented by circle mark that appears in the center of an image on mouse rollover. If I come close to it, I grab the picture, not the frame (what I don't want). But if I keep my selection closer to the edge, I select box and contents (what I want). How can I disable this feature? I have looked through my preferences to no avail. I mean, I thought that's what the Direct Selection Tool was for? If I want the contents selected, I use the hollow cursor. Why mess with that? Please tell me this can be disabled. It would make my day.
I did a search, but was hitting nothing. And I was looking in the wrong spot for it in the app.
You... have made my day. Thank you, thank you. -
Populate values selects with select one choice
How I can to create in Java??
use a managed bean property of type ArrayList<SelectItem> and generate accessors. The reference it from f:selectItems in the selectOneChoice
Frank -
List of Map objects with html:options collection
Hello All,
I'm trying to get an arraylist of map objects to display dynamically as a dropdown select with html:options collection. I've spent hours on this and I haven't been able to get it working. Any ideas as to how this is done?
Thanks,
JamesAn arraylist of Map objects?
What is it that you want to show up in the dropdown box - all the name value pairs included in all the maps of the list?
Assuming with a Map the "key" is what you want submitted and the "value" is what to display to the user
Definitely sounds like a double loop structure is required. One to loop through all the maps. Another to generate all the options in each map.
This one does it at the basic level of things
<c:forEach var="map" items="${listOfMaps}">
<c:forEach var="entry" items="${map}">
<html:option value="${entry.key}">${entry.value}</html:option>
</c:forEach>
</c:forEach>The following might also work.
<c:forEach var="map" items="${listOfMaps}">
<html:options collection="map" property="key" labelProperty="value"/>
</c:forEach>Cheers,
evnafets -
Issue with Select options in select statement - ABAP Question
Hi
I am facing an issue with select options. Select statement is returning sy-subrc as 4.
I wrote the program as below:
SELECT-OPTIONS:
s_kunnr FOR bsad-kunnr,
s_lifnr FOR bsak-lifnr,
s_gjahr FOR bsad-gjahr,
s_bukrs FOR bsad-bukrs,
s_saknr FOR bsad-saknr,
s_budat FOR bsak-budat.
In start of selection I have written the select statement as
SELECT * FROM bsak INTO TABLE lt_bsak
WHERE bukrs IN s_bukrs AND lifnr = s_lifnr AND gjahr IN s_gjahr AND budat IN s_budat AND saknr IN s_saknr.
In selection screen I have not entered any values and executed the program. I am not getting any result. When I debug that, sy-subrc is 4 at above select statement. But table has records.
If am removing the "lifnr = s_lifnr " condition in select then select is returning values.
I am not getting where I made the mistake. Please suggest.
Thank you
HanuHi,
The problem here with where condition select option lifnr = s_lifnr.
Use below select query.
SELECT * FROM bsak INTO TABLE lt_bsak
WHERE bukrs IN s_bukrs
AND lifnr IN s_lifnr
AND gjahr IN s_gjahr
AND budat IN s_budat
AND saknr IN s_saknr.
s_lifnr is a select option and you are passing it as parameter lifnr = s_lifnr.
if you want to pass this s_lifnr as single vale then pass in below mentioned way.
lifnr = s_lifnr-low
BR,
Vijay -
No selection with SIGN = 'I'; OPTION 'GE' allowed
Hello All,
I have added an ABAP routine in one of the InfoPackage to filter a field CREATDATE(char,8).
Whenever I am executing the InfoPackage I am getting the following error:-
For sel. field 'CREATDATE', no selection with SIGN = 'I'; OPTION 'GE' allowed
Message no. RSM1607
Through debugging I have noticed that after the EndForm of the InfoPackage filter the Program control goes to a System Program "RSS2_INTERPRET_SELOPTS_DS". All the Selection Options (EQ, BT, GE, GT, NE, LT, etc ) are defined in this program and the program control ignores the 'GE' option code specified in the program "RSS2_INTERPRET_SELOPTS_DS".
if not l_s_so-ge is initial.
clear l_s_selopts.
l_s_selopts-sign = 'I'.
l_s_selopts-option = 'GE'.
l_s_selopts-single = 'X'.
append l_s_selopts to e_t_selopts.
endif.
Can anyone help how to resolve this.
Thank You
Edited by: RACHANA_CG on Sep 27, 2010 2:28 PMHi,
I guess in Infopackage filter routine, you can only declare multiple single values or a range i.e technically I EQ & I BT.
Excluding or greater/less functions are disregarded. You can create a dynamic infopackage filter to have all the dates say for the next two years from the start date & run it.
--Akashdeep -
Innput field with Select option on custom screen
Hi,
I need to create an Input field with Select Option(No interval) button on Custom dialog screen .
Is there any idea how can I create it on screen ?
Thanks
Sachincreate a normal inputfield and place an icon next to it. then in the pai on click of that button use the following code.
data: wf_tab_field like rstabfield occurs 0 with header line ,
wf_exl_opt like rsoptions .
refresh: wf_tab_field .
move: 'KOSTL' to wf_tab_field-fieldname ,
'CSKS' to wf_tab_field-tablename .
append wf_tab_field .
clear wf_tab_field .
move: 'X' to wf_exl_opt-bt ,
'X' to wf_exl_opt-cp ,
'X' to wf_exl_opt-ge ,
'X' to wf_exl_opt-gt ,
'X' to wf_exl_opt-le ,
'X' to wf_exl_opt-lt ,
'X' to wf_exl_opt-nb ,
'X' to wf_exl_opt-np .
call function 'COMPLEX_SELECTIONS_DIALOG'
exporting
title = 'Select Cost Centers'
text = 'Cost Center'
* SIGNED = 'X'
* LOWER_CASE = ' '
* NO_INTERVAL_CHECK = ' '
* JUST_DISPLAY = ' '
* JUST_INCL = ' '
excluded_options = wf_exl_opt
* DESCRIPTION =
help_field = 'CSKS-KOSTL'
* SEARCH_HELP = 'KOST'
tab_and_field = wf_tab_field
tables
range = r_kostl
exceptions
no_range_tab = 1
cancelled = 2
internal_error = 3
invalid_fieldname = 4
others = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if not r_kostl[] is initial .
read table r_kostl index 1 .
if sy-subrc eq 0 .
move: r_kostl-low to wf_t_kostl .
endif .
endif .
wf_t_kostl is the screen field name.
Raja -
Module Pool with select options
Hi,
I have created select-option and radio button in Module pool. My req is that I when the user enters any value and click on the radio button the respective programs should be executed.
Thanks
HariHi Hariharan,
I would recommend you to use primarily use push button and then after SUBMIT statement, and also the example for the same is provided below:
*Code used to execute a report
SUBMIT Zreport.
*Code used to populate 'select-options' & execute report
DATA: seltab type table of rsparams,
seltab_wa like line of seltab.
seltab_wa-selname = 'PNPPERNR'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
* load each personnel number accessed from the structure into
* parameters to be used in the report
loop at pnppernr.
seltab_wa-low = pnppernr-low.
append seltab_wa to seltab.
endloop.
SUBMIT zreport with selection-table seltab
via selection-screen.
*Code used to populate 'parameters' & execute report
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value'.
Please validate the same at your end as well, please come back, if inputs are required.
BR/Thanks
Pranav Agrawal -
How to declare and work with select-option in screen painter?
hello there,
can anybody plz suggest me ,how to declare and work with select-option in screen painter?
neonHi Blue,
Please check these threads which will help you a lot..
module pool programming " to add selection-option on screen"
Re: Select option in Dialog program screen
Re: SELECT-OPTIONS in Screen
Good luck
Narin -
Dear Experts,
I used component wdr_select_options to achieve select options functionality, But it displaying only one field as per my requirement user expecting both low & high fields.
Can you guide for 5 select options whether i have use t times the component at my component level.
And also could please guide me how to use select options at code level.
Thanks & Regards,
Siva Mandapudi.
Edited by: SIVAMANDAPUDI on Jul 18, 2011 6:39 PMHi Saravan,
Please find below details.
The exception is:
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "ONACTIONSEARCH_SUPPLIER" "(METHOD)", nor was it propagated by a
RAISING clause.
code:
DATA FOR WORKING WITH SELECT OPTIONS
data: rt_SUPPLIERNO type ref to data.
data: rt_SUPPLIERNAME type ref to data.
field-symbols: <fs_SUPPLIERNO> type table,
<fs_SUPPLIERNAME> type table.
TYPES: BEGIN OF T_SUPPLIERNO,
SIGN(1),
OPTION(2),
LOW TYPE /SAPAPO/LOC,
HIGH TYPE /SAPAPO/LOC,
END OF T_SUPPLIERNO.
TYPES: BEGIN OF T_SUPPLIERNAME,
SIGN(1),
OPTION(2),
LOW TYPE /SAPAPO/LOC_DESCR40,
HIGH TYPE /SAPAPO/LOC_DESCR40,
END OF T_SUPPLIERNAME.
DATA: WA_SUPPLIERNO TYPE T_SUPPLIERNO, IT_SUPPLIERNO TYPE TABLE OF T_SUPPLIERNO,
WA_SUPPLIERNAME TYPE T_SUPPLIERNAME, IT_SUPPLIERNAME TYPE TABLE OF T_SUPPLIERNAME.
Retrieve the data from the select option
rt_SUPPLIERNO = wd_this->m_handler->get_range_table_of_sel_field(
i_id = 'ID_SNO' ).
dump raising when get_range_table_of_sel_field is called.
Thanks a lot.
Regards
Siva Mandapudi. -
For sel. field 'PERNR', no selection with SIGN = 'I'; OPTION ' ' allowed
HI,
I am getting this error when i m wrintg this routine.
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'PERNR'.
l_idx = sy-tabix.
L_T_RANGE-IOBJNM = '0EMPLOYEE'.
L_T_RANGE-FIELDNAME = 'PERNR'.
L_T_RANGE-SIGN = 'I'.
L_T_RANGE-OPTION = '<>'.
L_T_RANGE-LOW = '1004586'.
L_T_RANGE-HIGH = '1006263'.
modify l_t_range index l_idx.
l_idx = sy-tabix.
For sel. field 'PERNR', no selection with SIGN = 'I'; OPTION '<>' allowedwhen you are defining low and high value, u have to use
l_t_range-option = 'BT'.
Maybe you are looking for
-
Control at ipod no longer works in car
This past Christmas I had an ipod adapter installed in my Hummer-3 (2006) Everything was working fine. With the most recent update (1.1.1), I am no longer able to control my ipod THRU THE IPOD. I brought my car into the dealer that installed the ipod
-
jpegs always arrive unopened but open with no degradation of quality whereas the tif file opening with picture viewer are degraded and almost unusable.
-
does anyone have the source code for a timer which can be started, stepped, and stopped by clicking the the associated buttons.
-
I just bought a Ipad and know nothing about it. I have been charging it for about 2 hours and when I try to turn it on it shows the Itune icon and the plug thats it wont do anything else. Any suggestions on what to do?
-
Hello, DST: the SQL Cluster did not change the time by itself.. Where should I look for the issue. The time was changed manually to continue processing.... Thanks, Dom System Center Operations Manager 2007 / System Center Configuration Manager 2007 R