cancel
Showing results for 
Search instead for 
Did you mean: 

module pool

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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.

Former Member
0 Kudos

Hi,

what i did is, declared a sreen of type subcreen and called this screen after the PBO.

every thing is fine but the multiple selection button is not working.

can u please tell me how to do that.

regards

sree

ssimsekler
Active Contributor
0 Kudos

Hi Sree

You must call your subscreen both at PBO and at PAI.

<u><b>e.g.</b></u>


*--PBO
....
CALL SUBSCREEN <subscreen_name> 
     USING <prog_name> <scr_no> .
....
*--PAI
CALL SUBSCREEN <subscreen_name> .

Hope this solves your problem.

*--Serdar

Former Member
0 Kudos

Thanx,

i got it..

hey can u plz tell me wether we can have from and to fields and a multiple selection push button in a screen painter, giving us the full functionality of select-options of a report program..it would be a great help.

regards

sree

ssimsekler
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

ssimsekler
Active Contributor
0 Kudos

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