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

Module Pool Selection Screen

Former Member
0 Likes
377

The user wants the custom module pool selection screen to look like a list selection screen. Meaning that they want to have the multiple selection box come up at the end of the field. I don't think that this is possible but maybe someone has some ideas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
357

Use code like the following in your TOP include.

Note that we have defined screen 500 in the code.

Now in your transaction code for this module pool set this as the openingscreen. Please revert in case of any clarifications.

Code.

=AF---

selection-screen : begin of screen 500 as window.

selection-screen : begin of block abc with frame title text-001.

select-options : s_bukrs for mseg-bukrs no intervals no-extension

obligatory.

parameter : p_postdt like mkpf-budat obligatory.

select-options : s_vendor for mseg-lifnr.

selection-screen : end of block abc.

selection-screen : begin of block def with frame title text-002.

parameter : c_fore radiobutton group g1 default 'X',

c_back radiobutton group g1 .

selection-screen : end of block def.

selection-screen : end of screen 500.

at selection-screen.

if sy-ucomm = 'CRET'.

perform get_data.

endif.

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
357

Strange requirement....Why not create a z-report with a selection screen and next call screen from module pool? No-body will notice the difference between module pool and report.

Read only

Former Member
0 Likes
358

Use code like the following in your TOP include.

Note that we have defined screen 500 in the code.

Now in your transaction code for this module pool set this as the openingscreen. Please revert in case of any clarifications.

Code.

=AF---

selection-screen : begin of screen 500 as window.

selection-screen : begin of block abc with frame title text-001.

select-options : s_bukrs for mseg-bukrs no intervals no-extension

obligatory.

parameter : p_postdt like mkpf-budat obligatory.

select-options : s_vendor for mseg-lifnr.

selection-screen : end of block abc.

selection-screen : begin of block def with frame title text-002.

parameter : c_fore radiobutton group g1 default 'X',

c_back radiobutton group g1 .

selection-screen : end of block def.

selection-screen : end of screen 500.

at selection-screen.

if sy-ucomm = 'CRET'.

perform get_data.

endif.