Application Development and Automation 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: 
Read only

raise event data_changed doesnu00B4t pass parameter

Former Member
0 Likes
313

I'm using a editable alv (inheritance).

CLASS lcl_my_alv DEFINITION INHERITING FROM cl_gui_alv_grid.

PUBLIC SECTION.

METHODS: activate_data_chg.

ENDCLASS. "lcl_my_alv DEFINITION

CLASS lcl_my_alv IMPLEMENTATION.

METHOD activate_data_chg.

DATA: pr_data_changed TYPE REF TO cl_alv_changed_data_protocol.

RAISE EVENT data_changed

EXPORTING er_data_changed = pr_data_changed.

ENDMETHOD.

ENDCLASS. "lcl_my_alv IMPLEMENTATION

The event is raised by

CALL METHOD alv_loc_onh->activate_data_chg

The method handling the event is activated.

The problem is that the parameter er_data_changed remains empty.

Suggestions how to solve this ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
285

Hi ,

you have to call checked_changed_data using the class cl_alv_gui_grid object

Please reward if useful.

1 REPLY 1
Read only

Former Member
0 Likes
286

Hi ,

you have to call checked_changed_data using the class cl_alv_gui_grid object

Please reward if useful.