Cutter
Cutter

Reputation: 1820

How to make ALV subtotal lines editable or any workaround?

In an ABAP program, I need to provide a way for the users to change the value of all cells belonging to a group at once.

CL_GUI_ALV_GRID does not allow to make cells of subtotal lines editable. An ALV tree view does not allow editing of nodes either.

Is there a way around it ?

Upvotes: 0

Views: 387

Answers (1)

Xavier Salomone
Xavier Salomone

Reputation: 126

Since the question was general, the answer cannot be very specific: If the grouping is known in advance, the simplest alternative way is to implement the DATA_CHANGED event of CL_GUI_ALV_GRID, any change in one cell must be replicated in all others that belong to the same group, then refresh the ALV.

Upvotes: 0

Related Questions