04-13-2006 10:10 AM
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
04-13-2006 10:14 AM
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.
04-13-2006 10:14 AM
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
04-13-2006 10:14 AM
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.
04-13-2006 10:16 AM
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
04-13-2006 10:20 AM
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
04-13-2006 10:23 AM
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
04-13-2006 10:28 AM
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