Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Check data changed in REUSE_ALV_GRID_DISPLAY

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

good,very thanks!