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

Multiple selection on a module pool screen element:

Former Member
0 Likes
1,165

I have searched through the forum for a while and have not come across a recent scenario like this.

I have an existing module pool program. The module has a screen created using a screen editor and it has

many fields on it and it is being used like a selection screen. I need to add an additional screen

element and have it react like a select-options that would allow me to add multiple selections.

The screen element is LAND1 country, I want to be able select multiple countries like a select-options would handle.

Is that possible or is there a setting that can handle that? Any help is appreciated.

Thanks.

Stephen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
936

You can put a button beside the field that says something like 'multiple selections'. When it is pressed, call up another screen with this field as a select-options. There are many discussions of how to do this in the forum.

Rob

2 REPLIES 2
Read only

Former Member
0 Likes
937

You can put a button beside the field that says something like 'multiple selections'. When it is pressed, call up another screen with this field as a select-options. There are many discussions of how to do this in the forum.

Rob

Read only

Clemenss
Active Contributor
0 Likes
936

Hi Stephen,

it's simple:

1. anywhere in your module pool program define a selection screen containing a select-options.

example:

* dynpro 2200: vkont
SELECTION-SCREEN BEGIN OF SCREEN 2200 AS SUBSCREEN.
SELECT-OPTIONS so_vkont FOR fkkvk-vkont.
SELECTION-SCREEN END OF SCREEN 2200.

2. In you screen, define a subscreen area. Look at the subscreen help - it must be called in PBO and PAI of you main screen.

I haven't got the complete source right here - but I'm convinced you get it done.

Regards,

Clemens