Skip to Content
avatar image
Former Member

Web Dynpro ALV - ON_CELL_ACTION Event - Old Value

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 23, 2013 at 10:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 23, 2013 at 02:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded