on 12-24-2014 8:08 AM
Hi,
I have created web dynpro application to display time entry detail of resources.
This report is work working fine if it founds records for the selection.
The issue is when it doesn't found records for selection criteria this application displaying error message
but it is showing records of previous search.
So How can I refresh WD ALV if no records found for selection.
Hi,
On click on search button check if no records found for search criteria show error message and invalidate the node.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anshul,
While displaying the error message, just invalidate the table node so that, it doesn't show up the old records.
data:
lo_node type ref to if_wd_context_node.
lo_node = wd_context->get_child_node( name = wd_this->wdctx_node_name ).
lo_node->invalidate( ).
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.