Is it possible to add the exit command to a button in ALV OO toolbar

Hi ABAP folks,
is there are a way to add the exit command to a button of an ALV toolbar (like in the GUI status)?
I want to prevent the field validations of a dynpro field at PAI.
Thanks and regards,
Martin

Manage the event [TOOLBAR|http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e07dd52611d2b468006094192fe3/frameset.htm] of CL_GUI_ALV_GRID.
This event is triggered by the ALV each time the toolbar of the control needs to be regenerated. To add self-defined functions to the toolbar, you trigger the event using method set_toolbar_interactive and write an event handler method ( see also: Defining GUI Elements in the Toolbar).
Look at demo BCALV_GRID_05.
Regards,
Raymond

Similar Messages

  • Is it possible to add the date to the notifications center?

    im using the new iphone 5 and was wondering if its possible to add the date to the notification center?  i know the date shows up when you have an event scheduled.

    The photo in the calendar replaces the date. You can ctrl-click the photo and add a caption to show the day number.
    Clicking the disclosure triangle to the right of the caption will show a panel where you can edit the font (all this tested in iPhoto 9.5.1), but it does look funny, you'd be better off by not adding the day number:

  • Is it possible to add the games that are on my childrens iphones to the imac?

    is it possible to add the games that are on my childrens iphones to the imac?  I downloaded all of them from the Apps store.  Is it because they need a touch screen for most of these game and therfore will not convey?

    coolerforme wrote:
    ... Is it because they need a touch screen for most of these game and therfore will not convey?
    No, the reason is that iOS and OS X are completely different operating systems. Apps written for one will not work for the other.

  • Is It Possible to add the Actual Quicktime player to a page?

    Does anyone know if it is possible to add the actual quicktime player that you see on your desktop to a page? I want to add a Quicktime movie to a page and still end up with the whole controller not just the little control bar.

    Kyn's response is also your answer.
    To open the QuickTime Player (instead of playing your file in a browser window) is a feature of iWeb that is "missing". Maybe next version?
    I use the special html "tags" in many of my .Mac hosted Web pages:
    http://homepage.mac.com/kkirkster/04war/
    As an example.
    You need to edit the iWeb created page code after publishing to do this work. It may be more work than you've planned because it does require a lot of "hand coding" to your "Published" HTML page code. And, because iWeb also uses special javascripts (.js files) to showcase your QuickTime file, you'll need to hand edit them also.
    There is some freeware software (PAGEot) that can help a bit with the page coding. A Google search for it is easy.
    Editing "published" pages is not for the faint of heart and may be necessary each time your iWeb site is updated.
    Does this answer your personal email to me?
    We can show you the steps when you're ready to implement them.

  • I am wondering if it is possible to add the greek language in the spelling tool

    I am wondering if it is possible to add the greek language in the spelling tool of iPages
    Thank you in advance

    Mac OS X uses the OpenOffice spell modules, so download the spell dic from OO site, you will get a file of the type name.oxt, change extension to .zip, confirm, then move the Library/spelling the two files named .aff and .dic. Then, go to Pages or any other cocoa app (TextEdit etc.) and choose Greek as spell language. See attachment.

  • Mac shuts down if I do not keep either the Fn, Command or control button held down ?

    Hi. I have a mac book pro late 2011 model. I am running Mavericks but but I have a problem where my mac shuts down if I do not keep either the Fn, Command or control button held down. Also if/when this shut down happens I need to hold the shift-control-option keys to restart the mac.
    Anybody got any advice for me ?
    Many thanks
    Paul

    Try resetting the SMC.
    Barry

  • Is it possible to flip the multiple choice quiz "radio" button from left to right of the answers?

    Hello forum,
    I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
    Thanks, in advance. 

    Hello and welcome to the forum,
    I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-1
    http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
    Lilybiri

  • How to add the BexAnalyser as standard radio button to the add-ins?

    HI All,
    how to add the BexAnalyser as standard radio button to the add-ins.
    Thanks
    Vasu

    What do you want to do? Pls give some more details.

  • Add the option for a close button on the Scattered setting .

    Add the option for a close button on the Scattered setting ... like you have with all the other options - needed for touch devices as the roll out is no use on an ipad or iphone etc etc....

    This was the original code I got:
    Main FLA: (on AS layer inside DropDownButton Movie Object)
    function removeF() {
    removeChild(myLoader);
    var myLoader:Loader=new Loader ();
    page1_mc.addEventListener(MouseEvent.CLICK, page1content);
    function page1content(myevent:MouseEvent):void {
    var myURL:URLRequest=new URLRequest("page1.swf");
    myLoader.load(myURL);
    addChild(myLoader);
    EXTERNAL FLA: (on main time line of this file)
    close_mc.addEventListener(MouseEvent.CLICK, closeMC);
    function closeMC(myevent:MouseEvent):void {
    MovieClip(parent.parent).removeF();
    Main.FLA
    myLoader=bigboreLoader (my new loader)
    page1_mc=btnbb2 (the button who event will call external swf)
    page1content = bigborecontent (name given to SWF being loaded???)
    myURL=bigboreRequest (my new URLrequest for bigbore)
    page1.swf=moduletemplate.swf (actual address of what I am loading)
    External.FLA
    close_mc=button that will close external swf
    closeMC=movie clip to close?

  • How to add Change Layout, savelayout, select layout Button to ALV Toolba

    How to add Change Layout, savelayout, select layout Button to ALV Toolbar?
    Moderator message: please (re)search yourself before asking.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    locked by: Thomas Zloch on Sep 10, 2010 10:57 AM

    Variant
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = gs_variant
                i_save              = c_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = gf_exit
                es_variant          = gs_variant
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF gf_exit = space.
          cf_varia = gs_variant-variant.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = gs_variant
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
      IF sy-subrc NE 0.
        cf_subrc = sy-subrc.
      ENDIF.
    Change Layout, savelayout, select layout Button  pass the value which is in BOLD
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                =  gd_repid
         i_callback_user_command           =  'U_COMMAND'
         i_callback_top_of_page            = 'TOP-OF-PAGE'
                         is_layout                    =  fld_lay
           it_fieldcat                  =  fieldcatalog[]
                       IT_EXCLUDING                  =
                       IT_SPECIAL_GROUPS             =
                       IT_SORT                        =  it_sort[]
         i_default                      = 'X'
         i_save                         = 'A'
         is_variant                     = gs_variant
         it_events                      =  it_event[]
        TABLES
          t_outtab                      =    it_sales
                     EXCEPTIONS
                       PROGRAM_ERROR                     = 1
                       OTHERS                            = 2
    Annasaheb

  • Add Button with ALV  Standard Toolbar.

    Hi,
    Can any one tell me how to add user-defined button with ALV
    Standard toolbar? When I add Pf-status for alv output , standard alv toolbar is not displayed.
    Plz do needful.

    On the toolbar event of your alv grid, all the button as shown in the code below.
    FORM handle_toolbar USING i_object TYPE REF TO cl_alv_event_toolbar_set .
    DATA: ls_toolbar TYPE stb_button.
    CLEAR ls_toolbar.
    MOVE 'EXCH' TO ls_toolbar-function. "#EC NOTEXT
    MOVE 2 TO ls_toolbar-butn_type.
    MOVE icon_calculation TO ls_toolbar-icon.
    MOVE 'Payment in Other Currencies'(202) TO ls_toolbar-quickinfo.
    MOVE ' ' TO ls_toolbar-text.
    MOVE ' ' TO ls_toolbar-disabled. "#EC NOTEXT
    APPEND ls_toolbar TO i_object->mt_toolbar.
    ENDFORM
    CLASS lcl_event_handler DEFINITION .
    PUBLIC SECTION .
    METHODS:
    *To add new functional buttons to the ALV toolbar
    handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
    IMPORTING e_object e_interactive ,
    ENDCLASS.
    CLASS lcl_event_handler IMPLEMENTATION .
    *Handle Toolbar
    METHOD handle_toolbar.
    PERFORM handle_toolbar USING e_object e_interactive .
    ENDMETHOD .
    ENDCLASS.
    DATA gr_event_handler TYPE REF TO lcl_event_handler .
    *--Creating an instance for the event handler
    CREATE OBJECT gr_event_handler .
    *--Registering handler methods to handle ALV Grid events
    SET HANDLER gr_event_handler->handle_toolbar FOR gr_alvgrid .
    Hope this helps.
    Thanks,
    Balaji

  • Is it possible to add the date to a photo in an iPhoto calendar?

    After a picture is dragged to a day on my calendar the date disappears, is it possible to add or restore the date? I am using the latest update of iPhoto.

    The photo in the calendar replaces the date. You can ctrl-click the photo and add a caption to show the day number.
    Clicking the disclosure triangle to the right of the caption will show a panel where you can edit the font (all this tested in iPhoto 9.5.1), but it does look funny, you'd be better off by not adding the day number:

  • Is it possible to add the Gauge to Canvas?

    Hi All!
    Does anybody know if it is possible to add Gauge to Canvas?
    Thanks so much in advance. Any help would be appreciated.

    Yes, for sure it is easy. I simply wondering maybe something standard exist. :-)
    Btw, do you know any way except own implementation of the scrolling for Canvas?
    Thanks.

  • Is it possible to add the HTTP_server to existing SOA/oc4j installation

    Hi,
    I’m new to application Server 10.1.3.4 and have inherited a SOA implementation with 2 iAS homes.
    The original is running an oc4j group underlying SOA. Subsequently they decided to use the “Rules Author” which requires the http server. So, my predecessor installed another instance with just the HTTP server.
    We are life cycling our hardware and there is an opportunity to reconsider this 2 home implementation. Is it possible to add a component e.g. HTTP server to an existing instance ? If so can you point me toward the appropriate doc or ML note ?
    Thanks
    Ken F.

    Install OS, make all updates and install your favorite software. After doing this obtain some professional application like Norton ghost and create your own recovery image. You can save this image on HDD second partition, external HDD or even create own recovery DVDs.
    You can also Google a little bit. Maybe you will find some similar application for free.
    Bye

  • Using Action Wizard is possible to add the step to date stamp the pdf

    Using Action Wizard is it possible to create the steps:
    Add text to date stamp
    Javascript
    Encrypt
    Save

    Hi,
    We cannot display the year information on Windows 8.1  Lock Screen.
    The behavior is by design.
    Thanks for your understanding.
    Regards,
    Kelvin Xu
    TechNet Community Support

Maybe you are looking for

  • Need external Cd/DVD drive for my 2009 iMac.  the internal one no longer reads CDs.  thoughts?

    I need to finish putting CDs into my iTunes library.  The drive on here just spits out my CDs now.

  • How to change the color of a title halfway?

    not sure if I worded that right, possibly not what I meant is I have a title in white and want to change it a few seconds into the clip to another color. obviously I could replicate the title and using the titler color the fonts with whatever color I

  • External Hard Drive - Dead?

    HELP! I have an external hard drive that has all of my photos and music on it, but it doesn't show up on my desktop or in Finder anymore. It does show up in the Utility section, lights up, makes noise, etc. But if I reformat it, I'll loose everything

  • Keep italics while styling text from Word

    I have a long book with loads of endnotes. I've gotten them to come in with italics preserved. However, I still need to reset the styles for them. But any change kills all italics. Is there a way to re-style the text in general and preserve the exist

  • RFC Destination for Quality Certificates

    We are setting up QM and one step is to save quality certificates from suppliers. The problem is we get error "OA009 Storage system not known" on trans QC51, it seems because we do not have defined the Content Repositiry on trns OAC0. SAP has predefi