Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create a select options with multiple selection in dialog programmin

Former Member
0 Likes
794

I have created a dialog window...I want a select option with multple selection.How can i do this.

4 REPLIES 4
Read only

Former Member
0 Likes
593

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

Read only

Former Member
0 Likes
593

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.

Read only

Former Member
0 Likes
593

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;;;;

Read only

0 Likes
593

Can you help me for get tha value of parameter of selection option from dynpro?.

Thank.