Application Development 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: 

buttons

Former Member
0 Kudos

i need to make a screen with 4 button, when i click on 1 button a selection screen is open like on mi31 .

PLS

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

selection-screen:begin of screen 101.

parameters:name(10),

num(2) type n.

selection-screen end of screen 101.

case okcode.

when 'BUTTON1'.

call selection screen 101.

endcase.

if u want to call the same selection screen in mi31

case okcode.

when 'BUTTON1'.

call transaction 'MI31'.

endcase.

rgds,

bharat.

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Check the demo program:

demo_call_selection_screen

Regards,

Ravi

Former Member
0 Kudos

u can use

AT USER COMMAND event

and then

case sy-ucomm.

when 'button 1'

call transaction mi31

plz reward if useful

thanx

Former Member
0 Kudos

Hi,

selection-screen:begin of screen 101.

parameters:name(10),

num(2) type n.

selection-screen end of screen 101.

case okcode.

when 'BUTTON1'.

call selection screen 101.

endcase.

if u want to call the same selection screen in mi31

case okcode.

when 'BUTTON1'.

call transaction 'MI31'.

endcase.

rgds,

bharat.

Former Member
0 Kudos

HI,

You need to create a screen for that. You can create one by using the object navigator(se80). The reason I am asking u to create by using the object navigator since it is very easy to create all kinds of objects from there. After that create a pf-status for that screen and using okcodes create different pop up screens as u want to use.

Regs,

Saurabh