Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Edited fields of ALV grid not refreshed in user command

Hi experts,

I have created an ALV grid, where one of the fields is editable.

The field is a checkbox when user checks/unchecks it followed by pushing the save button.

I have a requirement to get the new value and save it.

My problem is that the new value is not updated when coming to PAI (user command).

Another field is a hotspot, and I have noticed that when this event is called, the updated checkbox value is available to the event. The updated checkbox value is also available to PAI if the user pressed a hotspot field prior to pushing the save button.

I have tried to implement and register data_changed event in order to refresh the checkbox value, but still no result.

I'm using OO way of implementing ALV grids...

Thankful for any help,

Teo

Tags:
Former Member
replied

this check_changed_data method will internally raise the data_changed event. so call this in PAI , that will take care of the internal table update, and you will see the same data in display and internal table.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question