cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro ALV - ON_CELL_ACTION Event - Old Value

Former Member
0 Kudos

Hi experts,

how can I get the old value for a cell by triggering the "ON_CELL_ACTION" Event on an ALV ?

Thanks in advance

Best regards

hhermann

Accepted Solutions (0)

Answers (2)

Answers (2)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

I don't think you have old value for this event. Instead, check event ON_DATA_CHECK for instance.

Check input parameter R_PARAM, for T_MODIFIED_CELLS you have a reference to NEW_VALUE and OLD_VALUE.

Best regards,

Guillaume

Former Member
0 Kudos

there is no atttibute exist for holding old value of cell but you can do this by creating your own variable

create a internal table type variable in your componennt on wdmodify view you can fill this valeriable so that it always contain updated records.

read this internal table from index you already  have index  on "ON_CELL_ACTION". and compare your values

reward if helpful