Skip to Content

ALV event HANDLE_DATA_CHANGED_FINISHED

I'm using the event handle_data_changed for the alv-grid to check the data with a certain logic. This works fine.

There is also an event handle_data_changed_finished. What does this do? Does anyone use this en could you give me an example.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on May 15, 2005 at 12:18 PM

    check out this document

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf

    Regards

    Raja

    Is there any special reason for unchecking "<b>Mark this topic as a question</b>" option when you created this post.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2005 at 03:17 PM

    off course, this two event is different.

    HANDLE_DATA_CHANGED will trigger, when a change done on the ALV, and the inputted is finished.

    You can get the date user inputted in the ALV, before the ALV do the validation check.(it is the critical point)

    HANDLE_DATA_CHANGED_FINISHED

    It will trigger when the change finished, it means the ALV has done its validation. The error inputted will be remove, you can't get the error inputted from this event. You can only get the valid inputted. So if all of the inputted is error, in this event, ALV will deal with it as no change!

    That's all I know about this two event difference.

    Hope it will useful, thanks a lot

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2005 at 07:21 PM

    As far as my experience goes, the event HANDLE_DATA_CHANGED_FINISHED will be invoked when all the checks (also those programmed in the event HANDLE_DATA_CHANGED) have passed. That means, as you probably know, you can call the pop-up error protocol from within the handler method for the HANDLE_DATA_CHANGED, in which case the event HANDLE_DATA_CHANGED_FINISHED will not be reached if any error messages are in that protocol.

    The other good thing about the event HANDLE_DATA_CHANGED_FINISHED is that by this time the internal table with ALV data will be updated.

    Hope this helps. Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.