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: 

**PUSH BUTTON**

Former Member
0 Kudos
89

How can you create push buttons in the Menu Painter?

2 REPLIES 2

former_member583013
Active Contributor
0 Kudos
38

Go to SE41 and create a menu....Then you can create buttons by assigning icons and function keys to them...

Greetings,

Blag.

Former Member
0 Kudos
38

hi,

REPORT ZR_ALV_RB1.

TABLES sscrfields.

SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.

selection-screen: PUSHBUTTON 2(10) but1 USER-COMMAND cli1,

PUSHBUTTON /12(30) but2 USER-COMMAND cli2

VISIBLE LENGTH 10.

selection-screen end of block one.

AT SELECTION-SCREEN.

CASE sscrfields.

WHEN 'CLI1'.

message i000(zz) with 'Button 1 was pressed'.

WHEN 'CLI2'.

message i000(zz) with 'Button 2 was pressed'.

ENDCASE.

initialization.

but1 = 'Button 1'.

but2 = 'Button 2'.

START-OF-SELECTION.

  • Rest of your logic here.

ABAP has many Programming Types .

You hav to create Screen Pgmming ( Module Pool ) .

http://help.sap.com/saphelp_erp2004/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm

Pls:award points