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: 

Disable standard menu bar buttons in sap

Former Member
0 Kudos

Hi all,

I want to disable the GUI Menu bar button in Standard SAP?

Please suggest.

Regards,

Sanket Sethi

15 REPLIES 15

Sandeep_Kumar
Advisor
Advisor
0 Kudos

You can hide all buttons except System and Help .

Former Member
0 Kudos

please clear your point.

You are using object oriented ALV/ simple ALV?

0 Kudos

Hi Rashmi/ Sandeep,

I am calling a Standard SAP Screen from my custom program on an event. Now I want to hide the Back Menu bar button from Standard Screen.

Is it possible ?

I am trying the Set PF status but no luck.

ET PF-STATUS 'VASA' of program 'SAPLCUKD' EXCLUDING fcode.

Regards,

Sanket Sethi

0 Kudos

Hi,

You can copy the standard screen into your zscreen and then modify the screen.

Regards,

Bhaskar

0 Kudos

Hi Bhaskar,

I don't want to copy this screen in my custom program, as I have to take care of this screen as well.

Is there any other effective way?

Regards,

Sanket Sethi

0 Kudos

Hi,

Use Leave to Transaction instead of Call Transaction.

Regards,

Jovito

0 Kudos

We can't use leave to transaction because we have to come back to my custom screen again when user perform his work.

0 Kudos

Any suggestion or Idea?

0 Kudos

Hi Sanket,

Your only other option is to find out the FM in the standard program that does the processing and call that FM.

Another option would be to implement a BAPI / User-Exit on the standard Tcode to disable the back button.

Regards,

Jovito

Edited by: dsouzajovito on Jan 10, 2011 6:46 AM

0 Kudos

Hi Sanket,

Did you go through menu enhancements in sap and changing the standard GUI status?

[Changing the Standard GUI Status|http://help.sap.com/saphelp_46c/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/content.htm]

You can even copy the standard PF-STATUS and make your enhancements.

Edited by: K.Manas on Jan 10, 2011 6:20 AM

0 Kudos

How are calling one screen of a standard transaction? Can you post that section of your code? What exactly is the reason for you to navigate to a standard screen in the middle of your custom screens?

0 Kudos

Hi sanket,

if you call a screen using the CALL SCREEN command, it will use the current status of your program. If you do not provide the exact (code) details of what you want and what you tried, SCN will not help you.

You will rarely or never get a detailed answer for a generalized question, but you may get generalized answer for a detailed question.

Regards,

Clemens

Former Member
0 Kudos

try a menu exit for standard transaction.

Former Member
0 Kudos

hiii,

there wll be two menu help and system that would come by default.

so menu bar totally cant be disabled.

regards,

akshay ruia

Former Member
0 Kudos

Hi,

The following program code . you can understood easily by an record exclude.

*FOR EXCLUDING STANDARD BUTTON FROM ALV TOOLBAR

DATA : it_exclude TYPE slis_t_extab,

wa_exclude TYPE slis_extab.

EXCLUDING STANDARD MENU BAR BUTTONS IN SAP

wa_exclude-fcode = '&OUP'.

APPEND wa_exclude TO it_exclude.

CLEAR wa_exclude.

wa_exclude-fcode = '&ODN'.

APPEND wa_exclude TO it_exclude.

CLEAR wa_exclude.

wa_exclude-fcode = '&OAD'.

APPEND wa_exclude TO it_exclude.

CLEAR wa_exclude.

wa_exclude-fcode = '&INFO'.

APPEND wa_exclude TO it_exclude.

CLEAR wa_exclude.

likae these all buttons has to hide or exclude in the standard menu bar buttons in sap.