2008 Feb 15 9:35 AM
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?
2008 Feb 15 9:40 AM
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.
2008 Feb 15 9:40 AM
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.
2008 Feb 15 9:43 AM
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.....
2008 Jul 28 8:04 PM
If you have already not discovered, please see function module 'COMPLEX_SELECTIONS_DIALOG'. I found it when inquiring for something similar.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |