cancel
Showing results for 
Search instead for 
Did you mean: 

Problem refreshing a parent view.

Former Member
0 Kudos

Hi Experts,

I am not alowed to change the Lifetime property of my Standard View hence cannot refresh View.Can anyone please advise as to how should i move about.Can i refresh my parent view through child view on on its init.If yes what should be the code and when can i invoke this one.

Please would be very greatful for any suggestion.

Regards,

Sayyeda

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member40425
Contributor
0 Kudos

Hi,

You can invalidate your node to refresh the view.

I hope it helps.

Regards,

Rohit

Former Member
0 Kudos

Hi Rohit,

Thanks for the reply.How and where should i do this? Can you please explain.

Sayyeda.

former_member40425
Contributor
0 Kudos

Hi,

In the onaction method, Invalidate all your nodes that is bound to the view.

You can use following code

Data: l_node type ref to if_wd_context_node.
 
l_node = wd_context->get_child_node(  'NODE_NAME' ). " NODE_NAME is name of my node
l_node->invalidate( ).

Regards,

Rohit

Former Member
0 Kudos

Rohit,

I dont have any node in my child view.What exactly im doing is just opening a WDA Application in a new window.In this case what is to be done,invalidate node doesnt works.

Sayyeda.

Former Member
0 Kudos

Can anyone suggest how to refresh the parent view through the child view(no node present).

Thanks in advance.

Former Member
0 Kudos

Hi,

check out these links -

Regards,

Lekha.