on 05-09-2016 4:19 PM
Hello experts,
I'm trying to refresh my view when I back initial page. But I can´t resolved this point. I'm looking in tutorials and trying things but nothing work. So can you tell me / explain how can i refresh views in code like f5?
The other thing I can't do is disable two inputs in running. I'm trying this :
call method lo_el_radio_node1_1->set_attribute_property
exporting
attribute_name = 'LAST_NAME_1'
property = 1
value = 'X'.
but I don't know what is "property".
Please help me .
Best regards
Cristina Rodrigues
Sorry my bad english
Hi cristina,
To refresh the first page when you are coming back from second view you have to refresh the node which are binded in your first view.
To refresh the node you can set node-attribute values as blank.
Or if it is a table you can pass a null table to the node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is:
I have the first view and click on the button for see more items
when a click em "voltar(BACK)" the error appears because my code .
I clean the node with this code:
DATA lo_nd_header TYPE REF TO if_wd_context_node.
lo_nd_header = wd_context->get_child_node( NAME = 'NODE_HEADER' ).
lo_nd_header->invalidate( ).
And I need refresh second view because I change one value. It is possible ?
Thanks very much for your time
If the above code for invalidate the node is not working you can try as i suggested in my previous reply. As this invalidate node will work only if we are populating the node via supply function.
And to refresh the second view try coding in WDMODIFYVIEW method instead of DOINIT in second view.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.