What event will be triggered by check button on ALV?

Hi,
What event will be triggered by the standard check button on ALV? ON_DATA_CHECK is only triggered by a change in an editable field on ALV, so if no change were made, ON_DATA_CHECK wouldn't be triggered. I also tried events for before and after standard function but neither were triggered. How can I use the standard check function?
Regards,
ts

Hi ts,
The event ON_DATA_CHECK would trigger only if the content on alv is dirtly i.e. user modified something.
If there are no changes done for the contents, whats your requirement to use check button?
You can create a custom alv toolbar button and use event ON_FUNCTION on click of tool bar button.
Regards,
Rama

Similar Messages

  • How do I find an event which is triggered on line selection for ALV grid?

    Hi,
    I'm trying to find an event which is triggered when a user selects a row in the ALV grid. I want to add my own code in to add up the total values of selected lines, but can't find any event which will trigger my method.
    I found CLICK_ROW_COL but it's protected so when I try and add a method for it:
      PROTECTED SECTION.
        METHODS:
        select_row
            FOR EVENT click_row_col OF cl_gui_alv_grid.
    I get the syntax error:
    Access to protected event "CLICK_ROW_COL" is not allowed.
    Am I using the right event? Am I implementing it correctly?
    Any help appreciated. Thanks in advance.
    Gill

    I chose to solve this by removing the line select buttons from the ALV and replacing them with a checkbox defined as a hotspot.  I then used EVENT hotspot_click FROM cl_gui_alv_grid to highlight the line and change my totals on a single click.

  • What event will be fired if clicked on top right button of JFrame?

    HI!
    I meet a issue when I developing java GUI application.
    I found when I clicked on top right button x of JFrame . It fire an event windowClosing(event e)
    If I clicked on JButtom and try to close this JFrame . It fire an event windowClosed(WindowEvent e)
            j.setVisible(false);
            j.dispose();
            j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);Is anyway I could fire same event when clicked on either +top right button x+ of JFrame or JButtom ?
    amazing!?
    Thanks!

    camickr,
    NO, you fully understood my question, but also solve it already... you are correct
    clicked on top right button of JFrame and close button are fired on same event.... private void this_windowClosing(WindowEvent e)
    1)clicked on close button fired windowClosing event byWindowEvent windowClosing = new WindowEvent(j, WindowEvent.WINDOW_CLOSING);
    Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(windowClosing);
    2)clicked on top right button of JFrame it fired windowClosing eventI just want an assist to run j.dispose();, will it must fire windowClosed event? anyway to avoid this event?
    May be my explain not clear!

  • PUSH-BUTTON in ALV GRID

    How can we create a push-button in ALV-GRID.
    How will u handle a push-button in ALV.

    Hello,
    To add a push button and handle it,you have to define a local class and use the methods <b>handle_toolbar</b> and <b>handle_user_command</b>.Here is a sample code:
          CLASS lcl_eh DEFINITION
    CLASS lcl_eh DEFINITION.
      PUBLIC SECTION.
        DATA:
             <b>ls_toolbar  TYPE stb_button</b>.
        METHODS:
                <b>handle_toolbar</b>
                    FOR EVENT toolbar OF cl_gui_alv_grid
                        IMPORTING e_object e_interactive,
                <b>handle_user_command</b>
                    FOR EVENT user_command OF cl_gui_alv_grid
                        IMPORTING e_ucomm.
    ENDCLASS.                    "lcl_eh DEFINITION
    *Type referencing an object of the class
    <b>DATA: lo_obj TYPE REF TO lcl_eh.</b>
          CLASS lcl_eh IMPLEMENTATION
    CLASS lcl_eh IMPLEMENTATION.
    *METHOD:      HANDLE_TOOLBAR
    *DESCRIPTION: This method provides the necessary detail required to
                 create an extra button in the toolbar.
      METHOD <b>handle_toolbar.</b>
        CLEAR ls_toolbar.
        MOVE 'CREATE' TO ls_toolbar-function.
        MOVE 0 TO ls_toolbar-butn_type.
        MOVE 'CREATE' TO ls_toolbar-text.
        MOVE 'ICON_DETAIL' TO ls_toolbar-icon.
        MOVE 'CREATE' TO ls_toolbar-quickinfo.
        <b>APPEND ls_toolbar TO e_object->mt_toolbar.</b>
      ENDMETHOD.                    "handle_toolbar
    *METHOD:      HANDLE_USER_COMMAND
    *DESCRIPTION: This method is used to handle the push button
      <b>METHOD handle_user_command.</b>
    <b>    CASE e_ucomm.</b>
    <b>      WHEN 'CREATE'.</b>
    **logic
            ENDCASE.
    ENDMETHOD.
    ENDCLASS.
    Regards,
    Beejal
    **reward if this helps

  • Interactive Form - button SubmitToSap - OnSubmit event is not triggered

    Please help to resolve triggering OnSubmit event problem.
    I created a test Webdynpro with UI element InteractiveForm.
    The InteractiveForm properties are:
    - displayType = native
    - enabled is checked.
    OnSubmit event  a method is called. The method contains very simple code so I could debug and see if the event is triggered.
    The form was created in SFP with  Layout type = Native.
    The form properies are:
    Default Lang = Javascript.
    Default run =  at client
    Preserve scripting changes to form when saved = Manually
    I have inserted Webdynpro script thru SAP Utilities menu.
    The form has SubmitToSap button and Textfield.
    So now i am trying to debug WDA.
    At runtime WDA opens Adobe form.
    If I enter data into Textfield and then click SubmitToSap button  -  OnSubmit event is triggered. I am happy.
    Then I run WDA again. This time I click  SubmitToSap button  right away without entering data into Textfield. OnSubmit event is NOT triggered this time.
    Is something wrong with my form properties?
    Thank you very much,
    Tatyana.

    Manas, you are right.
    OnSubmit event was not triggered unless U enter value into Textfield because the Textfield property was "Requiered".
    Also just for clarification the form Layout type  is ZCI Layout (not Native like I said above).
    Thank you!

  • HT1414 My ipad has locked-up, it has frozen while running an app, and will not respond to any button,  what do I do?

    My ipad has locked-up, it has frozen while running an app, and will not respond to any button,  what do I do?
    It simply stays on the same screen image, and does not respond to anything.  When I plug it into itunes, there is no indication of its presence.
    The ipad's clock has also stopped.
       eek

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • In servlet what Event Listener interface defines session will passivate()

    Hi!
    In servlet what Event Listener interface defines session will passivate() method?
    Thanx

    Hi!
    for the above question which one will be the correct answer?
    1.HTTPSessionEventListener
    2.HTTPSessionListener
    3.HTTPSessionAttributeListener
    4.HTTPSessionActivationListener

  • What Event is Triggered When a Title Window is Shown?

    I am creating the Title Window Component once, and then
    showing it with PopUpManager.addPopUp, and hiding it with
    PopUpManager.removePopUp. I need to run some logic each time the
    PopUp is shown. However, I can't figure out what Event is triggered
    when the TitleWindow is "opened". The window is there, it's just
    not being displayed. This make me think that "show" would be
    triggered, but it is not. I also tried "add", but this threw a RTE.
    Any thoughts?
    Thanks.

    Since I couldn't find an Event to trigger, I am instead using
    an override of protected function commitProperties() to run my
    logic.

  • What is "Optimistic Children Check" button?

    Hello,
    What is the purpose of the "Optimistic Children Check" button on the J2EE DC Explorer Window?
    I've searched help.sap.com and my local help system but no hits.
    Thanks in advance for any help.
    David

    Closing old, unanswered question.
    If this becomes important again, I'll reopen it. If someone knows the answer please respond and I'll reopen and give you points.

  • What event fires when a captivate ends?

    Hello,
    I'm a web app developer and I'm working with Captivate. I'm not a captivate designer myself, just a programmer, so I don't know the first thing about Captivate (though I'm working with someone who does). I'm wonder if there's an event that fires when the captivate is done--that is, when the user clicks on the "submit" button on the last slide after which there is nothing more for the captivate to do.
    My friend the Captivate designer says the submit button is wired up to an event handler in the CPM.js file. The script is named "assessment_Pass" and we've located the event handler in CPM.js. However, I can't work with this. I can't manually manipulate minimized javascript that Captivate generates, especially when we've got hundreds of captivate files and keep getting updated. I need to work in the javascript in my Visual Studios project. If I could know what event fires (if an event fires) when the captivate is done, I can then wire it up to a javascript event handler in my development environment.
    I found this list of Captivate events (they're actually for the Captivate API Interface, which I'd prefer to work with, but any event will do), but none of the one's I tried seem to fire.
    Any help is much appreciated.

    [quote="elearning_dude"]Events are exposed only for interactive objects (buttons, button smartshapes, etc.) and ON_SLIDE_ENTER and ON_SLIDE_EXIT (the latter of which actually fires on the first frame of the *following* slide, unless it's been fixed in Cp8). [/quote]
    Well, it's a submit button on the captivate that's supposed to fire the event. Is that an interactive object?
    [quote="TLCMediaDesign"]Maybe if you explained what you are trying to accomplish I could point you in the right direction. Maybe you could use the CPAPI_MOVIESTOP or CPAPI_VARIABLEVALUECHANGED events and check if on the last slide.[/quote]
    I would like to know when the captivate ends (i.e. when the user has gone through all the slides and has clicked the submit button) and to do some processing in javascript afterwards (essentially, calculate the user's score and figure out whether they passed or failed).
    I'm trying the CPAPI_VARIABLEVALUECHANGED event on a captivate variable called "result". My friend the Captivate designer says that when the user clicks the last submit button, a script is run to change the value of this variable. When it changes, this event should be fired and I should be able to catch it, no?
    I'm doing it like this:
    _captivateWindow.cpAPIEventEmitter.addEventListener("CPAPI_VARIABLEVALUECHANGED", "result", ResultChanged);
    var ResultChanged = function()
    alert("hello");
    but I'm not getting my hello message.
    I will try the timer idea that andreleal suggested and get back to you.

  • SCOM 2012 R2 - Generate an alert when a specific event will not come in specific time range

    Hello SCOM people,
    I need to figure out what kind of monitor shall I choose for my monitoring of a specific event. I need to generate an alert when no specific event was generated by server.
    Our company uses FIM 2010 with scheduled tasks, after each completed task is generated an event to application log. When sync is stuck or something is wrong no event will come to application log and I need to be warned. Tasks run each 30minutes and there
    should not be an hour break between the previously created event.
    I hope it makes sense :)
    Thank you
    Liibas

    Hi Liibas,
    That sounds like a good scenario for using Orchestrator and the SCOM Integration Pack, since you can have time-triggers, etc. to check for Alerts and then trigger a Runbook to email someone if the Alert does/does not appear. 
    Please remember to click “Mark as Answer” on the post that helps you.
    AdinE MCSE, MCSA, MCITP, MCTS; (Specializing in System Center and Private Cloud)
    2015 Microsoft MVP in System Center Cloud and Datacenter Management
    LinkedIn: http://ca.linkedin.com/in/adinermie
    Website: http://micloud.azurewebsites.net

  • Custom Event - Issues with triggering

    Hi Experts,
    I've developed one workflow for travel management. The flow is as below.
    1. Whenever expense report is created, workflow will get triggered
    2. If the expense report requires receipts, workflow will be waiting for the receipts attachment. After attaching the receipts workflow will move further for approval process. For this I've created one custom event, which will be triggered from enhance spot (OA_BADI_LINK) implementation when receipts are attached
    3. I'm using the custom event created and wait step to hold the workflow till the event get triggered
    4. If receipts are required and not attached for 2 days, workflow will be terminated
    It was working fine in development server. After transporting the all related objects to testing server, in testing server the workflow was not moving further even after attaching the receipts. I wanted to check whether the custom event is getting triggered or not, while attaching the receipts. For this, I've requested admin team to switch on the event trace (SWELS) in testing server. After switching on the event trace, my workflow is working fine. I mean, the workflow is moving further whenever receipts are attached.
    I'm with no clue, why it was not working before activating the event trace and why it is working after that.
    Can any one help me in finding out the cause?
    Thanks in Advance,
    Siva Sankar.

    Hi Shital,
    Thanks for ur reply.
    Standard event that is maintained in SWE2 was getting triggered and workflow was getting started. But, the custom event that is getting triggered from enhancement was not working properly.
    What settings admin do using SWEQADM tcode?
    Thanks,
    Siva Sankar.

  • Other value check button disabled on Values of batch char

    The other values check button gets disabled after batch char. is
    created. We have many batch chars which have been created already and
    we need to link them to Master inspection characteristics. We can't
    link the qualitative characterisitcs to MIC unless selected set is
    assigned to batch char. This requirment is not for quantitative char's.
    So those are working fine. But qualitative characteristics are not
    working because of this issue. Please let us know what is the
    fix/workaround.

    The qualitative general characteristic has already been used and has values recorded in batches from what you are indicating.  You will not be able to change this characteristic unless you delete all the characteristic values from the batches, then delete the characteristic from all classes it is used in.  Once added, you'd have to go back to each batch and select the right value for each batch that had a value prior to the change. This is usually not practical in a live system.
    You will need to make a new general characteristic from scratch and link it with your MIC's.  Then add the new characteristic to the classes.   I suggest you change the old general characteristic to 'hidden' in all the classes so users don't use it anymore.
    You will need to update any COA profiles using the characteristic and any batch search strategies as well.  For COA's, you can include both the old and new characteristic and make them both optional.  One or the other should then print.  At some point in the future, go back to the COA profiles and delete the old characteristic and make the new one required.
    There is no 'easy' fix for this.  It is time consuming in a live system.  You might be able to set up a couple of LSMW's to help ease the pain depending on how many you have to change.
    Craig

  • DATA_CHANGED event handler is not triggered after input.(OO ALV)

    Dear Experts,
    What I did:
    I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
    My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
    My problem:
    When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
    Is there any1 has any ideas on this problem?
    Vicnent
    Edited by: Changjiu Tan on Sep 7, 2009 1:33 PM

      METHOD HANDLE_DATA_CHANGED.                               "#EC NEEDED
    *<<<  BEGIN MODIFY EXAMPLE CODE
    *   u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
        DATA: LW_INS      TYPE LVC_S_MOCE,
              LV_FNAME    TYPE LVC_FNAME,
              LW_MOD      TYPE LVC_S_MODI,
              LV_MAX      TYPE I,
              LV_RES(12)  TYPE C,
              LW_LIST     TYPE ZTSRE012,
              LV_ROWID    TYPE LVC_S_ROID,
              LT_MOD      TYPE LVC_T_MODI,
              LV_COLID    TYPE LVC_S_COL,
              LV_ROW_ID    TYPE LVC_S_ROW,
              LV_COL_ID    TYPE LVC_S_COL.
    *   u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
        CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
          IMPORTING
            ES_ROW_ID = LV_ROW_ID
            ES_COL_ID = LV_COL_ID.
        LOOP AT GT_LIST INTO LW_LIST.
          IF LW_LIST-ID > LV_MAX.
            LV_MAX = LW_LIST-ID.
          ENDIF.
        ENDLOOP.
    *   u30B0u30EBu30FCu30D7ID
        LV_FNAME = CNS_ID.
        LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
          LV_MAX = LV_MAX + 1.
          CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
            EXPORTING
              I_ROW_ID    = LW_INS-ROW_ID
              I_FIELDNAME = LV_FNAME
              I_VALUE     = LV_MAX.
        ENDLOOP.
        CLEAR: LV_FNAME.
        LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
    *   u30C7u30FCu30BFu30C1u30A7u30C3u30AF
        LOOP AT LT_MOD INTO LW_MOD.
          IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
            LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
            LV_ROWID-ROW_ID    = LW_MOD-ROW_ID.
            CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
              EXPORTING
                IS_COLUMN_ID = LV_COLID
                IS_ROW_NO    = LV_ROWID.
            CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
              IMPORTING
                E_VALUE = LV_RES.
            IF LV_RES IS INITIAL.
              CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
                EXPORTING
                  I_MSGID     = CNS_MSGID
                  I_MSGTY     = CNS_MSGTY
                  I_MSGNO     = CNS_MSGNO
                  I_FIELDNAME = LW_MOD-FIELDNAME
                  I_ROW_ID    = LW_MOD-ROW_ID.
            ENDIF.
            CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
              EXPORTING
                I_ROW_ID    = LW_MOD-ROW_ID
                I_FIELDNAME = LW_MOD-FIELDNAME
                I_VALUE     = LV_RES.
           ENDIF.
          CLEAR:  LV_RES,
                  LV_COLID,
                  LV_ROWID.
        ENDLOOP.
        CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
          EXPORTING
            IS_ROW_ID    = LV_ROW_ID
            IS_COLUMN_ID = LV_COL_ID.
      ENDMETHOD.                    "handle_data_changed
    Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
    Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM

  • Event not getting triggered for a few users in production

    Hi Experts!!
    We have a workflow that gets triggered on the event REQUESTCREATED of BUS2089. In production, we see that for a few users the event is getting triggered and even the workflow is. But for a few users, the workflow is not getting triggered. However, we didn't check SWEQADM yet and are waiting to get auth to check the same. But before that, I need your valuable suggestions on this.
    When I check SWEL, I cannot see any entries at all. Not even for the successfully processed ones.
    Auth objects cannot be a reason, as all the users have same auth. Please suggest me on what else can be the reasons.
    Your help is highly appreciable.

    Hello Srinivas !
                  Check in SWEQADM to know whether the event is on queue.If so, redeliver it.
                  If there is no event on queue, check the RFC queue( transaction SWU2 ) and ST22 for possible ABAP dumps.
                  Call work item list report (transaction SWI1) and check event linkages (transaction SWETYPV )of the users for whom the event is not triggered.Are you using BAdI or user- exit to trigger the workflow ? If so, check whether those are in active state.
                 Refresh the workflow buffers(transaction SWU_OBUF).Check either of the workflow versions are in active state.
    Regards,
    S.Suresh

Maybe you are looking for

  • How to include formating options present in "FormatTextEdit" UI element in Smartform

    Hi All, I need your help in below requirement We need to use FormatTextEdit UI element in our WDA, so that text entered in UI element along with formatting options needs to be printed in PDF form through smartform. We are using Smartform to get PDF n

  • Adober Reader suddenly won't open any PDF files (Mac)

    I had an old version, I downloaded the latest one, upgraded to the newest, even tried taking that one out and downloading an older version. It doesn't matter which version I seem to have, it won't open any pdf files from the web. I use a Mac, and Saf

  • Storyboard & files are missing

    Hi, I have created new project in Xcode. Initially it works well. After working some time all the images and the storyboard files gets disappear. I cannot access those files from NSDocumentDirectiory too. If i load viewcontroller from the storyboard

  • Need help to solve problem regarding Serial/USB want to get data on event base

    Hello This NI Forums have helped me a lot in learning the Labview, every time I am in problem people on this forums have helped me. Actually I need some example VI which could guide me to solve my problem. I want to get data on USB speed 1mega and sh

  • Email Alerts and High Importance

    I'm switching to a 8330 BB Curve (Sprint) and need the ability to have High Importance Emails buzz or make a noise. I am on-call overnight and would prefer not to have the phone make a noise for every email. Anyone know how to make this happen? I wen