Multiple selections in a field in module screen
Hi all
Can any body tell me how to get the multiple values selection in a field in Dialog screen .
regards
dreeni
Easiest way is to create a subscreen and embed this in your dynpro.
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Screen screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100.
Reward if it helps..
regards,
Omkar.
Similar Messages
-
Multiple selection" in the field property in ACROBAT XI
When the "multiple selection" in the field property is available in FormsCentral, I can't find it in ACROBAT XI (Just bought it).
If this field is not available in ACROBAT XI, how can I modifiy the form uploaded (already built) in FormsCentral to be able to use this fonction ?
What I want to do is to have a mandatory field with several possible answers.
Comment accéder au champ "sélection multiple" dans Acrobat XI que je viens juste d'acheter ?
Dans le cas où ce serait impossible (???)
Comment modifier dans Forms Central un formulaire déjà construit sur Acrobat XI de façon à utiliser cette fonction ?Thank you for helping me.
Unfortunately I'm not sure this is what I'm looking for.
If I use the Radio Button, every selection are mutually exclusive.
What I need is to be able to select several responses, but to have to select at least one of them.
People may have the choice of responding by checking one, two or more items but they must answer the question. -
Set focus on item that selected in multiple-selection list box field in infopath
Hi
I have multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
Thanks.Hi,
According to your post, my understanding is that you wanted to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
We can follow the steps as following:
Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
Set the default value for the text box control as
substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
(you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
In addition, you can add Formatting action to hide the text box control.
Here are the result screenshots for you to take a look at:
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
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. -
How to get select-options type fields in module programming
i need to get ranges type of fields ( like we use select-options in reports) in module prgrming..im only gettin single entry field (like we use in paramenters)...how to get it like this
field1 ___ to ___ ->
field2 ___ to ___ ->
Thanx,
Naveen VishalHi,
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Create Screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100. -
Search not working with multiple select in dropdown field
Hello,
Please first visit below site for searching form on left side.
http://diventarepartner.unicaimmobili.com/home-page_copy_dynamic
There is a field called Tipologia which is dropdown menu with checkbox (multiple select). Choose more than one checkbox and its automatic append with comma in text field which is customized using javascript. Now then if you submit button then its not working as our products.
Now for this there is a custom field in admin in web apps items. This field is same for all items and values are different for all items like that which you can see above dropdown checkboxes value.
Now my question Is it possible that for that one field in admin which has different value for different items and when i search from website and checked that cehck boxes and it search for all different items ??
For example in admin suppose 2 items which has different value for that one field. Suppose one has value called Appartamento and other is Villa. Now from search form which is on website, that dropdown checkboxes, if i select these two values (Appartamento and Villa) from these and then search, it will display that both items from web apps ???
Is it possible ??? Can you help me for this ???
Waiting for reply. Thanks in advance.Your link doesn't work. Do you mind reporting it?
-
I want to draw multiple selection for some field on Type M program.
Hi. everyone.
I'm programing on Type M program but I don't know how do I draw multiple selection on Type M.
Is it possible?
If you know some related website or on-line document, please let me know that.It means Online program. it is not report progeam.
I want to design a multiple selection on screen. -
Multiple Selection For Selections screen field
Hi Friends ,
Can any body tell me how to create multiple selection for a field in selection screen and how to capture all those values of that fields in program for database selction. Suppose i am having document number EBELN from EKKO exists in selectio screen . how to create multiple selection for that and how to use all those values given to EBELN to get data from EKKO.
Kumar.hi,
select-options is one type of parameters where u can give multiple values in ranges or single as a input. when u use select-options then system will create a selection screen for u and u give multiple values as
ex:
select-options: s_ebeln for ekko-ebeln.
internally system creates a internal for s_ebeln which has for attributes
1. low --- starting value if range is used
2. high -
ending value
3. sign -
operator used for validating field
4. option -
to exclude given range of values or single value or to include.
for this u can assign default values in INITIALIZATION event as
INITIALIZATION.
s_ebeln -low = '1'.
s_ebeln- high = '100-100'.
s_ebeln-sign = 'BT'.
s_ebeln-option = 'I' // include
'E' // exclude.
if helpful reward some points.
with regards,
Suresh Aluri. -
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. -
Multiple Selection on Matchcode in ALV Grid
I need to implement a Matchcode with multiple selection on a Field in an ALV Grid. On F4 in this specific Field the specific matchcode muss be enable with multiple selection. And after multiple selection by the user, the result muss be concatenate and insert to this field.
Any suggestions or code?
Thanks and Best Regards
FranckCheck the program: BCALV_TEST_GRID_F4_HELP.
IN the code, search foor the fm: F4IF_FIELD_VALUE_REQUEST.
You should pass the parameter MULTIPLE_CHOICE = 'X' for multiple choice in the F4 pop up.
Once you get the returned table, you can concatenate the result and put it it the target field.
Regards,
Ravi -
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 -
Select-option field on module pool screen
hi all,
Can anyone pls let me know, how to design and use a field like a select-option field on a Module-pool screen i.e. how can i get that multiple selections tab after the high field of the select-options.
thanks in advance,
vinnyAll you need to do is define your selection screen and then embed it in a subscreen area of your dynpro(screen). Here is a sample program.
report zrich_0006 .
tables: mara.
* Custom Selection Screen 1010
<b>selection-screen begin of screen 1010 as subscreen.</b>
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
<b>* Screen screen 100 with a subscreen area called "subscreen_1010"
* Screen Flow Logic follows
*process before output.
* module status_0100.
* call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
* call subscreen subscreen_1010 .
* module user_command_0100.</b>
Regards,
Rich Heilman -
How can i post the fields in the screen by selecting a record
Hi,
I have a problem in dialog programming.
I need to populate the fields in the screen by selecting a single record.
For example,
Screen consists of 'CARRID, CONNID,FLDATE... fields.
By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
How can i do this in dialog programming?
I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
Thanks in advance..
SuvanHi Vinod,
Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
With dictionary reference it will fetch the entire entries from the Check table.
Thanks again for your co-operation.
Suvan.<b></b> -
Multiple select option in the screen painter
Hi all,
I want to give multiple select option for a particular field in the screen painter.
how to provide it.
NitinHi,
Refer to this link..[Select-Option in Dialog programming |Re: Select-Option in Dialog programming]
[How to make select option in module pool |how to make select option in module pool] -
Hi!
I've set up an initial screen (selection screen) in my dynpro-program, with company code (BUKRS) as input field. This screen has been developed using the Screen Painter and is of the screen type 'Normal'.
I have managed to add a search help to the input field, but how can I <b>add a multiple selection screen</b> to it?
Thank you for all your help!
- Mari VirikHI,
Create button beside BUKRS field.
and use FM <b>K_CMPERS_MULTIPLE_SELECTION</b> when the button is pressed.
this FM provides u a multiple selection screen. Use 'R' for Fieldtype.
data: parm like cmpersdata occurs 0.
call screen 300.
*& Module USER_COMMAND_0300 INPUT
text
module USER_COMMAND_0300 input.
case sy-ucomm.
when 'MULT'.
CALL FUNCTION 'K_CMPERS_MULTIPLE_SELECTION'
EXPORTING
p_fieldtype = 'R'
p_fieldname = 'MATNR'
p_tablename = 'MARA'
tables
pt_parm = parm
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endcase.
endmodule. " USER_COMMAND_0300 INPUT
Regards
CNU
Maybe you are looking for
-
Error message everytime after waking computer
So I bought a new Lenovo ideapad S415 touch a week ago. installed ram from 4g to 8g ddr3. Then I got Windows 8.1 from 8. After I got 8.1 my laptop ran extremely slow then I somehow fixed it by changing some settings and removed some adware. So after
-
No airplay signal shows up and I'm not connected to anything else other than the VGA cable and that one connected to the hdmi cable.
-
How to handle text of iframe to send to remote printer in client side?
Hello everybody, I am having problem to handle the printing text of iframe to send to remote printer. I am using JDK 1.5, JSP and JBOSS. My clients have to print the information displayed in iframe to their remote Printer. I am using javascript code
-
I downloaded the new OS and now my music in itunes is not syncing with my ipad ideas?
I just downloaded the new version of iTunes. my music is backed up on my MAC but there is no music on my iPad2. Any ideas?
-
How to unblock my Ipad? (forgot password 4 numbers)
When I want to Use my Ipad I first have to unlock with a password (4 numbers), BUT " I forgot this password" and now it is TOTALLY blocked. How can I unblock it ? I want to use it offcourse ? Please let me know... thank you