cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing auto refresh feature in POWL

Former Member
0 Kudos

Hi,

I need to know how to implement auto refresh feature in POWL ( Personalize Object Work List ) after pressing any button present in the tool bar on POWL.

I think this will be implemented in method HANDLE_ACTION of POWL. I need to know how to implement it.

Regards,

Maqsood

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Maqsood, could you provide a little more info.

By pressing right click (or ctrl-right click is sp7 or earlier) you can find the name of an button

and the name view and teh WD Comp name. All useful if we are to help.

Also im not sure what autorefresh should do.

Did you see the start plugs on the POWL ?

There is a refresh option there.

How is the POWL being launched ?

regards

Phil

Former Member
0 Kudos

Hi Phil,

I could not see any start plugs on the powl.

the wd component which im using is POWL_UI_COMP.

interface is IF_POWL_FEEDER

type group / object type is SLIS.

There is a manual refresh option avaible in my powl but i need a auto refresh feature.

the POWL is being launched in Net Weaver Business Client.

Regards,

Maqsood

Former Member
0 Kudos

Hi,

I think the question is do you want the autorefresh triggered on clientside or do you want to do the refresh on every roundtrip to the server.

For the clientside: have a look at the UI element TIMED_TRIGGER. Maybe that helps to achieve whar you are looking for.

Regards,

Alex

Former Member
0 Kudos

You can try use the enhancement option.

Add a post exit to all buttons that should have the auto refresh.

Call the same method as called by the manual refresh.

No mod, worth a test.

Is this what you are thinking about ?

Cheers

Phil.

Former Member
0 Kudos

Hi all,

I have solved my issue. Just i need to set the parameter E_DO_REFRESH which is present in HANDLE_ACTION method which belongs to IF_POWL_FEEDER interface.

After each action at the end the action just sent this parameter then after that action the POWL list will get auto refresh

Regards,

Maqsood

Former Member
0 Kudos

Hello ,

I also have to do same autorefresh for POWL component.

You are saying that we need to call handle_action method . Pl can you tell where did you placed that code.

Does this mean that on action handler of each action needs to change to incorporate this or is there any method which is called after each action, where this handle_action will be called .

thanks,

Sharada