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

Select Options in Screen Painter

Former Member
0 Likes
1,217

Hi there

Is there some way I can create two text boxes and one button, when the buttons gets pressed the same action as your usual SELECT-OPTIONS dialog box gets displayed? Is ther maybe a function module I can call for this?

Thanx,

Jan

Hi there

Is there some way I can create two text boxes and one button, when the buttons gets pressed the same action as your usual SELECT-OPTIONS dialog box gets displayed? Is ther maybe a function module I can call for this?

Thanx,

Jan

3 REPLIES 3
Read only

Former Member
0 Likes
637

Hi Jan,

No there isn't a way to do this directly in a screen painter.

You could declare a selection screen in the usual way and then use the statement call selection screen to incorporate it within your dialog program.

Darren

Read only

Former Member
0 Likes
637

hi,

I think we can achieve that funcionality in screen.

In the screen , declare two text boxes as low and high..

then globally declare a ranges like

Range : selopt for mara-matnr.

then selopt-low = low.

selopt-high = high.

selopt-sign = 'I'.

selopt-option = 'BT'.

append selopt.

and u can qurey on selopt ...

i think in this way we can provide select option functionlaity in screen also.

Rgds.,

subash

Read only

Former Member
0 Likes
637

you can call a selection screen in sub screen area

declare selection screen as

begin of selection-screen 0100 as subscreen.

end of selection-screen...

then,

in flow logic of your module pool screen

PBO

call subscreen <sub_area> including sy-repid '0100'.

" at selection-screen output event is called

PAI.

call subscreen <sub_area>.

"at selection-screen is called

OR

Call FM COMPLEX_SELECTIONS_DIALOG when the select options button is pressed

Edited by: Amit Gupta on Nov 6, 2008 11:19 AM