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: 

Editable ALV Standard buttons!! (bug or feature)

0 Kudos

Hi All,

I have a little problem with editable alv. I couldn't catch the Standard editable alv buttons' events. ( Buttons: <b>Append Row, Delete Rows, Copy rows, Add new row</b>.)

I would like to write a short code at <i>before_user_command</i> event, when the user press the add new line button on alv grid.

When I press an other button (for.e. : Refresh ) on ALV I can catch the events.

Why don't work this solution these 4 buttons? It is a BUG? or a feature ?

Can anyone sent me a short example about the best solution of this problem?

THX.

mike

3 REPLIES 3

former_member583013
Active Contributor
0 Kudos

I haven't been able to achieve that myself...Only solution found for Append Row what to use this event...


      handle_data_finished
      FOR EVENT data_changed_finished OF cl_gui_alv_grid
      IMPORTING e_modified

Greetings,

Blag.

0 Kudos

Hmm,

What could I do with other buttons? Delete them from ALV toolbar and write their code again.

Why don't allow the sap to re-code or expand these buttons' code like the other ones ? Is it a bug in sap system?

Greetings,

mike

0 Kudos

Hi all,

"bug in sap system?" - never heard of.

AFAIK none of the ALV functions or classes have been released to the customer except the CL_SALV_TABLE factory class. And this does not provide grid edit functionality. SAP only knows why

Regards,

Clemens