on ‎2004 Dec 22 4:09 PM
Hi,
Can any one tell me how to have select-options in screen painter i mean module pool.
I used COMPLEX_SELECTIONS_DIALOG, function module,
but i could not get the expected result. can any one help me in this regard
regards
sree
Request clarification before answering.
I would say the easiest way is to define your selection screen in the TOP include of your module pool. Then call the selection screen.
Regards,
Rich Heilman
Selection Screen
selection-screen begin of screen 1010 as window title text-001.
selection-screen begin of block b1 with frame title text-002.
parameters: p_vornr type resb-vornr,
p_refno(20) type c,
p_plnid type zplcfg-plnid as listbox visible length 20,
p_sorts type c as listbox visible length 20.
selection-screen begin of line.
selection-screen comment (20) text-004.
selection-screen position 33.
parameters: p_order as checkbox default 'X'.
selection-screen end of line.
selection-screen end of block b1.
selection-screen end of screen 1010.
Now call the selection screen.
call selection-screen 1010.
if sy-subrc = 0.
perform get_production_orders.
perform process_orders.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sree
The two ways for what you've requested at your last post are mentioned here. As far as I know there are no other standard-like ways.
However, surely you can write your own, i.e. your own function to fill a range etc... But that will be a redundant work. So try the way above.
*--Serdar
P.S.: Merry Christmas...Fröhliche Weihnachten...Joyeux Noël...Buon Natale...Feliz Navidad...Mutlu Yillar... to all
Hi Sree
Rich's solution is OK if you want exactly call a selection-screen as if a screen.
Moreover, you can locate a selection-screen into an ordinary screen using subscreen logic. To get more information read .
<i>As another thing, since you are a new SDN member, you are welcome and let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)</i>
Kind regards...
*--Serdar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.