cancel
Showing results for 
Search instead for 
Did you mean: 

ALV: check before delete a row

Former Member
0 Kudos

Hi,

I would like to delete a row in ALV.

Before the deletion I would like to send popup with the options "OK" and "cancel".

If the user presses on cancel, it should not to be deleted.

Can I catch it in ON_DATA_CHECK? Popup is not the problem.

I would like that the row is not deleted.

Are there an instruction RESET?

Regards

Vedat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can implement your own delete function instead of using the inbuilt function of the ALV. There you can check and depending on the popup, either delete a row from the internal table or dont delete and bind it back to the node.

Regards

Nithya

Former Member
0 Kudos

Hi,

Is it possible to delete the table r_param->t_deleted_rows?

In this table the lines which can be deleted are located.

Perhaps that is the shorter solution?