Skip to Content

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

How to capture user entered values from an input enabled ALV grid?

Hi,

I have an input enabled ALV grid, which has 4 columns. First column is prepopulated with 5 rows of data, other 3 columns are input enabled out of which 1 column has checkbox.

Now I want to read the data entered by user.

How do I get my internal table populated with the ALV's current data?

I am using OO to build the ALV.

Thank You in advance.

SAC.

replied

It is beacuse the event is not triggered.

What is w_rogrid in this statement?

SET HANDLER w_alv_event->cell_changed FOR w_rogrid.

Write this instead of above:

SET HANDLER w_alv_event->cell_changed FOR cl_gui_alv_grid.    "if you want to set handler for all alv instances

"or
SET HANDLER w_alv_event->cell_changed FOR your_avl_object.    "if you want to set handler  only for your object.

Regards

Marcin

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