Is it possible to disable a button in the Headstart 6i Toolbar/smartbar?

In a master/detail form, which I'm developing, I want to disable
the Create Record button in the Toolbar the moment I enter the
detail block.
I've tried using QMS$TOOLBAR.DISABLE_BUTTON in the WHEN-NEW-
BLOCK-INSTANCE, but that wouldn't work.
I'm using Headstart 6i.
Can somebody tell me if it's possible to disable the buttons and
if so, how?
Regards,
Ivo Hensgens

Yes, you can disable a button on teh smartbar.
You do this by disabling the associated menu item.
Use: QMS$MENU.DISABLE_ITEM or QMS$FORM_FUNCTION.DISABLE.
(See page 14-9 en 14-10 of the User Guide)
In your case you can use:
QMS$FORM_FUNCTION.DISABLE('CREATE_RECORD');
By the way: there is now a seperate forum for Headstart.

Similar Messages

  • How does one disable a button in the web UI?

    How does one disable a button in the web UI? I am trying to disable the edit button in the web UI for Accounts. What are the steps to take in order to accomplish that?

    Hi Abdul,
    Locate the Toolbar group group for that application. It should be ACC_OIC01 in your case. You can deactivate a specific button (event) under the toolbar group.
    Regards,
    J.Prabananth

  • Disable a button of the include page

    I am trying to disable a button on the include page using javascript's document.form.button.disable=true function. It works fine if I see just the include page in the browser but if I see the whole jsp page along with the include page, the button is not disabled. Can anyone help me here.
    Thanks in advance,
    snd

    The reason for this is due to the fact that the include page behaves like a component when the main page is loaded. This makes the attributes of the include page available to the main page, but restrictions are imposed on the realization of conditions applied on the include page when the main page is loaded. This results in the button becoming enabled.
    Suggest reworking on the logic or to handle the button in JSP itself.

  • Is it possible to deactivate a button on the application toolbar?

    Hello everybody!
    Is it possible to deactivate a button on the application toolbar from standard transaction like PA40?
    I'd want to do it using an user-exit.
    Thanks in advance.
    Cristian

    there is a push button on the std tool bar of pf-status 'Function code'.using that u can activate and deactivate teh function codes
    or
    Check this FM : RS_SET_SELSCREEN_STATUS
    sample code :
    DATA: BEGIN OF i_exc OCCURS 0,
    code LIKE sy-ucomm,
    END OF i_exc.
    DATA: ws_repid like sy-repid.
    CLEAR i_exc.
    i_exc-code = 'ONLI'.
    APPEND i_exc.
    MOVE: sy-repid TO ws_repid .
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
    p_status = ' '
    p_program = ws_repid
    TABLES
    p_exclude = i_exc.

  • How to disable a BUTTON on the form?

    Hello
    I am trying to disable my_button (regular) by usinf this.disabled = true by seeing in google, but, its not working!
    Pls. let me know how to either disabel a button or invisible/hide a button, syntax pls. with syntax errors pls.
    Thank you

    To disable a button try the below script.
    this.access = "readOnly";
    To make it hidden or invisible try the below script.
    this.presence = "invisible";
    this.presence = "hidden";
    Thanks,
    Aravind

  • How to disable maximize button of the java.awt.Window ????

    How to disable maximize button of the java.awt.Window !!!!
    Help needed

    How to spam the forum with the same fuqin question. Please get lost.

  • Click the Convert button in the Adobe PDF toolbar?

    Windows 7 Pro - 64
    Just installed Acrobat as tool for converting HTML pages to PDF.
    Adobe says to open HTML page in Chrome then "Click the Convert button in the Adobe PDF toolbar" to make this happen.
    How do you get the the toolbar into Chrome please?

    Hi ,
    Could you please explain what toolbar are you referring to and why do you need that toolbar ?
    Do you just want to convert the PDF or perform some more tasks as well ?
    You can refer the following link on how to convert a HTML file to PDF .
    It also has an attached video to get more information about conversion of HTML files to PDF . Please have a look and see if that helps you .
    Acrobat Help | Converting web pages to PDF
    Regards
    Sukrit Dhingra

  • Is it possible and legal  to disable home button and the screenshot feature in an ipad app?

    I am being asked to develop an iPad app that can't be closed until some actions are done, also it must prevent the use of screenshot feature and the home button. Is this possible? Is this legal? In case of this not being legal what would happen (in legal terms) if I do develop it?

    It's impossible to develop an iPad app that can't be closed until some actions are done.  The iPad programmer cannot override what happens when the user presses the 'Home' button.  The 'Home' button will always tell the front application to go to the background, and if that application doesn't cooperate within a reasonable time it will be terminated.
    Bear in mind that an iPad is an overgrown iPhone.  It's always possible that someone will phone you up when you're running an app, and the app must release control and let you answer that phonecall.
    I suggest you discuss the design philosophy with whoever wants the application, remembering that computers are meant to help us do what we want to do, not boss us about.

  • Air Mobile iOs: TextField - Possible to disable 'clear button'?

    Hi,
    I have got a flash.text.TextField in my new iOs application.
    As soon as I focus the text field, that iOs typical grey 'clear button' appears to the right of the text field.
    Is there any possibility to prevent that button from appearing? I want to use customized clear buttons at that point.
    What I've already tried and what did not work:
    - Adding a mask to the textfield: The mask works fine for the TextField, but the clear button shows up on top anyway
    Thanks.

    try increasing the length of the text field, i.e forcing the clear button out of the view

  • Can we disable cancel button in the File download

    Hi Experts,
    Working in jdev 11.1.1.30.
    Can we disable cancel button while trying to download file. and by default file will open with out click on open file, is thes possible?
    Edited by: user5802014 on Aug 17, 2010 9:15 AM

    Hi Kamal,
    how to disable “Cancel and keep workitem in Inbox” button in the user decision.
    As far as i know this is not possible. Just recollected reading this [old thread.|http://mailman.mit.edu/pipermail/sap-wug/2004-September/014240.html]
    then the work item is regenerated for him alone.
    Again this is a standard behaviour, as soon as the workitem is executed by one of the responsible agents it is reserved for that person so that no one can perform any action on it unless the first person replaces it intentionally. Yes, it would have been a better option to have it replaced automatically on pressing "Cancel and keep the workitem in inbox" but this is the way the design is. It is the responsibility of the agent to replace it manually (using "Replace" button) after performing any action on the workitem including pressing "Cancel" button. You may need to take care of this in the user training.
    Additionally you can also schedule a report (may be once a day in the midnight) which can check for the reserved workitems and replace all of them using "SAP_WAPI_PUT_BACK_WORKITEM". This would make sure that the workitems are replaced to all users even if the user has accidentally forgot to replace the workitem. Again in this case the user cannot "Reserve" a workitem even if he/she wants to (as your scheduled report would replace it in the midnight).
    Thanks,
    Prasath N
    Edited by: Prasath Natesan on Dec 26, 2007 5:56 PM
    changed "Replace manually" button to "Replace" button

  • How can i disable a button in the application tool bar of a standard trans?

    Hi Experts,
       I want to disable the create button in the application tool bar of the standard transaction cv03n. Is there any method?

    Hi,
    In the include 'LCV110F19', the GUI is being called for the screen.
    This is the actual code being called.
    WHEN c_dms_create.
          SET PF-STATUS 'D100CREATE'.
          SET TITLEBAR  'D100CREATE'.
    You can try to code something like below.
    DATA: itab TYPE TABLE OF sy-ucomm.
    APPEND 'CREATE' TO itab.
    SET PF-STATUS 'D100CREATE' EXCLUDING itab.
    Kindly reward points by clikcing the star on the left of reply,if it helps.

  • Is it possible to add a button into the spliter area of a JSplitPane?

    I want to have a button in the spliter area of the JSplitPane. the purpose is to add an item from the upper component to the lower component. is it possible to do it in this way?

    the above link requires to register using $$$ before u can view the code, so poor me didn't go. but anyway, i worked out how to do this in the easiest way:
    JSplitPane mySplitPane = new JSplitPane();
    BasicSplitPaneDivider divider = ((BasicSplitPaneUI)mySplitPane.getUI()).getDivider();
    divider.setLayout(new FlowLayout());
    divider.add(new JButton("haha"));then u can try to show() this split pane in any frame or panel. just get the divider obeject then modify it in any manner u like.

  • Is it possible to add a button to the right-click context menu for a user in Outlook 2010 using VBA?

    I've tried many things and read up quite a bit but I cannot figure this out.
    I cannot create an add-in so I have to use VBA.
    I want to add a a button to the right-click context menu when I right-click on a user. Is this possible?

    Hello,
    Yes, it is possible to customize the context menu in Outlook. See
    Customizing Context Menus in Office 2010 for more information.
    But VBA doesn't allow to customize the Fluent UI in Outlook, you need to develop an add-in instead.

  • Disable Save Button in the Interactive PDF form

    Hi Experts,
        I have created an interactive form using NWDS and I am able to show it as Collable Object. Now the requirement is that I have to disable the save button from the PDF.
    Can you please let me know how to disable the Save Button for the interactive form?
    Thanks in Advance
    Regards,
    Kuldeep Verma

    Hi Kuldip,
    if you're trying to hide the Save Button in the Adobe toolbar, then you can place the following code in the wdDoModifyView method to hide the whole toolbar.
    // Get interactibe form handler.
            IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(), "<name of your form>");
    //     Get appearance setter. 
          IWDPDFDocumentAppearance appearance = iFormHandler.getDocumentContext().getAppearance();
         // Hide menu bar.
         appearance.hideMenuBar(true); 
         // Hide tool bars.
         appearance.hideToolBars(true);
    hope this helps,
    harman

  • How to disabling a button in the form?

    Hi All,
    Based on our requirement we need disabling a button in a form depends on the value of another item in same form itself. I was searched through forum but i didn't get the suitable answer for this. Please help me if anybody know the solution.
    Thanks in Advance...
    Regards,
    Neel

    Hi Neel,
    You could set the conditional display of the button based on a Plsql function returning a boolean.
    Something along the lines of:
    IF :P1_ITEM = 'Some Value' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    This will not display the button at all unless the P1_ITEM is equal to the value that you want.
    This is the simplest form that will get you going. If you want to "grey out" the button to leave it visible but disabled then you would need to investigate this a little further. I have seen some other threads that would probably help you out here but am no exert on javascript so just have a poke around.
    Hope this helps,
    Mike C

Maybe you are looking for

  • Process Chain and e-mail configuration

    We have configured a process chain e-mail message recipient by keying in the full recipient e-mail address in the message screen.  This works successfully. However, we would prefer to use the SAP User ID in the process chain message configuration. (T

  • Best shortcuts for Expose etc.

    In quite un-Apple-like fashion, the shortcuts for Expose/Dashboard that comes as default on Leopard simply does not work because you end up adjusting the volume or brightness instead. I've tried combinations of function keys + option/cmd etc. but tha

  • Spark datagrid that shows the new  value and that it previously was

    Im trying to create a item renderer for a spark datagrid that shows the new  value and that it previously was and I am comparing in the set data, the problem I am having is that in teh set data I am frequently getting data from other rows (I know thi

  • Where do I find symbols to use in correspondence

    where do I find symbols on firefox i.e." umlaut" etc.

  • Avoid so.ko.1 at all costs.

    Scammer, passing on viruses, I believe it's a call that says "URGENT NOTICE - URGENT HELP" upon calling. Accepting the call does no harm, visiting the website is a definite virus. I do not know the website, nor do I even want to, but it's a robotic v