on 11-18-2011 10:20 PM
Hi everyone,
I've got a master table which displays a list of items. On lead selection a query is executed and the result is displayed in a table below the first table (like a master-detail pattern).
This all works all right when the detail view is a standard webdynpro table.
However when I replace the standard table with an ALV table this is not refreshed.
I've also tried to invalidate the node in the even handler "on lead selection" and I've also coded
lo_interfacecontroller->refresh( in = lv_refresh_in ).
but to no avail.
Any ideas?
Hi,
In your lead selection method, bind the table again with set_initial_elements to abap_true, so that new table contents will display even in both standard and alv table.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can bind the empty table to the ALV node. In this way also your alv will get refreshed.
regards
Kuldeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Keep your invalidate method at the end the particular action or method.
DATA LO_ND_<Context Node> TYPE REF TO IF_WD_CONTEXT_NODE.
navigate from <CONTEXT> to <CTX_VN_ITEM_DET> via lead selection
LO_ND_<Context Node> = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_<Context Node> ).
LO_ND_<Context Node>->INVALIDATE( ).
Regards,
Monishankar C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.