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

ALV GRID OO,

Former Member
0 Likes
546

Hello,

In my ALV GRID, I added a specific button to add lines in the grid ALV. When I click on this button, a row is added.

But when I save the list, the event DATA_CHANGED is not raised for the added row if I did not change it before.

And so this line is not checked.

Can you tell me if it is possible that adding a line through the specific button to raise this event.

Thank you.

Best regards,

Patrice.

Moderator message: please use more descriptive subject lines for your posts.

Edited by: Thomas Zloch on Mar 4, 2011 10:18 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

Hi,

Have you tried with DATA_CHANGED_FINISHED event instead of DATA_CHANGED?


    SET HANDLER:
            o_manager_event_alv->data_changed_finished
                                            FOR o_alv_grid.

    CALL METHOD o_alv_grid->register_edit_event
      EXPORTING
        i_event_id = cl_gui_alv_grid=>mc_evt_modified.

Regards,

Hello,

In my ALV GRID, I added a specific button to add lines in the grid ALV. When I click on this button, a row is added.

But when I save the list, the event DATA_CHANGED is not raised for the added row if I did not change it before.

And so this line is not checked.

Can you tell me if it is possible that adding a line through the specific button to raise this event.

Thank you.

Best regards,

Patrice.

Moderator message: please use more descriptive subject lines for your posts.

Edited by: Thomas Zloch on Mar 4, 2011 10:18 AM

2 REPLIES 2
Read only

Former Member
0 Likes
499

Hi,

Have you tried with DATA_CHANGED_FINISHED event instead of DATA_CHANGED?


    SET HANDLER:
            o_manager_event_alv->data_changed_finished
                                            FOR o_alv_grid.

    CALL METHOD o_alv_grid->register_edit_event
      EXPORTING
        i_event_id = cl_gui_alv_grid=>mc_evt_modified.

Regards,

Read only

0 Likes
498

thanks for your answer Ernesto.