Disabling the menu item

Hi there,
I am very new to enhancements.
In the transaction VL02N I want the disable the menu item delete, pls tell me how to do it.
waiting for your reply
Thanx in advance,
Regards,
Parvez.

Hi,
you need to have a userexit for this one, so that you can write the code to Disable the menu items, so first find the user exit for this,
below link will have a program, copy and paste it and exeute it, it will ask the t-code, it will give the user exits for that t-code, http://www.erpgenie.com/abap/code/abap26.htm
so see which one is useful for you. after finding the user exit you need to write the code in that to exclude the menu items
Use excluding option when you call the PF status from your program, to do that declare an internal table and populate the internal table with the fields that have to exclude from the menu and call the PF status using the syntax given below,
data: itab type table of sy-ucomm.
append 'DELE' to itab.
append 'PICK' to itab
set pf-status 'AAA' excluding itab.
Regards
Sudheer

Similar Messages

  • How to disable and hide the menu items of 'copy From' button of Goods Recei

    hi expert,
    I am new in SAP B1. so please help me.
    Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
    Regards
    sanoj

    Hi Sanoj,
    Try This.....
    If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
                Dim oitem As SAPbouiCOM.Item
                oitem = oform.Items.Item("10000330")
                'To Disable the button
                oitem.Enabled = False
                'To hide the button
                'oitem.Visible = False
            End If
    Thanks
    Shafi
    Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM

  • Why does DW disable insert menu items?

    This must be a configuration option someplace, but in general, why would DW disable Insert menu items?
    I am in .cfm file, in clearly an unlocked area of a page where I should be allowed to insert hyper links, email links, horizontal rules, images, tables.  But on the Insert menu, each of those items is disabled (and others, but you get the point).  Since the insert menu items are disabled, the keystroke shortcuts for those actions don't function.
    I can manually type in these tags, and I can insert them from the Insert window.
    I start a brand new .cfm page, and the insert menu is fine.
    It appears DW is examining the code and deciding [INCORRECTLY] what is appropriate to insert via the menu.
    Thanks for any insight provided.

    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    That's plain HTML, not PHP, and DW doesn't do that - really.
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    DW's javascript solves that problem.
    > I fixed the problem flash image with a workarround code
    for the moment:
    *DON'T DO THAT*
    Leave DW's code alone.
    > To get away from all the javascript and other code that
    could be the
    > problem.
    It is not the problem, most likely - but tell us what the
    problem was.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Magooi" <[email protected]> wrote in
    message
    news:edie10$529$[email protected]..
    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    >
    > Hmm, where do I put the href i Flash?
    >
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    >
    > I fixed the problem flash image with a workarround code
    for the moment:
    >
    >
    quote:
    <object type="application/x-shockwave-flash"
    > data="/images/banners/25000.swf" width="438"
    height="280">
    > <param name="movie"
    value="/images/banners/25000.swf">
    > <param name="quality" value="high">
    > </object>
    >
    > To get away from all the javascript and other code that
    could be the
    > problem.
    > My side is a bit complex with PHP/MySQL and many
    javascripts so I think
    > there
    > was a conflict with my admin system using MySQL or
    something.
    >

  • Repainting problems of the Menu items in Oracle Help Navigator

    All,
    I am facing a strange problem when using Oracle Help for my application which is developed in Java,Swings.
    Whenever, I open Help for any component through my application, the menu items in the Help screen are not visible. They are not getting repainted. Only when user drags the mouse over the items, they are getting repainted and visible to the user. This has been raised as a bug by our testing people. I couldn't get any help in aspects of any errors/exceptions being logged when the action takes place.
    Where can I have the log files for Help window?
    Can anyone help me and guide me to the right solution in this regards.
    My environ is like this:
    Windows NT, JRE1.4, Oracle Help - ohj-jewt-4_1_16.jar,
    Thanks in advance for all.
    regards,
    Kishore.

    iweb2 navbar is rendered by javascript widget, therefore you can change navbar font style with javascript; this is an efficient way to change navbar font style.
    Copy and paste the following into your pages using HTML Snippet:
    <script type = 'text/javascript'>
    function changeNavbar() {
    navCSS = parent.document.getElementById('widget0-navbar');
    navCSS.style.fontSize = '0.75em'; // font size, change to less than 1em to change font smaller;
    navCSSbg = parent.document.getElementById('widget0-bg');
    navCSSbg.style.textAlign = 'center'; // navbar list alignment;
    clearInterval(chkNavbar);
    chkNavbar = setInterval('changeNavbar()', 500);
    note: You won't see the changes in iweb, but you will see the change when view the pages online - after publishing.

  • Bug report: Photoshop can't record an action where you insert the menu item "Tile all horizontally".

    I am running CS6 beta on Mac OS 10.7.3
    Photoshop can't record an action where you insert the menu item "Tile all horizontally".
    Expected behavior: add the tile all horizontally action to your actions.
    Behavior: nothing happens.
    This does work for Tile all vertically.

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • How to change the menu item's title in different language master page?

    I have a menu item in my English master page. I can change the titles of the menu items as I like in English related pages, However when I change the titles in the same pages that is related to different language page master, the changes does not take affect. Please  help. 

    you can use different CSS classes given in http://www.oracle.com/technology/tech/blaf/specs/textStandards.html
    --Prasanna                                                                                                                                                                                                                                                       

  • HT201250 where are the menu items in time machine

    Where are the menu items in Time Machine.  When I open the app all I see are stars and my various backups.  Plus Cancel and Restore

    https://discussions.apple.com/docs/DOC-4055

  • How to remove the menu items when remove Add-On

    I have built an SAP B1 add-on. Now when I remove the add-on the exe is still running as a process and the menu items are not removed. How do I take care of them

    hi.
    I am using below code... for killing the exe at process
    but i am not understood menu items.
    what type of menu items..
    once close the b1 where is menu items..
    can u plz explain..
      Private Sub app_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles objApplication.AppEvent
            Try
                Select Case EventType
                    Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        '// terminating the Add On
                        ' oApplication.SetMessage("SAP Business One is Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        'oApplication.SetMessage("Company has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        'oApplication.SetMessage("All Add-on are Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                           Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        ' oApplication.SetMessage("System Language has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        'Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged, SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged, SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition, SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                        '    System.Windows.Forms.Application.Exit()
                End Select
            Catch ex As Exception
                'oApplication.StatusBar.SetText(ex.Message)
            Finally
            End Try

  • How to avoid arrow symbol on the menu items....

    Hi Folks,
    I am beginer in using Dream Weaver, I wanted to create a website,
    I created a menu using Insert Spry Menu option, I don't want to see the arrow symbol on the menu items if there are some submenus. Could you please let me know if we have any option to do that?
    Thanks,

    The arrow symbol is a useful visual signal, but if you do want to get rid of it simply delete the four style rules in the section labelled "Submenu Indication" in the SpryMenuBarHorizontal.css or SpryMenuBarVertical.css style sheet in the SpryAssets folder.

  • The menu item "TV shows" has disappeared

    The menu item “TV shows” has disappeared in the video section of my ipod. I downloaded and watched a TV show earlier and now it’s completely gone (both the show and the menu item). Please help!
      Windows XP  

    Oh my god! It worked! Hallelujah! Thank you!
    Is that normal for menu items to disappear? I wasn’t worried about the specific TV show being gone but it was bugging me that the menu item was gone. Shouldn’t “TV Shows” be listed whether or not there are TV shows downloaded? For example the “video pod casts” & “music videos” still show in the video list even when they are empty. I would expect the same of the TV Shows. Anyway thanks again!!!
    Elaine

  • Can I Disable the Menu at report run time

    Dear All,
    I have windows Environment with Oracle 8i and Report 6i
    Can I Disable the Menu at report run time.
    user not able to generate other formats (HTML,PDF etc) of my report.
    awaiting with advance Thanks

    Hello,
    There are some parameters to disable some "feature" :
    DISABLEFILE
    Description
    DISABLEFILE specifies whether to disable the File->Generate to File menu in the Runtime Previewer.
    Syntax
    [DISABLEFILE=]YES
    Search for disable* in the Reports 6i online help for more details ..
    Regards

  • Spry Menu Bar - Freezing the Menu item in hover when clicking a submenu item

    Hi,
    I am trying to add a feature to a verticle spry menu bar that freezes the menu item or "parent" (to apear to be hovered) when clicking one of the parents sub-menu items. I want to do this so that users can know how they arrived at the page they're on.
    Thanks for your help,
    -Shiva

    To look at your intention in a different way,
    Hover over a submenu item
    Parent item is colored/indicated
    Submenu item is colored/indicated
    Click on the submenu item
    New page opens
    Parent item "remains" colored/indicated on the new page
    There are three or four ways to do this, depending on your site setup, but one basic concept to understand. The emphasis on the Parent menu item is totally independent of whether you got to the new page via the menu or by some other means. The emphasis will always be there, though it will appear to be connected to your clicking on the menu!
    Say you have a menu with two Parent menu items, flowers and trees.
    On the Flowers menu are submenus: Tulips, Roses, and Gardenias, On all three different Flowers pages (Tulips, Roses, Gardenias), the Flowers parent item will be emphasized.
    On the Trees menu are submenus: Oak, Maple, Spruce. On all three different Trees pages (Oak, Maple, Spruce), the Trees parent item will be emphasized.
    If you want to go in to each page individually, you can use a general indicator like id="localemphasis". (To emphasize more than one thing on a page, use a class instead of an id)
    Using this method, on the Tulips, Roses, and Gardenias pages, put id="localemphasis" on the Flowers parent menu item.
    On the Oak, Maple, and Spruce pages, put id="localemphasis" on the Trees parent menu item.
    To control the emphasis from the CSS stylesheet, you won't need to go into each page, but you will ID each parent menu item.
    Give each 'category' (Flowers, Trees) page a body ID to match the category
    Every Flower page wants the Flower parent menu item emphasized, give all three Flower pages a body tag like this: <body id="flowers">
    LIkewise, every Tree page wants the Tree parent menu item emphasized, as <body id="trees">
    Within the menu itself and on ALL pages, give each parent menu item an id to correspond to its category
    <li id="flowers_m">Flowers</li>
    <li id="trees_m">Trees</li>
              I have added a "_m" to remind myself that it is the menu item's id. You might need to put the id on the <a> link if you have not used a list for your menu.
    In your CSS stylesheet,
         #flowers #flowers_m,
         #trees #trees_m  {background-color: red; color: white;}
    Please use your own code! White on red might not be your cup of tea...use the same styling as the "hover" styling you mention in your query.
    To interpret what we have just done, we have said
         make the background-color red and the text white
    for the parent menu item Flowers (id="flowers_m") when you are on a Flowers page (body id="flowers")
    and for the parent item Trees (id="trees_m") when you are on a Trees page (body id="trees").
    This emphasis is good feedback for your user...remember that for SEO purposes, you will also want to use actual HTML text to reinforce the page environment, that is, h1 titles like FLOWERS and TREES. That will provide more feedback for your user.
    Beth

  • Issue with Disabling one of the menu item in Forms6i

    Hi,
    I have a requirement where I need to disable the IR/PO Information (menu item) created using Form Personalization in Sales Order form.
    If the Warehouse is other than ‘FIM’ it should be disabled for that particular line.
    Please let me know if anybody has done the similare requirement???
    Regards,
    Bala

    Bala,
    I can suggest one work around.
    Say your menu entry is special1.
    You probably already have a personalization that fires for trigger event = special1.
    You can add a condition in that personalization that says warehouse=FIM.
    This way, the PO information screen will come up only for FIM.
    You can consider creating a new personalization that fires for same trigger event = special1.
    The condition says warehouse != FIM
    In the actions, you can say "This menu option is not available"
    Hope this helps,
    Sandeep Gandhi

  • Disabling certain menu items

    Hello all,
    Is there a way in SAP B1 (some permission, maybe) to disable the "User-Defined Fields" menu item, so that a certain user would not be able to view them?
    Thanks in advance,
    Anton

    hi,
    It's not possible to disable View -->User defined Fields.
    If ur goal is block access to user defined fields to a user,then
    create additional authorization to restrict user defined field form settings(FormID - 38),
    this way u can block user from creating UDF's & also form settings of it.Before applying authorization detick all udf's visible & active,this way u can block
    only header level user defined fields,eventhough u can access
    View -->User defined Fields,but u can't view user defined fields of header level.
    To restrict row level user defined fields,make the
    required fields in the form as visible & active,detick udf's.
    General Authorization --> User(Left pane) --> General --> Document Settings --> No Authorization.
    I have tested it,it's working.
    Hope this will solve problem.
    Edited by: Jeyakanthan A on May 15, 2009 3:47 PM

  • Disabling the Menu Optionin Reports

    Hi there,
    I am trying to restrict user on certaint menu options, Like i don't want user to be able to print the report or copy any part of the report. The format that i use to run the report is PDF. Can any body tell me how to Disable certaint menu options, while the report is run and opened???
    Thanks.
    Mohib.ur.Rehman

    Try placing your set_menu_item_property stmnt in the WHEN-BUTTON-PRESSED trigger either on the block which holds the button item 'Add Record' or the item itself. Additionally you may have to issue the go block stmnt. GO_BLOCK(<whichever block you want to navigate to>);
    Hope this is useful. Thanks
    Udai

Maybe you are looking for

  • Rule on LOP for 30 days

    Dear Team,    I havea requirement, where LOP is calculated on 30 days basis.    If an employee is taking LOP in month of march.   then LOP calculation should be ( amount / 30 ) * (30 - Lop days).   this I am able to acheive.. and it is working fine.

  • I have a WRT54g question

    I want to know what is the best firmware for my router? I use utorrent and limewire alot. I already know about, that your router can hang when using and p2p software since it stores connection information, which p2p programs does alot. My pc connects

  • Percentage in Pages

    I'm stuck!! I'm not a maths person so when it comes to formula and spreadsheets I'm lost What I have is a table, one column. There are 6 cells with currency amounts in. Before the total I want to take that sum of cells and find the 23% of it's total

  • No show message in monitor for processed XML messages

    Hi, I get the document 'VALIDANTING A CONNECTION BETWEEN SAP R/3 AND SAP XI WITH RFC' and following the steps until step 9 it's ok but I can execute the step 10 I get 2 problem: First Problem - I dont know where see the ABAP code STFC_CONNECTION, How

  • Pipeline Performance filter on transaction type?

    Dear all, We are currently working at one of our customers on a CRM 2007 (6.0) and I had two questions regarding Pipeline performance. 1) If you define 2 different opportunity types, is there a way that you can filter the pipeline performance so that