Disabling menu option

Hi,
    I want to disable the menu option dynamically for certain condition, can anybody please say the procedure.
Thanks in Advance

try this
to diable sort button in your alv output..see the text in bold
data: IT_EXCLUDE TYPE SLIS_T_EXTAB
append '&OUP' to it_exclude. "sort ascending
append '&ODN' to it_exclude. "sort descending
put tab on the button and click f1 to get function codes and pass to it_exclude you can disabe your standard buttons ojn the top..
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = l_layout
it_fieldcat = it_fieldcat
IT_EXCLUDING = it_excludeTABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.

Similar Messages

  • Enable & Disable Menu option

    Hi,
    How to enable and disable File -> Save menu option for a form.
    Regards,
    --Prasanth                                                                                                                                                                                                       

    Hi again,
    you can forgot the question, I've found the answer in the developer's guide... :-P There is where the list I've mentioned before was placed.
    Thanks anyway.
    Jose.

  • Disabling Menu Options on New Button in Form Library

    In InfoPath form libraries on SharePoint online, I've noticed a new menu that now pops up when clicking the "new" button.
    I do not see a setting in the library to disable this. Is there a setting some place I'm overlooking?
    Thanks!

     The only way to remove them is customization.

  • Disable or Hide Online Support menu option from: Reader, Acrobat Standard and Pro XI 11.0.2

    Hi,
    I'm trying to make a custom installation for 3 applications: Adobe Reader XI 11.0.2, Acrobat Std. and Pro XI 11.0.2  and most of the options that I wanted to hide are done with the Customization Wizard but I can't hide Online Support. I didn't found yet any FeatureLockDown for this option so far. So our users can still use the Online Support options.
    Notice that I tried to drop a script into: C:\Program Files (x86)\Adobe\Reader 11.0\Reader\Javascripts   but when you 1st open the application it has a delay and somehow you still can access it. But if you try to open it again the menu is hidden.
    //HideMenu.js
    //Help - Online Support
    app.hideMenuItem("OnlineSupport");
    But a FeatureLockDown on HKLM hive will be the best way to disable this option as users don't have access to this registry hive and some advanced users with more rights could be able to delete the .js file if they know where it is saved.
    I will appreaciate your help to get this FeatureLockDown option if it exists or an alternative way.
    Thanks as usual and Kind regards everyone.
    Derspinne.

    Moved to Enterprise Deployment (Acrobat and Reader)

  • Disable 'Preprint Tag' menu option in WCT7 for WCD printing

    All,
    We have a requirement for disabling the menu option in WCT7 -
    In the WCD Item Maintenance screen, if we goto
    Menu - Edit->Print->Preprint Tag.
    We want to disable the option 'Preprint Tag'.
    The problem is when user tries to 'Preprint Tag', it prints the WCD and directly moves from ITG to ETG, instead of going to PTG status. Hence user wants this button to be disabled.
    Is there any suitable menu exit or enhancement point for this requirement? Is there any authorization object that can be used? Has anyone worked on this requirement before?
    Any pointers in this direction are appreciated.
    Regards
    Deepthi

    Hello Hubert,
    you don't happen to have a sample or something? I tried to implement the hideMenuItem like it is described in the Acrobat scripting reference, but I still got the 'NotAllowedError'. I really find it confusing because some things of the Acrobat scripting is also working in Designer, others are not. Do you know if there is a documentation about this, like which Acrobat function can be used in Designer, which not, and which Acrobat function is named different in Designer, etc.?
    Regards, Karin

  • Disable Refresh menu option on Page Title Bar

    Hi,
    We have a TLN node that opens an iview in a new window. Therefore nothing is displayed in the portal page. However the Page Title Bar menu still has all the options (Open in New Window, Refresh, Details etc.) and if a user selects Refresh, it throws a portal runtime error (iView not found: .default). How can I disable the menu options for this iview? I have tried setting the Show Refresh etc. parameters to No but it didn't work - I assume because the iview isn't being opened in the portal page.
    Many thanks
    Jane

    hi
    the iview you need to explore is page title bar i view in default framework page available in  portal standard user  directory in portal content.In this context i would like to suggest a solution why don,t you creat a default framework page just copy it in your folder  and open it and disable all checkboxes associated to page title bar and save after that go on to create a deskttop in portal display in system configuration and add your framework page and theme from themes in portal content and then add a rule to the main rule in super administrators  folder which will for role of the user will display onle that desktop.i have illustrated the concept of branding if you want to avoid codeing or command groups which is long approach.hope this helps youplease do not forget to give points
    with regards
    subrato kundu

  • Disable 'Change Password' menu option in Apps 11.5.3?

    I'm looking for a way to disable the "Change Password" menu option (Edit -> Preferences) in Apps 11.5.3?
    Any suggestions?
    Thanks,

    You've got the wrong forum for this question. Please post this to the e-Business Suite forum:
    http://forums.oracle.com/forums/forum.jsp?id=430755
    Thanks,
    Ashesh Parekh
    Oracle9iAS Product Management

  • Menu option "other invoice document" gets disabled in MIR7 while Recording

    Hi All,
    I have one requirement when I have to open the parked invoice document ( MIRO) with MIR7.
    I don't want to record each and every field and pass the bdcdata then with call transaction.
    There is one option in MIR7 when under invoicedocumnet->other invoice document i can pass the invoice document number and the fiscal year.
    I have the document number and the fiscal year as i have already parked the document with MIRO.
    so i thought to record this and call the transaction then.
    Problem: When i open MIR7 to record, the menu option invoicedocumnet->other invoice document  gets disabled. I am not able to record this.
    Is there any solution to this? Any BAPI exists ??
    Otherwise i would have to record each and every field to pass the parked data into it ..
    Thanks in advance
    Regards
    Mudit Batra

    Hi,
    check this:
    program: SAPLMR1M
    include: LMR1MI3U
    MODULE (PAI) FCODE_6100
      IF ok-code = fcook.
        mir4_change = 'X'.
        SET PARAMETER ID: 'RBN' FIELD rbkpv-belnr,
                          'GJR' FIELD rbkpv-gjahr,
                          'RBS' FIELD rbkpv-rbstat,
                          'CHG' FIELD mir4_change.
        IF sy-tcode = tcode_mir4.
          LEAVE TO TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ELSE.
          CALL TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
      SET SCREEN 0. LEAVE SCREEN.
    Best regards.

  • How Can I deactivate CS3 in a machine where the Deactivate menu option is disabled all of the time?

    We have a CS3 license. We lost the cd with the serial number. We want to deactivate the software in an old machine where it was registered to install it in a new machine, but the Deactivate menu option is disabled all of the time. How can we deactivate the software?

    Use Web chat. Link at the bottom of this page:
    Adobe ID, sign in, and account help

  • Disabling Delete Option in Context Menu

    Hi Experts,
    I have created a  KM Navigational iView for a BO Repositry Folder and  used 'BOBJELayout'  Layout set for it.
    Now in comtext menu i am getting all options like view , history , scheduling , Delete etc.
    For administrator it is ok , but  for end user, i want to remove or disable particular options like 'Delete'.
    How to do it ?
    Please help.............
    Regards,
    Ajay Singh

    Hi all,
    Thanks for your support
    problem is solved to some extent .In my scenario working with BO repository , i was unable to to control the context menu
    ( though i didn't try RS suggestion yet) from KM  but it can be controlled from BO itself.
    In context menu Delete option is getting displayed but its not working if user doesn't has sufficient authorization at BO side . So user will not be able to delete any report from his/her login which was the main concern. But How to hide or remove 'Delete'  option
    from Context menu is still a question.
    I am keeping this thread open so that i can revert back with some solution for it or for your's solution.
    Thanks & regards
    Ajay
    Edited by: Ajay Singh on Aug 21, 2009 3:48 PM

  • Is there a way to completely disable tabs (removing all tab related menu options) for firefox 10?

    Is there a way to completely disable tabs (removing all tab related menu options) for firefox 10. I hate tabs and recent changes to the menus make incorrect selection of 'open in new tab' when what I want is 'open in new window' a common and unwelcome occurrence.

    You can hide menu items and move them up / down in the menu with the Menu Editor extension. <br />
    https://addons.mozilla.org/en-US/firefox/addon/710

  • 20.0.1 Update: right-click on page shows ALL menu options, many (all?) don't work, no "view page source", no "open in new tab"

    after update to 20.0.1 a few hours ago, right click shows ALL menu options, many (all?) don't work, like "view page source", "open in new tab" etc. etc.

    I'm having the same issue on Firebug 1.11.3....The "more robust" right click menu does return when I disable the extension. Would you recommend downgrading Firebug to 1.11.2? Hate to have to turn off Firebug "except when I'm working" but either option seems to have both pros/cons.
    This behavior happens on both PC and Mac (although the above information was tested on my PC - I'll have to check the Mac later and see if Firebug is doing the same thing there. I believe I have the most recent Firebug there, too)
    The PC is on Firefox 20.0.1, Mac should be as well.
    Thanks

  • How to hide/disable menu items using Javascript in Acrobat 9 pro or later

    We just wanted to know on how to hide/disable menu items for e.g. 'Open' menu item under 'File' menu in Acrobat 9 or later on Mac using Javascript. It would be useful if you could provide if any other option is in place already.

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • Disable cut option in Indesign CS5.5

    Hi,
    I want to disable CUT option in indesign once document is opened. I have added ActionFilter.cpp in my project and added following code in "FilterAction" function,
    IDocument* myDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();
        if (myDoc)
           switch(actionID->Get())
                   CAlert::WarningAlert("1");
                case kCutActionID:
                case kCopyActionID:
                case kPasteActionID:
                   CAlert::WarningAlert("2");
                    *componentClass = kSampleActionComponentBoss;
                    break;
                default:
                    break;
    But it is failed to disable CUT menu. and even warning alert "1" is not displayed. Am I missing anything in this? please let me know.
    Thanks in advance

    Hi,
    I have solved this issue
    took help of SuppUI sample code of indesign.
    Thank you

  • Activating User Menu option in SAP Easy Access Screen

    Hi,
    Can anyone tell me to activate User Menu in SAP Easy Access screen.
    Menu -> User Menu option is disabled.
    Is there any Profile Paramater to Enable or Disable this menu option?
    Thanks,
    Piyush

    Hey,
    Juan and Ganesh, you both are right. But the roles are already assigned to the users.
    Its not for 1 users, its for all the users.
    We can activate the user menu from Easy Access Screen menu option Menu->User Menu. But this is disables in the Menu->User Menu.
    Hence any user is not able to the the user menu.
    There is a Profile parameter through which we can enable or disable this option. Can you please provide me the name of that parameter.
    Thanks.,
    Piyush

Maybe you are looking for

  • XI idoc-jdbc  scenario in details

    Hi Experts, Please provide me this scenario pn detail. Cheers Aman

  • How can I free some storage in my ipad?

    Hi, I would like to free some space in my iPad. I have deleted some Apps that I was not using. What else can I do? Thanks

  • MacBook doesn't turns into sleep mode and swop doesn't work.

    MacBook doesn't turns into sleep mode and swop doesn't work. Can you help me please. I have a MacBook Pro 8.2. I reinstalled OS X to make swop file working, but it still doesn't work. I reinstalled OS X from Internet recovery. Start time: 10:31:02 03

  • Scheduled Database Scripting

    I have an oracle 10g database and I want to setup a scheduled task on the Windows server that scripts the entire database (including schema, packages, data etc) to a text file. I do not want a database export and backup but a database script. Can you

  • Deprecated Xpath 1.0 functions in 11gR2

    According to this whitepaper: http://www.oracle.com/technetwork/database/features/xmldb/xmlqueryoptimize11gr2-168036.pdf Starting 11gR2, Oracle has deprecated many older proprietary mainly XPath 1.0 based operators in favor of standards based XQuery