cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear an alv table

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hI,

USE invalidate() of if_wd_context_node on back button.

baskaran00
Active Participant
0 Kudos

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...

Former Member
0 Kudos

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