Skip to Content
author's profile photo Former Member
Former Member

module pool


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



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 22, 2004 at 04:38 PM

    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.


    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.


    Add a comment
    10|10000 characters needed characters exceeded

    • 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.


      P.S.: Merry Christmas...Fröhliche Weihnachten...Joyeux Noël...Buon Natale...Feliz Navidad...Mutlu Yillar... to all

  • Posted on Dec 22, 2004 at 06:04 PM

    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 store-select-options-on-database.

    <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...


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.