on 10-18-2010 4:34 PM
Hello,
I am using Webdynpro ALV to display material details. There is a custom button 'Refresh' in the ALV toolbar.
While the user is in the ALV display and in the mean time some other user modifies a material, then when the first user clicks on this refresh button then the ALV display should be updated with the new information. I am fetching the data once again and binding it to the table which is mapped to the interface node 'DATA' of the ALV component. But still the data is not getting updated in the ALV display. Please let me know if there is any way how I can update the display.
Regards
Nilanjan
Hello everyone,
When I am binding the context node before that I am invalidating the node. But still it doesnt help.
Regards
Nilanjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Well this shouldn't happen. ALV gets updated all time when there is change in the corresponding context node.
For your case, Try with Invalidating the node first and then bind the data.
lo_nd type ref to if_wd_context_node.
lo_nd ->invalidate( ).
lo_nd ->bind_table(
).
Thanks,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Nilanjan.
Yes, Rahul is right.
Anytime, when you want to "load" and "bind" data to context node once more, the first thing you should do is : INVALIDATE the context node..
Or, you can try this, adding one additional parameter:
lo_nd->bind_table( new_items = lt_flights
set_initial_elements = abap_true ).
Best wishes.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.