In module pool screen If I remove the screen input field value I am viewing all records in table control. When input field value is not available no data should be shown.By using this code table data was cleared when am using enter action twice
if sy-ucomm <> 'enter' and I_RECNAME IS INITIAL.
.
REFRESH it_rec[].
endif.