‎2006 Oct 11 7:41 AM
Hi,
COuld any body tell me how to give range of values as in input in module pool program same as Select-options on standard selection screen.
Regards,
Satya
‎2006 Oct 11 7:52 AM
Hi,
The two statements:
SELECTION-SCREEN BEGIN OF SCREEN numb [TITLE tit] [AS WINDOW].
...
SELECTION-SCREEN END OF SCREEN numb.
define a user-defined selection screen with screen number numb. All PARAMETERS, SELECT-OPTIONS, and SELECTION-SCREEN statements that occur between these two statements define the input fields and the formatting of this selection screen. Screen number numb can be any four-digit number apart from 1000, which is the number of the standard selection screen. You must also ensure that you do not accidentally assign a number to a selection screen which is already in use for another screen of the program.
From your screen program in which selection screens are defined, you can call these screens at any point of the program flow using the following statement:
CALL SELECTION-SCREEN <numb> [STARTING AT <x1> <y 1>]
[ENDING AT <x2> <y 2>].
Look at the DEMO program <b>DEMO_DYNPRO_SUBSCREENS.</b>
Regards
Sudheer
‎2006 Oct 11 8:11 AM
Hi Satya,
I'm afraid you can't just write "select-options..." in a module-pool and get those fields in the selection screen (at least, I don't know how). Instead, you should program it yourself --that is, a "from" field, a "to" field, a pushbutton for "more selections" and a "ranges" into the flow logic that stores the values you input.
I hope it helps. BR,
Alvaro