2008 Nov 06 8:34 AM
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
2008 Nov 06 9:44 AM
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
2008 Nov 06 9:49 AM
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
2008 Nov 06 10:17 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |