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

RE:module pool

alex_georgek
Associate
Associate
0 Likes
484

Hi all,

Is it possible to get a select option property in a module pool screen.I got a screen with one I/O field.My requirement is to

add one more I/O box for the same field. ,so that it behaves like a select option.

How to do this..

Thanks in advance,

Alex.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
468

create a range with high and low value options for the field.Then select these two fields in the screen layout from

GOTO->Secondary window->Dictionary/program fields.

3 REPLIES 3
Read only

Former Member
0 Likes
469

create a range with high and low value options for the field.Then select these two fields in the screen layout from

GOTO->Secondary window->Dictionary/program fields.

Read only

Former Member
0 Likes
468

Hi,

You can add I/O fields based on uy requirement.But they

should not behave like select-options.

You need to use two I/O fields while selecting the data(just like

select-options).

Regards,

Chandu.

Read only

Former Member
0 Likes
468

Hi Alex,

You need to define your selection screen as a subscreen, then embed this into your subscreen area on the dynpro. Here is a sample program.

report ztest .

tables: mara.

Custom Selection Screen 1010

selection-screen begin of screen 1010 as subscreen.

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

parameters: p_rad1 radiobutton group grp1 default 'X',

p_rad2 radiobutton group grp1,

p_rad3 radiobutton group grp1.

select-options: s_matnr for mara-matnr,

s_matkl for mara-matkl,

s_mtart for mara-mtart.

selection-screen end of block b1.

selection-screen end of screen 1010.

start-of-selection.

call screen 100.

&----


*& Module STATUS_0100 OUTPUT

&----


module status_0100 output.

SET PF-STATUS 'xxxxxxxx'.

SET TITLEBAR 'xxx'.

endmodule.

&----


*& Module USER_COMMAND_0100 INPUT

&----


module user_command_0100 input.

endmodule.

Create Screen 100 with a subscreen area called "subscreen_1010"

Screen Flow Logic follows

*process before output.

*

module status_0100.

*

call subscreen subscreen_1010 including sy-repid '1010'.

*

*process after input.

*

call subscreen subscreen_1010 .

*

module user_command_0100.

Regards,

Mukesh Kumar