Application Development and Automation 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: 
Read only

button

Former Member
0 Likes
873

What is the procedure to maintain around some 15 buttons in the same screen.Is it possible and how.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
841

Hiii.

In SE51 you can create any number of Pushbuttons. you have to assign group to each of them.( like if you want display only six buttons then put same group to these all six buttons). if you want visibility of buttons aacoding to your requirement, then in PBO module

loop at screen.

if screen-group1 = 'GR1'.

screen-input = 1.

screen-output = 1.

screen-invisible = 0.

modify screen.

  • check for button function grp and make them visiblr and invisible as per your *requirement.

endif.

Endloop.

In the PAI module check the Fuction code using

CASE SY-UCOMM.

WHEN 'EXIT'.

WHEN 'CREA'.

ENDCASE.

5 REPLIES 5
Read only

Former Member
0 Likes
841

what kind of buttons, what kind of screen ?

Read only

Former Member
0 Likes
841

HI,

yaa u can put 15 buttons no problem.

rgds,

bharat.

Read only

varma_narayana
Active Contributor
0 Likes
841

hI..

In the Screen painter you can create any number of Pushbuttons. Assign a Function code to each of them.

In the PAI module check the Fcode using

CASE SY-UCOMM.

WHEN 'B1'.

WHEN 'B2'.

ENDCASE.

reward if Helpful.

Read only

Former Member
0 Likes
842

Hiii.

In SE51 you can create any number of Pushbuttons. you have to assign group to each of them.( like if you want display only six buttons then put same group to these all six buttons). if you want visibility of buttons aacoding to your requirement, then in PBO module

loop at screen.

if screen-group1 = 'GR1'.

screen-input = 1.

screen-output = 1.

screen-invisible = 0.

modify screen.

  • check for button function grp and make them visiblr and invisible as per your *requirement.

endif.

Endloop.

In the PAI module check the Fuction code using

CASE SY-UCOMM.

WHEN 'EXIT'.

WHEN 'CREA'.

ENDCASE.

Read only

Former Member
0 Likes
841

yes u can...

if u want pushbutton in classical report ..first u have to create menu in se51 and then in that menu add buttons how much u want...

and write that menu name in your classical report after start of selection, then ur menu will be display.