cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Refreshing the Screen

Former Member
0 Kudos

Hi Friends,

In my Application i have five Screens.

Each screen has different functionality.

My requirement is such that after i Execute the function module my Screen should be refreshed with the updated values.

Is this possible in Web-Dynpro(Java) Scenario?

I am using SAP as my R/3 .

For Clarity let me give an example:

I have two Tables.

My functionality is to Copy one row selected in a Table to the Other Table.

I am able to fulfill the functionality,now when i go back to the previous screen and come back to this screen the Table is getting Updated.

My requirement is such that after completing the task itself it should show me the Updated one.

Please help me out.

Thanks and regards,

Chandrashekar.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Chandrashekhar,

You can use view.refresh();

But this can be used only in wdDoModifyView method, where the current View is passed as a parameter.

Do not directly use it in the method, as it is called for each user interaction. Using appropriate combination of conditions in modifyView you can do so.

Regards,

Alka.

Former Member
0 Kudos

Hi Alka,

view.refresh() is what you had asked me to try out for.

But i am unable to get this refresh() method.

I am able to get other values but this refresh part i am not getting.

Can you let me know in detail please.

Thanks and regards,

Shekar.

Former Member
0 Kudos

Hi chandrashekar,

Try this,

wdContext.node<your node name>().invalidate();

Regards,

P.Manivannan

Former Member
0 Kudos

Hi,

Try Invalidating the node which is bound to the node.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

Can you explain this in detail.

Thanks and regards,

Shekar.