cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing View

Former Member
0 Kudos

Hi experts,

I have an urgent requirement.

I have two views , i navigate from the second view to first view through fireplug and vice versa.

In this case when i navigate from second view to first view i want to refresh the date in the first view as i updated in the second view through BAPI.

If i execute the BAPi again in the first view in WDmodify() it is not refreshing...

Regards,

HB

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

invlaidate all nodes and call bapi in first view.

Former Member
0 Kudos

Hi,

Thanks for ur reply..Where to cal..I am invalidating all nodes and calling bapi in modify view.but its not refershing.. iplease help me out....

Former Member
0 Kudos

Don't call backend functions inside wdDoModifyView() but inside event handlers.

Armin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try to set the lifespan of the first view to when visible, may be of help for you.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyappraj,

I also tried using when visible but it is not refreshing.Will the Wdmodify() of the second view get executed on navigation using fire plug.

HB

Former Member
0 Kudos

Hi,

As per ur req," when i navigate from second view to first view i want to refresh the date in the first view as i updated in the second view through BAPI"

in method ....PlugIn invalidate all nodes(WHICH CLEARS ALL DATA)

And call BAPI WHICH BRINGS UP NEW DATA.

If this doesnot work, somewhere you are doing wrong, please post code for analysing, if above suggestion does not work.

Former Member
0 Kudos

Hi Hans

Try executing the Bapi in the fireplug event from second view to first view.

Renu Nair