Skip to Content
avatar image
Former Member

Check data changed in REUSE_ALV_GRID_DISPLAY

I want to enable the edit mode to a column in ALV GRID, there isn't the problem, but the user wants to check the modified data when he leave the celd and show a popup window if is necessary. In ALV OO isn't a problem but in this case I don't know how to do it.

Thanks in advance.

Regards.

Lisandro.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 17, 2007 at 08:48 PM

    Hi,

    Not sure how to do this ALV Grid Function module..As you mentioned this can be achieved in OO Alv..

    If not..The user has to press a button to validate the entries

    THanks

    Naren

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2007 at 08:29 PM

    Hi,

    You can try this..

    In the USER_COMMAND subroutine..

    data: REF_GRID TYPE REF TO CL_GUI_ALV_GRID.

    IF REF_GRID IS INITIAL.

    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

    IMPORTING

    E_GRID = REF_GRID.

    ENDIF.

    IF NOT REF_GRID IS INITIAL.

    CALL METHOD REF_GRID->CHECK_CHANGED_DATA

    .

    ENDIF.

        • Now your internal table will have the updated values.

        Thanks

        Naren

        Add comment
        10|10000 characters needed characters exceeded

        • Former Member

          Naren,

          The data is refresh fine in the internal table, but when the user leave the current celd I need to trigger an event that check if the data is correct. I don't know what I'll do to do this.

          Thanks.

          Lisandro.

      • avatar image
        Former Member
        Nov 01, 2007 at 06:51 AM

        good,very thanks!

        Add comment
        10|10000 characters needed characters exceeded