cancel
Showing results for 
Search instead for 
Did you mean: 

Show all elements in table after doing filter operation

former_member206441
Contributor
0 Kudos

Dear Experts

I used Filter in a table and i was able to filter the values in table. Im also having a button 'show all' to show values in the table after doing filter operation, when i click the show all button the values are not displayed in the table.

any suggestions please?

Thanks & Regards

Arun.P

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

From what I understood from your question I can only suggest that you store the values before filtering in your local buffers(Assistance Class Attribute/Component controller attribute) and bind the values back to the context when the user clicks on the 'Show All' button. Or am I missing something?

Regards,

Viqar.

former_member206441
Contributor
0 Kudos

Hi experts,

The solution to get all the value after filtering is

we should change the value of ABAP_BOOL to empty.

by using the code.

DATA : filtered type ABAP_BOOL value ' '.

wd_this->table_control->apply_filter(

RECEIVING

IS_FILTERED = filtered ).

Thanks & Regards

Arun.P

former_member206441
Contributor
0 Kudos

Hi experts,

The solution to get all the value after filtering is

we should change the value of ABAP_BOOL to empty.

by using the code.

DATA : filtered type ABAP_BOOL value ' '.

wd_this->table_control->apply_filter(

RECEIVING

IS_FILTERED = filtered ).

Thanks & Regards

Arun.P