Skip to Content
avatar image
Former Member

How to clear an alv table

Hello Experts,

I have an alv table which displays data on certain search conditions. When I navigate back to the search page I should clear the alv table. I've tried this via clearing the node values but still it's not working.

Thanks,

Sandhya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 30, 2008 at 01:34 PM

    Just clear the node which is bounded to ALV by Invalidate method of inetreface IF_WD_CONTEXT_NODE.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 01, 2008 at 04:33 PM

    Hi Sandhya,

    U can try the below procedure:

    On click of the back button

    1. delete the data from internal table which is binded with the table.

    2.Now bind the internal table to the node.

    This time u wont get any data.

    Thanks...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 02, 2008 at 08:16 AM

    hI,

    USE invalidate() of if_wd_context_node on back button.

    Add comment
    10|10000 characters needed characters exceeded