cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh Page and Disable fields - WEB DYNPRO

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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


Former Member
0 Kudos

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.