‎2012 Jan 18 6:23 PM
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
‎2012 Jan 18 6:32 PM
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
‎2012 Jan 18 6:32 PM
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
‎2012 Jan 18 6:39 PM
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