cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro ABAP ALV table not refreshed

ged_hurst
Participant
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member199125
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

You can bind the empty table to the ALV node. In this way also your alv will get refreshed.

regards

Kuldeep

Former Member
0 Kudos

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