‎2007 May 03 11:12 AM
I have created a dialog window...I want a select option with multple selection.How can i do this.
‎2007 May 03 11:13 AM
Hi
for dialog programming you can't design selection screen using select-options
only for report programs you can use it.
Instead you can use Ranges for the dialog programming .
Reward points if useful
Regards
Anji
‎2007 May 03 11:15 AM
well select options will be automatically placed on a generated selection screen.
No way to place them on y self designed Dynpro.
BUT you can do a new Dynpro (dialog window) and make at least 2 subscreen areas on it. In one of your subscren areas you can now call a selection screen as subscreen. this should fulfill your requirement.
‎2007 Jul 06 12:06 PM
Hi Illinda and others members of SDN,
i got many threads stating that there is no way to create a select-option in dialog programing. But it is possible:
i am giving a step by step indication to how to create a select-options:
1. create your selection screen model as subscreen by:
SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.
PARAMETRS: P_MATNR LIKE MARA-MATNR.
SELECT-OPTIONS: S_BISMAT FOR MARA-BISMAT.
SELECTION-SCREEN END OF SCREEN 2000.
2. create a screen ( example 100 ) in your module-pool dedicated for selection-screen. on this screen layout sketch a sub-screen name like subscree_2000.
3. write this bit of code in PBO and PAI of the screen 100;
CALL SUBSCREEN SUBSCREEN_2000.
4. include this code in PBO:
INCLUDING SY-REPID '2000'
6. write user_command of PAI, call screen which is going to executable after selection-screen.
5. create a transcation for this dialog module pool with screen 100.
6. execute this transaction and you can see it's behaving like cool with select-options.
PLEASE GIVE POINTS IF IT USEFULL;;;;
‎2011 Apr 29 4:40 PM
Can you help me for get tha value of parameter of selection option from dynpro?.
Thank.