How to deactivate the standard toolbar 'print' button

Dear Expert,
I want to deactivate the standard toolbar print's button in the smartform print preview screen.
Could you explain and give me some sample code ?  Thanks !

For details of how to restore it, see the [[menu bar is missing]] article.

Similar Messages

  • How to restore the Standard Toolbar,that I deleted by mistake?

    I was trying to remove some toolbars, by accident I removed the standard toolbar(view,edit,etc) I can not bring it back, what can I do?
    Thanks.

    For details of how to restore it, see the [[menu bar is missing]] article.

  • Handling the Standard Toolbar Button click of an ALV

    Hi Experts,
    I have created an ALV grid output using CL_GUI_ALV_GRID with standard buttons(default) on the toolbar. When I click on any of these standard buttons, say '+' button to insert records, my custom program is not hit.
    I know there is a protected event 'TOOLBAR_BUTTON_CLICK' which I tried to handle in my program but it did not work. However, I am able to handle the public event 'DOUBLE_CLICK' of the same class 'CL_GUI_ALV_GRID'.
    So..can anyone tell how to handle this protected event OR how to handle the STANDARD buttons on ALV toolbar so that they hit my custome code.
    Thanks very much.
    Regards,
    Rudresh

    Hello Rudresh
    The point is to "re-define" the standard ok-codes of toolbar buttons:
    " Make toolbar interactive
    CALL METHO go_grid->set_toolbar_interactive( ).  " raises event TOOLBAR
    " Event handler method
    METHOD handle_toolbar.
    * define local data
      DATA: ls_button    TYPE stb_button.
    " Redefine function code
      LOOP AT e_object->mt_toolbar INTO ls_button
                      WHERE ( function = cl_gui_alv_grid=>MC_FC_LOC_INSERT_ROW ).
        ls_button-function = 'MY_FCODE'.  " triggers USER_COMMAND
        MODIFY e_object->mt_toolbar FROM ls_button INDEX syst-tabix.
      ENDLOOP.
    ENDMETHOD.
    Regards
      Uwe

  • Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Hello,
    this topic is still a problem for me, does anybody have an idea.
    Just to show what's my problem:
    Collective Search help KRED does include a SAP append-search help ASH_KRED which holds the elementary search helps KREDC, KREDE, KREDM, KREDW.
    The search helps KREDE, KREDM, KREDW should not be displayed, so I added another Serach-Help-Append ZKRED_CUST at the end of CSH KRED which holds these 3 SH's with the hidden flag.
    That works, the SH's are not shown anymore.
    I also added some other of the Original SAP SH's (e.g. KREDA) with the hidden flag and added changed copies of these (e.g ZKREDA) there to be shown instead.
    All this can be done modification free by appends.
    The folders of the elementary search helps are shown in the order as they are found included in the KRED SH and the append to this SH.
    This means that the not hidden Sh KREDC from ASH_KRED is shown before all the "custimized" ZKREDx -SH's. But we need this SH not very often, so that I want it to displayed al the right-most position of the folders of SH's or at the most down postition of the drop-down-selection of SH's.
    But I have not found any way to do this modification free.
    The only way to archive this is to modify ASH_KRED by setting the Hidden-Flag for KREDC and add this SH at the end of append-SH ZKRED_CUST again.
    But I want avoid this modification.
    So, is there any way to do this without modifing any of the original SAP SH's ?
    Helmut Fischer

  • MODIFYING THE STANDARD TOOLBAR

    HI,
    How can I modify the standard toolbar buttons? is this contained in the mmb or a different file?
    thanks

    Hello,
    <p>Download the corresponding .mmb files:<br>
    menudef.mmb<br>
    menudefs.mmb<br>
    Then you can open them in the menu editor and apply the changes needed.</p>
    Francois

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

  • How to modify the standard script in scripts?

    how to modify the standard script in scripts?

    Nagaraju,
    Standard scripts cant be modified.
    Only thing is you need to copy it to z-form and have to do modifications as per ur requirements.
    Here is the procedure to copy standard form to z-form.
    goto SE71 t-code, then select the menu path : <b>Utilities -> Copy from Client</b>
    then it will take to another screen, give the form name as Standard form name, if u r copying a stadard invoice means, type RVINVOICE01 and target form, ZRVINVOICE01. Now press execute button, it will copy the form into 25 languages. Now come back to se71, enter Z-form name and do the required changes.
    Hope this hint may help you, Pls close the thread if u met with correct answer.
    Regards,
    Sujatha.

  • How to deactivate the "left top corner SAP menu" for a particular screen

    Hello Friends..
    We have a requirement to implement a "Non Disclosure Agreement(NDA)" for one of our SAP systems. NDA screen will have 2 buttons, "I agree" and "I disagree" which pops up when you log in to the system(after filling up our user id and password and hit enter). If we click on "I agree", it will allow you to continue with the log in and takes you to sap easy access screen. If we click on "I disagree", then session will be terminated.
    But, the NDA window which is being popped up is also a SAP screen which has SAP menu on top left corner. Without clicking on "I agree" or "I disagree" and if we try to select "Create session" option in SAP menu on top left corner, then it is taking us inside SAP(sap easy access screen) by bypassing the buttons.
    Request your help on how to deactivate the "left top corner SAP menu" for this particular NDA screen. (SAP menu to be available with other screens and it should not be available just for the window which is being popped up after log in and before SAP easy access)
    Many Thanks in advance..
    Vinay

    Hi Vinay,
    Try this if it works -
    in your first screen for the NDA screen, on the memnu bar select - EXTRAS - SETTINGS - Select the check box 'Do not display menu, only display favourites'.
    on calling the next screen , disable this option in the PBO of the screen.
    Try and let me know if it works.
    Thanks & Regards, Swapnil Mishra

  • Hide Toolbar Print Button

    I'd like to hide the toolbar print button from the user to force the user to use the forms print button which is used to validate input. I've found this peice of code.
    app.hideToolbarButton("Print");
    I've added this code in the print buttons click event. But it doesn't hide the print button in the Adobe Reader or when viewed with IE.
    1) Is that the right code?
    2) I'd like to add this to the forms ready or layout ready events but can't seem to determine where the script can be added for these two events. Where is that done at?
    If there's a better technique for validating form feilds without nagging the user everytime they tab off a field but insuring the form is validated before printing or saving I'm open to suggestions, :-).

    This won't work in a web browser or a standalone client unless you are running a trustedFunction which resides on the local machine within a Folder Level JavaScript.
    Rocky

  • Is list of custom headers and footers. I can't find how to change the footer to print the Long Date

    '''There should be a list of custom headers and footers.''' I can't find how to change the footer to print the '''Long Date'''. It took awhile just to find Page &PT. So I would appreciate if someone could post a list. Also if someone can answer how to print the Long Date.
    Thank you

    When you're on a call, use the volume buttons on the left side of the device.  This will then adjust the In-Call Volume.

  • My computer was stolen! How to deactivate the old installation?

    Hey, I need to use my serial number o install the CS6 on the new computer (Mac), because the old one was stolen. How to deactivate the old installation.

    Hello!Thank you for your answer, but still I can not connect with anyone who can help me. Chat is not working, I tried for the past three days. I bought this program together with educational kurs and now I need it to do my study. Could you help me please to activate Adobe Creative Suite 6 on my new computer?With best wishes,Tania.
         Jeff A Wright <[email protected]> schrieb am 20:26 Dienstag, 16.Dezember 2014:
    |
    My computer was stolen! How to deactivate the old installation?
    Jeff A Wright marked hans-g.'s reply on My computer was stolen! How to deactivate the old installation? as helpful. View the full replyMarked as helpful:Hello Tania, please have a look there: http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html >>> Deactivation or sign-out problems >>>I cannot access my previous computer >>> I quote: "... Ask Adobe Support to help you deactivate from a machine you cannot access. .... Have your serial number or Adobe ID ready, and then contact us." See Contact Customer Care  >>> click through and if "open" please use the chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help. Hans-Günter
    Following My computer was stolen! How to deactivate the old installation? in these streams: Inbox
    |

  • How to find the standard smartform,sap scripts and theur driver programs

    Hi friends,
    can any one tell me how to find the standard smartforms and their driver programs and same for scripts also.
    bye
    sasi

    Hi sasidhar,
    1. Either standard or Y sapscript layouts,
       we can check their standard programs
       in this manner also.
    2. goto se71
       open the layout in DISPLAY mode.
    3.  FORM------> CHECK -
    > TEXTS
    4.  a small window will come.
        click ok (tick button)
    5. Again a new window will come
      which will list out all the DRIVER programs,
      which use this layout.
    regards,
    amit m.

  • How to remove the app-toolbar from projects?

    hi all.
    i know there was somewhere a tutorial-part on how to make the app-toolbar invisible in the layout, but i can't find it anymore.
    i mean the toolbar with
    edit application : edit page X : new : session : debug : show edit-links
    thanks for hint!

    Joshua,
    You only see the toolbar when you are logged into a workspace as a developer. You don't really have to remove it for end users. Try this: make sure you're not logged into a workspace and run your app directly:
    http://<host>:<port/pls/DAD/f?p=<your app ID>:<page ID>
    Sergio

  • How to deactivate the marketting attributes for BP in CRM

    Hi,
    how to deactivate the marketting attributes for BP in CRM
    I can add and maintain the same using tcode crmd_prof_char
    But how do I deactivate.
    Points will be rewarded
    Thanks

    .

  • How to Enhance the Standard Report?

    Hi All,
    How to Enhance the Standard Report? :
    When I am trying to execute the query called ZTIMES in the user group SQ01 it is navigating the screen to selection-screen with some inputs to be given here on the selection screen company code is mandatory as an input. The company code field is having the search help and it is fetching the values for the company code from table called PROJ  Table (Project definition Table).But I want the company code should fetch the value from the  PRPS Table ( Work break structure(WBS Element) Level).
    Tables used are PROJ and PRPS.
    The company code in PROJ is PROJ-VBUKR
                                    In PRPS is PRPS-PBUKR
    In the coding part related to that selection screen I have to replace PROJ-VBUKR with
    PRPS-PBUKR.But it is standard report to enhance.
    What is suggestible solution for this issue?
    Thanks,
    M Raju

    Hi,
    Since this is an ABAP Query, You can change the infoset query in SQ02 and establish the join linkages between PROJ and PRPS
    Also on the selection screen of the Query make sure you provide company code from PRPS table and report output also from the same table reference.
    Once you have modified the ABAP Query, activate and generate it so that it will internally regenerate the a standard program.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm
    ABAP Query (Sq01)Modification
    Hope this helps
    Regards,
    Shiva

Maybe you are looking for