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

Display Select option in module pool screen

Former Member
0 Likes
826

What are the Function modules used to display Select option type fields in a module pool screen?

What are the Function modules used to display Select option type fields in a module pool screen?

4 REPLIES 4
Read only

Former Member
0 Likes
778

As fas as I know the only possibility is to define a selection screen in the module pool like:

SELECTION-SCREEN BEGIN OF SCREEN xxxx

SELECT-OPTIONS:

se_matnr for mara-matnr.

SELECTION-SCREEN END OF SCREEN xxxx

and to use a CALL SELECTION-SCREEN xxxx in your module pool.

Regards,

John.

Read only

Former Member
0 Likes
778

hi,

You can use the SELECT-OPTIONS statement to place a group of fields on the screen that allows users

to enter complex selections. The selection may be a single value, or any form of interval

Selection ranges are stored in programs using an internal table.

The ABAP statement SELECT-OPTIONS <selname> FOR <field> declares an internal table called

<selname>, containing four fields - SIGN, OPTION, LOW, and HIGH. The fields LOW and HIGH have

the same type as the field <field>.

The SIGN field can take the value 'I' (for inclusive) or 'E' (for exclusive).

The OPTION field can contain relational operators (EQ, NE, LE, LT, GE, GT), pattern operators (CP,NP), and operators that allow you to enter intervals (BT, NB).

SELECTION-SCREEN BEGIN OF BLOCK conn WITH FRAME TITLE text-001.

PARAMETERS pa_car LIKE wa_sflight-carrid OBLIGATORY.

SELECT-OPTIONS: so_car FOR wa_sflight-carrid,

SELECTION-SCREEN END OF BLOCK conn.

Hope this helps, Do reward.

Read only

Former Member
0 Likes
778

Hi,

There is no such Function module ..

but u can declare ur selection screen in the mpool program as a screen...

and u can call the selection screen in ur subscreen area....

Regards.....

Read only

brian_basch
Participant
0 Likes
778

If you have already not discovered, please see function module 'COMPLEX_SELECTIONS_DIALOG'. I found it when inquiring for something similar.