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

Similar Messages

  • SRM validate the Catalog Item when copying from old templates

    Do SRM validate the Catalog Item when copying from old templates and previous shopping carts? Is this standard functionality?
    Thanks,
    Rajan

    Continuation to my previous post:
    My findings based on the analysis I did. Might help people who are looking for similar info.
    As Jason mentioned, the Subroutine name is CATALOG_CONTENT_VALIDATE_GET
    This is under package BBP_SC --> Function Group: BBP_SC_APP
    After making a webservice call to get catalog details, the mapping is done as below.
      IF sy-subrc EQ 0.
        READ TABLE lt_enriched_item INDEX 1.
        IF sy-subrc EQ 0.
          ls_item_validate-price      = lt_enriched_item-price.
          ls_item_validate-currency   = lt_enriched_item-currency.
          ls_item_validate-price_unit = lt_enriched_item-price_unit.
          ls_item_validate-deliv_date = lt_enriched_item-deliv_date.
          ls_item_validate-leadtime   = lt_enriched_item-leadtime.
          ls_item_validate-unit       = lt_enriched_item-unit.
        ELSE.
          lv_validate_item_exception = gc_yes.
        ENDIF.
      ELSE.
        lv_validate_item_exception = gc_yes.
      ENDIF.
    If you go one level deeper into subroutine  PERFORM sc_itm_copy_to_basket, you can see that following validations are performed.
    If EITHER price, currency or price unit changes, we get the message u201C&: Price changed due to catalog validationu201D
    If UOM changes, we get the message u201C&: Unit of measure changed in catalog; item not transferredu201D
    When Delivery date or lead time changes, no message is raised but the new values are copied.
    In a nut shell, the fields that are considered for validation are Price, Currency, Price Unit, UOM, Delivery date, Lead Time.
    Thanks,
    Seyed

  • 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

  • How to disable (or) Hide the UDF Field in the Row level through Query

    Hi suda,
    thanks for your reply. i also want to know the formatted search query for the UDF present in the row level, i want to hide that also.so pls msg me the query.
    i have written as N$[item.column.row] but it is not working,so keep me posted if your query that works well.
    Regards
    Magesh.

    Magesh,
    I just saw your other messages...
    Go to Tools > User defined fields > Manage User Fields   --  Under Marketing Documents > Rows  check the field name here.
    Then go the Form itself and Click on Form Settings Icon or Click CTRLSHIFTS or Tools > Form Settings and from the Table format Tab make your changes..
    Good luck
    Suda

  • How to show and hid the elments in WSDL using wscompile

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

    Hi Folks,
    I have web service interfce
    public interface DataObjectProcess extends Remote
    DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
    my DataObject is like this
    public class DataObject implements java.io.Serializable
    pivate Integer commandKey;
    private File outputFile;
    public DataObject(){}
    public void setCommandKey(Integer aKey)
    commandKey = aKey;
    public Integer getCommandKey()
    return commandKey;
    public void setOutputFile(File aFile)
    outputFile = aFile;
    public File getOutputFile()
    return outputFile;
    I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
    For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
    Edgy

  • When I maximize my screen on my Mac it hides the menu bar and the typed tool bar at the top of the screen - how do i fix this

    When I maximize the screen on my Mac Book Pro it hides the menu bar and the typed tool bar at the top of the screen as well.  How do I undo this?

    10.7 "Full Screen" is a feature imported from IOS, the land of tiny screens.
    To use a larger window on a REAL computer, adjust the Window's size to suit your needs. Do not use "Full Screen".

  • How to hide the menu bar and Dock

    Howto hide the menu bar and Dock on Mac, I found a tutorial that addfunctions esto info.plist this
    <key> LSUIPresentationMode </ key>
    <integer> 4 </ integer>
    But does not work  which you know another way to do this?

    I have played with 'LSUIPresentationMode' in the past - I may be wrong but I think a value of "1" (and "2" for that matter) only really works in combination with 'LSUIElement' set to a string value of "1". The 'LSUIElement' property of course does away with the application's own menu items so isn't ideal for most applications and since you mentioned using "1" instead of "4", I assume you want your menu items visible all the time.

  • 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

  • How to uncover and use the hidden Service menu on the Galaxy S3

    I ran across this article over at Android Central that appeared interesting, there appears to be a diagnostic menu built into the S3 software to test the hardware for defects, this may be a useful item for any users that feel that they have a defective device...   Check out the article at How to uncover and use the hidden Service menu on the Galaxy S3

    That's good to know that such options exist in phones.

  • 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 do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them.

    How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them before updating.

    Thanks. This seems to have worked easily.

  • The user acct my apple was connected to no longer works (corrupt).  My Apple TV is still synced to that account and all of my recent purchases are going to that username.  Does anyone know how to get all of the purchased items back and to the new user?

    The user profile my appleTV was synced on my computer to no longer works (corrupt).  My Apple TV is still synced to that profile and all of my recent purchases are going to that username.  Does anyone know how to get all of the purchased items back and to the new user (same computer)?  I created a new user on my computer and moved the itunes folder to the desktop but never changed the path to which the apple synced to.  Now I can only see old items I purchased before the user profile went bad.  PLease help!

    Welcome to the Apple Community.
    Changing the library the Apple TV is synced with will delete all synced content from the Apple TV, but it won't delete purchased content.
    You should be able to change the library, resync any content you want and transfer your purchases back to the new library.

  • HT201269 I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    Hello whytea4
    Check out the articles below and choose the one for your computer to sync media and apps to your iPhone.
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12313
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How to hide the menu bar from a Transaction iView (SAP GUI for HTML).

    Hello all,
    I have created a simple SAP Transaction iView of type SAP GUI for HTML.  This iView has the Menu bar that has the buttons: Menu, Back, Cancel, and System.  My requirement is, I dont want to see the menu bar that has these buttons.  How do I go about it?  Please advice.
    Note:  My iView is a SAP Transaction iView and not IAC service related iView. 
    Thanks
    Vicky R.

    You'll want to set the parameter ~webgui_simple_toolbar in your webgui service.
    It is a binary parameter with the following values/options:
    0  : Hiding the page header completely (not recommended)
    1  : Standard setting
                        This is the recommended standard setting in which the title and the menu bar below it with the [Exit] and [Help] button and the application buttons are displayed.
    2  : Displaying the title line
    4  : Displaying the buttons [Exit] and [Help]
    8  : Displaying the active system buttons on the screen ([Back] and [Cancel])
    16  : Displaying the system menu
    32  : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)

  • HT201401 cannot open the menu and cannot even turn it off, the white apple image is displayed on the screen. how can i get into the menu?

    cannot open the menu and cannot even turn it off, the white apple image is displayed on the screen. how can i get into the menu?

    Hold down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple logo appears - ignore the red slider.

Maybe you are looking for