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 on Module pool

Former Member
0 Likes
351

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

2 REPLIES 2
Read only

Former Member
0 Likes
319

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

Read only

Former Member
0 Likes
319

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