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 IN ABAP EDITOR

Former Member
0 Kudos

HELLO.

HOW CAN I ACCESS THE THE MENU BAR,APPLICATION TOOLBAR AND

FUNTION KEYS MENU INSIDE THE ABAP EDITOR?

I WANT TO CREATE A EXTRA PUSH BUTTON IN THE APPLICATION TOOLBAR

MENU AND THEN CONTROL IT INSIDE THE PROGRAM.

I WANT ALSO TO DISABLE SOME PUSHBUTTONS FROM THE

STANDARD TOOLBAR.

THANKS

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi bill,

1. WANT ALSO TO DISABLE SOME PUSHBUTTONS FROM THE

STANDARD TOOLBAR.

In your program , just write

set pf-status 'ABCD'.

and double click on ABCD.

2. u will be taken to gui-status editor

there u can disable what u require.

regards,

amit m.

6 REPLIES 6

Former Member
0 Kudos

Bill,

What do you mean by creating inside the ABAP Editor?

If you want to create a Menu / Toolbar for your program use the Menu Painter SE41 and attach that to your program.

you can attach the menu to the program using SET PF-STATUS command.

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

Former Member
0 Kudos

hi bill,

1. WANT ALSO TO DISABLE SOME PUSHBUTTONS FROM THE

STANDARD TOOLBAR.

In your program , just write

set pf-status 'ABCD'.

and double click on ABCD.

2. u will be taken to gui-status editor

there u can disable what u require.

regards,

amit m.

0 Kudos

hi,

use <b>set pf-status 'PQR'</b> in your program.. on double clicking on that u will be taken to GUI editor where is where u can define a code which is of 4 letter word.... assign the functionality as SY-UCOMM traps the clicked button

Regards,

Santosh

Former Member
0 Kudos

HI BILL,

IN YOUR PROGRAM WRITE

SET PF-STATUS 'XXX'.

DOUBLE CLICK ON THAT IT WILL TAKE U TO SE41(MENU PAINTER)

SELECT APPLICATION TOOL BAR AND CREATE OR DISABLE BUTTONS

HOPE THIS HELPS,

PRIYA

former_member188685
Active Contributor
0 Kudos

hi,

you can do that...

in start-of-selection write set-pf-status .

START-OF-SELECTION.
set pf-status 'ABC'.

"add buttons etc what ever you want..

"handling will be under this event.

at user-command.

case sy-ucomm.

when 'TEST'.

endcase.

if you want to disable then you can do this way

"append all your okcodes which you want to disable to P_EXTAB.

P_EXTAB is of table with field sy-ucomm.
SET PF-STATUS 'AAA' excluding P_EXTAB.

Regards

vijay

Former Member
0 Kudos

hi

good

go through these links i hope this will give you infromtation to solve your problem.

http://www.geocities.com/victorav15/sapr3/abap.html

http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm

thanks

mrutyun